Professional Documents
Culture Documents
Hisham M. Haddad
Computer Science Department
Kennesaw State University
Kennesaw, GA 30144
Abstract
The role of metrics in software quality is well recognized.
However, software metrics are yet to be standardized and
integrated into development practices across software
industry. While process, project, and product metrics
share a common goal of contributing to software quality
and reliability, utilization of metrics has been at
minimum. This work is an effort to bring more attention
to software metrics. It examines the practices of metrics
in software industry and the experiences of some
organizations that have developed, promoted, and utilized
variety of software metrics. As various types of metrics
are being developed and used, these experiences show
evidence of benefits and improvements in quality and
reliability.
1. Introduction
2. Cost of Defects
453
454
455
Improve
customer
service
4.2 Motorola
4.3 NASA
NASA implements software metrics with emphasis
on improving reliability in software requirements
specification and source code. For complete
requirement coverage, test plans are also examined
without excessive testing and without expending
expenses. To improve reliability, they consider three
life cycle phases: requirements, coding, and testing.
Software metrics and error prevention techniques can
be applied throughout these phases to help improve
reliability [12].
Requirements Metrics: For reliability, NASAs
metric tool (called ARM - Automated Requirements
Measurement) parses requirements document file line
by line searching for certain words and phrases. This
tool has been used in 56 requirement documents. The
developed measures include [12]:
Lines of Text: Physical lines a measure of size.
Directives: References to figures, tables, or notes.
Continuances: Phrases that follow an imperative and
introduce the specification of requirements at a
lower level, for a supplemental requirement count.
Imperatives: Words and phases that command that
something must be done or provided. The number
of imperatives is used as base requirements count.
Options: Words that seem to give latitude in
satisfying the specifications but can be ambiguous.
Weak Phrases: Clauses that may cause uncertainty
and leave room for multiple interpretations.
Incomplete: Statements that have TBD (To be
Determined) or TBS (To Be Supplied) clauses.
The ARM software does not evaluate whether the
requirements are correct or not, but evaluates the
vocabulary and the individual specification of
Increase
reliability
Decrease
software
defect
density
Metric Program
Schedule and Effort Estimation Accuracy
SEA = Actual Project Duration /Estimated
Project Duration
EEA = Actual Project Effort /Estimated
Project Effort
Total Defect Containment Effectiveness
TDCE = # of prerelease defects / # of
prerelease defects + # of post release defects
Phase i Containment Effectiveness
PCEi = # of phase i errors / # of phase i
errors + # of phase i defects
Failure Rate (FR)
FR = # of failures / Execution time
In-process Faults
IPF = in process faults caused by
incremental software development /
Assembly - equivalent delta source size
Total Released Defects
TRD total = # of released defects /
Assembly - equivalent total source size
Customer-Found Defects (CFD) total
CFD total = # of Customer - found defects /
Assembly - equivalent total source size
456
4.4 Boeing
457
5. Conclusion
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
458
http://findarticles.com/p/articles/mi_m0HPJ/is_n4
_v42/ai_11400873, Hewlett-Packard Journal,
October 1991
DeMarco, Tom. Controlling Software Projects:
Management, Measurement & Estimation,
Yourdon Press, New York, USA, 1982.
http://sern.ucalgary.ca/courses/seng/621/W98/joh
nsonk/cost.htm
http://sunset.usc.edu/research/COCOMOII/index.
html
http://www.qsm.com/
Albrecht, A. J. and J.R. Gaffney, Software
function, source lines of code, and development
effort prediction: a software science validation,
IEEE Trans. on Software Engineering, 9(6), pp
639-648, 1983.
Pressman, R.S. Software Engineering: A
Practitioners Approach. 6th Edition, McGraw
Hill Publishing Company, 2005.
http://www.cenqua.com/clover/doc/coverage/intro
.html
Grady, R. B. and D. R. Caswell. Software
Metrics: 13 Quantitative Analysis of English
Prose Establishing a Company-Wide Program.
Engle- 14 Application to Hardware wood Cliffs,
N. J.: Prentice-Hall, 1987.
Basili, V. and Weiss, S, D. 1984. A methodology
for collecting valid software engineering data.
IEEE Transactions on s. Software Engineering.
SE-10, 6, 728738.
http://www.awprofessional.com/articles/article.as
p?p=30306&seqNum=4&rl=1
http://satc.gsfc.nasa.gov/support/ISSRE_NOV98/
software_metrics_and_reliability.html
http://www.stsc.hill.af.mil/resources/tech_docs/gs
am3/appenq.pdf.