Build

Bread Crumbs: Home - SW_Dev_Proc - Impl - Bld

When building source code, project toolsets are used and errors are recorded. The errors will be recorded as part of the metrics data collected.

On this page, the following topics will be covered:

Build Errors

Notes:  BD## means Build Defect ##. 
        All text in green italics is example text meant to be used as guidance.

Component:     auto-defrost object
Date of Build: 4/26/2007

Defect

ID

Problem Description (At Least Output from Build Tool)

Fix Time (min)

BD01

AutoDefrost.java:42: unclosed string literal

  this.lcd = new JTextArea("12:00 PM);

                           ^

 3

BD02

AutoDefrost.java:43: ')' expected

  this.lcd.setEnabled(true);

                           ^

 2

BD03

AutoDefrost.java:506: cannot find symbol

symbol  : constructor AutoDefrost()

location: class autodefrost.AutoDefrost

  AutoDefrost.autoDefrost=new AutoDefrost();

                          ^

 3

BD04

AutoDefrost.java:45: cannot find symbol

symbol  : variable grey

location: class java.awt.Color

  this.lcd.setBackground(Color.grey);

                              ^

 2

BD05

 

 

BD06

 

 



PSP Metrics

Project planning requires the estimation of resources that will be needed to complete the project. Having longitudinal metrics data across several project can be invaluable with regards to accurately estimating the resources that will be needed for a project. By tracking defects found while building source code into binaries, metrics such as the total number of defects injected during the build activity and how long it took to fix those defects can be tracked over time. This data can be entered into a project metrics spreadsheet or even a database. Since it takes time to fix defects, this activity must be accounted for when estimating resources needed (time is a resource). One can estimate the number of build defects expected and then by recording the actual defects found while building source code, the estimate can be compared to the actual figure. This can help to produce better estimates in the future.


No part of this work should be produced or used without the permission of the authors: Michael Turner and Dr. Sharon A White.