Professional Documents
Culture Documents
Measuring 75 Million Lines of Code
Measuring 75 Million Lines of Code
Measuring 75 Million Lines of Code
net/publication/221236298
CITATIONS READS
2 283
1 author:
Harry Sneed
ANECON GmbH
221 PUBLICATIONS 2,744 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Harry Sneed on 23 December 2014.
© ANECON Software Design und Beratung G.m.b.H. | Alser Str. 4/Hof 1 | A-1090 Wien | Tel.: +43 1 409 58 90 | www.anecon.com | office@anecon.com
Measuring 75 Million Lines of Code
A Report from the Field
by Harry M. Sneed, ANECON, Vienna
• Background of the Measurement Project
• Goals of the Project
• Metrics applied
• Quantity Metrics
• Complexity Metrics
• Quality Metrics
• Tools employed
• SoftAudit for Source Measurement
• SoftEval for System Evaluation
• SoftCalc for Cost Estimation
• Results of the Measurement
Status of Information Technology in
Germany
According to Chairman of German Software Initiative:
• 70% of all business applications are in a legacy
language.
• Daily more than 30 billion transactions are made with
legacy systems
• In Germany 10 billion Euros are spent per year on the
maintenance of legacy systems.
• The number of COBOL code lines in Germany is
estimated to be 240 billion.
• To upgrade this code base would cost at least 960
billion Euros, more than the economy can afford.
• There is no alternative to maintaining this code.
7%
Java 15 %
Assembler
8%
C++
25 %
PL/I
35 %
COBOL
10 %
4GLs
48 Million 75 Million
Statements LOCs
reimplementation
replacement
wrapping
a bought system
migration
maintain
Status Quo
Wrapped
components
in a new Transformed
environment system in a Rewritten
new components
environmemnt with the
or language same New
design solution
Measured
Value Rating
Result
Rated (Acceptable
Level Assess-
or
ment
Unacceptable)
7 | © ANECON 2008 | METRIKON | Harry Sneed
Quality Grading on a rational scale
1,0
excellent
0,8
0,6
satisfactory
0,4
0,0
Metric Scale Nominal Scale
0,0
excellent
0,2
0,4
Measure
satisfactory
0,6
1,0
Metric Scale Nominal Scale
Relationships =
• Module2Module, Class2Class, Stmt2Stmt, Stmt2Data, Object2Object
Decision2Action, Program2File, Method2Method, Method2Param
• Process2UseCase, Actor2UseCase, Requirement2UseCase,
Requirement2BusinessObject, BusinessProcess2BusinessObject,
• BusinessRule2BusinessObject
• +-----------------------------------------------------------------------------------------------------+
• | QUALITY METRICS |
• +-----------------------------------------------------------------------------------------------------+
• | DEGREE OF MODULARITY =======> 0.586 |
• | DEGREE OF PORTABILITY =======> 0.741 |
• | DEGREE OF TESTABILITY =======> 0.680 |
• | DEGREE OF REUSABILITY =======> 0.336 |
• | DEGREE OF CONVERTIBILITY =======> 0.395 |
• | DEGREE OF FLEXIBILITY =======> 0.528 |
• | DEGREE OF CONFORMITY =======> 0.813 |
• | DEGREE OF MAINTAINABILITY =======> 0.554 |
• | |
• | AVERAGE PROGRAM QUALITY =======> 0.579 |
• | |
• +-----------------------------------------------------------------------------------------------------+
Software
ist unsere
Leidenschaft