seven core metrics

21
Goals of Software Metrics An accurate assessment of progress to date. Insight into the quality of the evolving software product. A basis for estimating the cost and schedule for completion with increasing accuracy over time.

Upload: tadi-srinivas

Post on 27-Apr-2015

1.636 views

Category:

Documents


34 download

TRANSCRIPT

Page 1: Seven Core Metrics

Goals of Software Metrics

An accurate assessment of progress to date.

Insight into the quality of the evolving software product.

A basis for estimating the cost and schedule for completion with increasing accuracy over time.

Page 2: Seven Core Metrics

Seven Core Metrics

Page 3: Seven Core Metrics

Metrics Characteristics

They should be simple, objective, easy to collect, easy to interpret, and hard to misinterpret.

Collection can be automated and non-intrusive.

Assessment is continuous and non-subjective.

They are useful to both management and engineering personnel for communicating progress and quality in a consistent format.

Their fidelity improves across the life cycle.

Page 4: Seven Core Metrics

Three Basic Management Metrics

Technical progress Financial status Staffing progress

Financial and staffing metrics are easy. They always have been easy. The real problem is to measure technical progress with objectivity.

Page 5: Seven Core Metrics

Typical Project Progress

Page 6: Seven Core Metrics

Three Progress Metrics

The progress can be seen as…. Software architecture team:

number of use cases demonstrated. Software development team:

number of source lines of code under configuration management

number of change orders closed Software assessment team:

Number of change orders opened Test hours executed Evaluation criteria met

Software management team: Milestones completed.

Page 7: Seven Core Metrics

Earned Value System

Page 8: Seven Core Metrics

Staffing Profile

Page 9: Seven Core Metrics

Staffing and Team Dynamics Metric:

percent staffed. Metric: staffing momentum

additions versus attrition. Glaring indicator of future trouble:

Unplanned attrition. Usually due to personnel dissatisfaction with management, lack of teamwork, or high probability of failure to meet objectives.

Page 10: Seven Core Metrics

Four Quality Indicators

Change traffic and stability Provides insight into stability, convergence

toward stability, predictability of completion Breakage and Modularity

Breakage: extent of change needed. Modularity: average breakage trend over time.

Rework and Adaptability Rework: amount of effort needed to fix. Adaptability: rework trend over time.

Maturity Average time between faults.

Page 11: Seven Core Metrics

Stability over Product Life Cycle

Page 12: Seven Core Metrics

Modularity over Life Cycle

Page 13: Seven Core Metrics

Adaptability over Life Cycle

Page 14: Seven Core Metrics

Maturity over Life Cycle

Page 15: Seven Core Metrics

Quality Indicator Characteristics They are derived from the evolving

products, not other artifacts. They provide insight into waste. They are dynamic for an iterative

process. Focus is on trends and changes in time.

Combination of current value and trends provide tangible indicators for effective management action.

Page 16: Seven Core Metrics

Metrics Evolution over Life Cycle

Page 17: Seven Core Metrics

Metrics Classes

Page 18: Seven Core Metrics

Comment on Metrics

Metrics usually display the effects of problems, not the underlying causes of problems. Reasoning and synthesis are required for solution.

Although measuring is useful, it doesn’t do any thinking for the decision makers. Value judgments can not be make by metrics;

they must be left to smarter entities such as software project managers.

However, metrics can provide data to help ask the right questions, understand the context, and make objective decisions.

Page 19: Seven Core Metrics

Metrics Automation – the Software Project Control Panel On-line version of status of artifacts.

Display panel that integrates data. A “dashboard”.

Display for – project manager (overall values) test manager (status of an upcoming release) Configuration Manager (change traffic) etc.

Page 20: Seven Core Metrics

Software Project Control Panel

Page 21: Seven Core Metrics

Summary for Project Control and Instrumentation Progress toward project goals and quality

of products must be measurable. The most useful metrics are extracted

from the evolving artifacts. Management and quality indicators must

be used continuously as project proceeds. Trends and status measures must be used

together. Technical progress is the most difficult

item to measure.