Code Estimation Tools Directions for a Services Engagement



Similar documents
Java Language Tools COPYRIGHTED MATERIAL. Part 1. In this part...

Installing (1.8.7) 9/2/ Installing jgrasp

Installing the Android SDK

Eclipse installation, configuration and operation

Tutorial: setting up a web application

Creating a Java application using Perfect Developer and the Java Develo...

Getting Started using the SQuirreL SQL Client

PaperStream Connect. Setup Guide. Version Copyright Fujitsu

JAVS Scheduled Publishing. Installation/Configuration... 4 Manual Operation... 6 Automating Scheduled Publishing... 7 Windows XP... 7 Windows 7...

System Requirements - Table of Contents

PrimeRail Installation Notes Version A June 9,

Simba XMLA Provider for Oracle OLAP 2.0. Linux Administration Guide. Simba Technologies Inc. April 23, 2013

BarTender Print Portal. Web-based Software for Printing BarTender Documents WHITE PAPER

TIBCO Fulfillment Provisioning Session Layer for FTP Installation

BOM based on what they input into fossology.

Copyright 2014, SafeNet, Inc. All rights reserved.

Attix5 Pro Server Edition

RuleBender Tutorial

System Requirements - CommNet Server

Waspmote IDE. User Guide

Primavera P6 Professional Windows 8 Installation Instructions. Primavera P6. Installation Instructions. For Windows 8 Users

RecoveryVault Express Client User Manual

Installing FEAR on Windows, Linux, and Mac Systems

The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.

Online Backup Linux Client User Manual

Online Backup Client User Manual Mac OS

Online Backup Client User Manual Mac OS

Using SQL Developer. Copyright 2008, Oracle. All rights reserved.

Test Automation Integration with Test Management QAComplete

Online Backup Client User Manual

Netbeans IDE Tutorial for using the Weka API

AES Crypt User Guide

1. Product Information

Online Backup Client User Manual Linux

HOW TO SILENTLY INSTALL CLOUD LINK REMOTELY WITHOUT SUPERVISION

Building graphic-rich and better performing native applications. Pro. Android C++ with the NDK. Onur Cinar

Signiant Agent installation

Online Backup Client User Manual

EventTracker: Configuring DLA Extension for AWStats Report AWStats Reports

NetBeans IDE Field Guide

Let s Learn Market Mechanism by Artificial Market Attached CD-ROM README file U-Mart project

Application Servers - BEA WebLogic. Installing the Application Server

TAO Installation Guide v0.1. September 2012

Application Note Windows 2008 and IBM Tape Diagnostic Tool (ITDT-GE)

Installing C++ compiler for CSc212 Data Structures

AssetWise Performance Management. APM Remote Upgrade Guide

Customizing the SSOSessionTimeout.jsp page for Kofax Front Office Server 3.5.2

FortiClient SSL VPN Client User s Guide

Online Backup Client User Manual

EventTracker: Configuring DLA Extension for AWStats report AWStats Reports

Sentinel Cloud V.3.5 Installation Guide

Change Manager 5.0 Installation Guide

GoAnywhere Director to GoAnywhere MFT Upgrade Guide. Version: Publication Date: 07/09/2015

Generate Android App

Wakanda Studio Features

Web+Center Version 7.x Windows Quick Install Guide 2 Tech Free Version Rev March 7, 2012

Fuse ESB Enterprise Installation Guide

PMOD Installation on Windows Systems

L.E.A.P.S Electronic Freight Billing System Installation Guide

Reflection DBR USER GUIDE. Reflection DBR User Guide. 995 Old Eagle School Road Suite 315 Wayne, PA USA

Supported platforms & compilers Required software Where to download the packages Geant4 toolkit installation (release 9.6)

GAUSS 9.0. Quick-Start Guide

Download and Installation Instructions. Android SDK and Android Development Tools (ADT)

Source Code Review Using Static Analysis Tools

LICENSE4J FLOATING LICENSE SERVER USER GUIDE

Cincom Smalltalk. Installation Guide P SIMPLIFICATION THROUGH INNOVATION

Installation Guide for Windows May 2016

Archive Attender Version 3.5

10 STEPS TO YOUR FIRST QNX PROGRAM. QUICKSTART GUIDE Second Edition

Reference Manual DATAKIT

Technical Support Information No. 201c January 2013

ThinPoint Quick Start Guide

ZeroTurnaround License Server User Manual 1.4.0

Installing Java. Table of contents

Using Firefly Media Server with Roku SoundBridge. For Mac OS X and 10.4.x

CafePilot has 3 components: the Client, Server and Service Request Monitor (or SRM for short).

Practice Fusion API Client Installation Guide for Windows

PN Connect:Enterprise Secure FTP Client Release Notes Version

Monitoring Oracle Enterprise Performance Management System Release Deployments from Oracle Enterprise Manager 12c

Install guide for Websphere 7.0

Installing F-Secure Anti-Virus (FSAV) Table of Contents. FSAV 8.x and FSLS 7.x End of Life. FSAV 9.x and FSLS 9.x End of Life

TIBCO ActiveMatrix BusinessWorks Plug-in for TIBCO Managed File Transfer Software Installation

How to install and use the File Sharing Outlook Plugin

NSi Mobile Installation Guide. Version 6.2

Drobo How-To Guide. Topics. What You Will Need. Using Drobo and Backblaze for Simple Online Backup

How to use the Eclipse IDE for Java Application Development

1 Building, Deploying and Testing DPES application

CA Nimsoft Monitor. Probe Guide for E2E Application Response Monitoring. e2e_appmon v2.2 series

OpenMake Dynamic DevOps Suite 7.5 Road Map. Feature review for Mojo, Meister, CloudBuilder and Deploy+

Python for Series 60 Platform

SDK Code Examples Version 2.4.2

Entrust Managed Services PKI Administrator s Quick Start Guide

JBoss Portal 2.4. Quickstart User Guide

Installation of ADS SiMKit startup script and designkit on Windows for SiMKit version 4.4

NaviCell Data Visualization Python API

VERITAS Backup Exec TM 10.0 for Windows Servers

FTP, IIS, and Firewall Reference and Troubleshooting

Universal Management Service 2015

Transcription:

Code Estimation Tools Directions for a Services Engagement Summary Black Duck software provides two tools to calculate size, number, and category of files in a code base. This information is necessary when companies are interested in purchasing or participating in a Code Audit performed by Black Duck. These tools, when run over a file system (a directory or folder on a hard drive), provide output that Black Duck can use to determine the time and level of effort required for the services engagement. Our Open Source audit is focused on finding open source and third party software within a code base. The primary focus is on finding open source code, but it will also frequently find third party commercial code as well. We have included instructions concerning what code typically should be part of the audit versus what code typically should not be part of the audit. The tools Depending on the OS running on the machine where the code base to be analyzed resides you can choose the tool you want to use. They both determine the size of the code base and the quantities of each file type. This information is needed to scope the effort and create the Statement-Of-Work (SOW). MB Estimator The MBE is available for Windows and Linux. It s an executable you will install and then run against the code base to analyze. The output of the tool is a single HTML file that can be emailed to Black Duck. Bdsest.pl This Perl script is available for Windows, Linux and Mac OS. No installation is required and it can be launched on a machine where Perl is already installed. The output of the tool is a single text file that can be emailed to Black Duck. Code Preparation Place the files to be analyzed on a local file system (local relative to where you running the tool you chose) as performance file system tasks is not good over shared network drives. Files to be analyzed are: 1) All source code and third-party binary files. This includes the following (if appropriate): a. All Company Owned source b. Third party source code c. Web files (HTML, etc )

d. Script language files e. All binary files in which dependencies exist. This includes (but is not limited to) static libraries, dynamic libraries, independent applications (exe files), installers and other objects. This includes binary files that are distributed and those in which dependencies exist, but are not distributed. 2) We would like to see redistributable packages from others (Tomcat, Visual C runtime, driver install helper, etc.) 3) In addition, we would like to see executable files built from other parts of the tree that are checked into source control but NOT executable files checked in that you do not use a. If you are distributing any executable files that are not your own proprietary binaries, then those files should be included. We don t need to see your own executable files built from your own code (since we will be looking at the source code already). In the case of proprietary executable files from some other product of yours, we wouldn t be able to identify them so there isn t much point of including them. 4) Document files that go with the software (readme files, license & copyright files, etc.) 5) Files to be analyzed do NOT need to include the actual build tools and build scripts, unless these are also distributed and/or contribute code to the application. 6) Files to be analyzed do NOT need to include the binaries that are produced by the build process, if the source for those binaries is also included. For example, any compiled object code, classes, jars derived from the build process and other files derived from the source code that is also analyzed. 7) Files to be analyzed do NOT need to include debugging tools. 8) Please run the tool you chose over each product separately (one report/product). 9) After running the tool, create an archive of the code base that the tool was run over and save it. When the audit is conducted, we will want to perform the audit on the exact same code base. Using the MB Estimator Installing 1) Download and install the MB Estimator tool. You can download the utility from http://www.blackducksoftware.com/cet Note that the tool requires your system have the X11 Development Package that is compatible with your JRE (either 32 or 64-bit). 2) Once installed, run the utility as described in the following section. Running the tool 1. Click the Code Estimation tool icon or run bdsest to open the application. The Select Start Directory dialog displays. Figure 1 Select Start Directory Dialog

2. Click Browse. The Open dialog displays. Figure 2 Open Dialog

3. Choose a file or path name for the application to search and click Open. The Select Start Directory dialog redisplays. Figure 3 Begin Scan 4. Click Begin Scan. The Summary dialog displays initial results; you can view further details, save the report save to a file, or close the tool. Figure 4 Select Start Directory Dialog Note: Protex analysis options can be configured so that more code would be consumed than indicated by this utility. Archive files (.zip, and.jar, for example) are left compressed when creating the estimate. We do not normally expand/analyze the contents of archives as part of the audit unless they are expanded prior to scoping the quantity of work. If you need us to analyze the contents of any of your archives, please expand them prior to running the Code Estimation Tool.

5. Click Details. The Details dialog displays. Figure 5 Details Dialog 6. Click Close and return to the Results dialog. 7. Click Save Estimate to save the results in an HTML file. View this file in a browser and if it is acceptable, please email this file to the appropriate Black Duck or third-party contact. Figure 6 Saved Output File 8. Unless it is necessary, please do not edit the HTML output. We have automated tools designed to read the HTML output and editing the file will require a longer, manual process to scope the quantity of work.

Using Bdsest.pl On Linux or Mac OS 1. Download the Bdsest.pl script. You can download it from: http://www.blackducksoftware.com/cet 2. Open a shell window and confirm the Perl location with the following command: which perl Default is /usr/bin/perl 3. Navigate to the folder and run the script using the following syntax: /usr/bin/perl <local path>bdsest.pl <code base path> > Estimation.out <local path> is the path to the folder where you saved the bdsest.pl script. <code base path> is the path to the code base to be scanned. 4. Open Estimation.out with any text editor to confirm the results, if it is acceptable, please email this file to the appropriate Black Duck or third-party contact. On Windows 1. Download the Bdsest.pl script. You can download it from: http://www.blackducksoftware.com/cet 2. Open a shell window and confirm the Perl location with the following command: C:\> dir perl.exe Default is C:\Perl64\bin\ 3. Navigate to the folder and run the script using the following syntax: C:\Perl64\bin\perl <local path>bdsest.pl <code base path> > Estimation.out <local path> is the path to the folder where you saved the bdsest.pl script. <code base path> is the path to the code base to be scanned. 4. Open Estimation.out with any text editor to confirm the results, if it is acceptable, please email this file to the appropriate Black Duck or third-party contact.