Home » process metric
Testing Software Metrics !!!

Testing metrics:
*****************

* User participation:
To find the involvement of the tester = User participation / (test time vs total time)

* Path tested:
Extent of testing = No. of path tested / Total no. of paths.

* Acceptance criteria tested
Extent of testing = Acceptance criteria vs. Total acceptance criteria.

* Test Cost:
Resources consumed in testing = Total cost vs. Total system cost.
This metric identifies the amount of resources used in the testing process.

* Cost to locate defect:
Resources consumed in the testing = Total cost / No. of defects located in testing.
This metric shows the cost to locate a defect.

* Detected production defect:
Effectiveness of testing = No. of defects detected in production / Application system size.

* Test automation
Effectiveness of testing = cost of manual test / test cost.

Types of Software Metrics !!!

Types of Metrics
******************
Process metrics and Product metrics

Process metric:
A metric used to measure the characteristic of the methods techniques and tools employed in developing, maintaining and implementing the software system.

Product metric:
A metric used to measure the characteristic of the documentation and code.

Software Metrics !!!

Software Metrics
*******************

A metric quantifies a characteristic of a process or product. Metrics can be directly observable quantities or can be derived from one or more directly observable quantities. Examples of raw metrics include the number of source lines of code, number of documentation pages, number of staff-hours, number of tests, number of requirements, etc. Examples of derived metrics include source lines of code per staff-hour, defects per thousand lines of code, or a cost performance index.

Software metrics are numerical data related to software development. Metrics strongly support software project management activities. They relate to the four functions of management as follows:
1. Planning - Metrics serve as a basis of cost estimating, training planning, resource planning, scheduling, and budgeting.
2. Organizing - Size and schedule metrics influence a project's organization.
3. Controlling - Metrics are used to status and track software development activities for compliance to plans.
4. Improving - Metrics are used as a tool for process improvement and to identify where improvement efforts should be concentrated and measure the effects of process improvement efforts.


The term indicator is used to denote a representation of metric data that provides insight into an ongoing software development project or process improvement activity. Indicators are metrics in a form suitable for assessing project behavior or process improvement. For example, an indicator may be the behavior of a metric over time or the ratio of two metrics. Indicators may include the comparison of actual values versus the plan, project stability metrics, or quality metrics. Examples of indicators used on a project include actual versus planned task completions, actual versus planned staffing, number of trouble reports written and resolved over time, and number of requirements changes over time.

Indicators are used in conjunction with one another to provide a more complete picture of project or organization behavior. For example, a progress indicator is related to requirements and size indicators. All three indicators should be used and interpreted together.