ops consulting codemetrics an extensible tool for code counting presented at the 21st international...
Post on 19-Dec-2015
215 views
TRANSCRIPT
![Page 1: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/1.jpg)
opsCONSULTING
CodeMetricsAn Extensible Tool for Code Counting
Presented at the 21st International Forum on COCOMO and Software
Cost Modeling
![Page 2: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/2.jpg)
opsCONSULTING
What’s the problem?
“… vast majority of projects are over budget and over
schedule …”
![Page 3: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/3.jpg)
opsCONSULTING
Reason?
• Basing estimates on historic actuals is the most accurate way to estimate future activity
• Cost and schedule analysts traditionally do not have this valuable information when they need it the most
But
![Page 4: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/4.jpg)
opsCONSULTING
Estimating During Program Life Cycle
Program Life Cycle
Gross Estimates Detailed Estimates
Analogy
Parametric[ExtrapolationFrom] Actuals
Engineering [Build-Up]
Concept & Technology
Development
System Development & Demonstration
Production & Deployment
Operations & Support
Chart #300R4, Defense Systems Management College (DSMC), 2001
![Page 5: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/5.jpg)
opsCONSULTING
Typical Period Where Estimates are Generated
Program Life Cycle
Gross Estimates Detailed Estimates
Analogy
Parametric[ExtrapolationFrom] Actuals
Engineering [Build-Up]
Concept & Technology
Development
System Development & Demonstration
Production & Deployment
Operations & Support
Chart #300R4, Defense Systems Management College (DSMC), 2001
![Page 6: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/6.jpg)
opsCONSULTING
There is a need to shift this estimating cycle to improve cost and schedule estimates…
Chart #300R4, Defense Systems Management College (DSMC), 2001
Program Life Cycle
Gross Estimates Detailed Estimates
Analogy
Parametric [ExtrapolationFrom] Actuals
Engineering [Build-Up]
Concept & Technology
Development
System Development & Demonstration
Production & Deployment
Operations & Support
Make a Shift
![Page 7: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/7.jpg)
opsCONSULTING
How do you shift the estimating methodology?
• Quantify the organization’s own portfolio of software in order to:– Create historically accurate analogies– Calibrate parametric tools– Solidify the basis of estimate for engineering
build-ups
![Page 8: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/8.jpg)
opsCONSULTING
Cataloging Existing Software is the Starting Point for Quantifying a Software Portfolio
Since there were no tools available to do all this, we built our own:
CodeMetrics
How Do You Quantify a Software Portfolio?
• Identify software assets– SLOC
– Languages
– Quality
• Observe project structure
• Identify project artifacts– Documentation
– CM trails
most parametric tools based on
SLOC
![Page 9: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/9.jpg)
opsCONSULTING
What does CodeMetrics Catalog?
DSIDelivered Source Instructions (DSI)The delivered source instructions include all program instructions created by the project personnel and processed into machine code
Comments
Blank LinesDense
Comments
Total Lines
Files
Directories
![Page 10: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/10.jpg)
opsCONSULTING
CodeMetrics Usage
• Consulting agreement with Government agency to evaluate software portfolio metrics– All software assets in a portfolio, not just
primary programmatic language• GOTS
• Open Source
• Utilize OPS’s Quality Assessment Capability (QAC)
170 MSLOC
![Page 11: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/11.jpg)
opsCONSULTING
Current Market
Many Language• SLOC Count (David Wheeler)
• Code Count (CSE USC)
• Code Counter Pro (Geronesoft)
• EZ-Metrix (James Heires Consulting)
• SLOC Metrics (Microguru)
One/Few Language• C/C++ SLOC Counter
(retiSoft)
• Java NCSS (Clemens)
• LOCC (CSDL U of Hawaii)
• Project Line Counter (Solomon)
• Resource Standard Metrics (M Squared Technologies)
• Toad (Quest Software)Reengineering Tools• Understand (STI)• McCabe (McCabe)
![Page 12: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/12.jpg)
opsCONSULTING
Issues with Current Tools
Not EasilyExtensible
Mainly PreeminentLanguages
Often NotPlug&Play
Non-StandardCounting Rules
![Page 13: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/13.jpg)
opsCONSULTING
CodeMetrics Standard View
![Page 14: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/14.jpg)
opsCONSULTING
CodeMetrics Execution
![Page 15: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/15.jpg)
opsCONSULTING
CodeMetrics Text Viewer
![Page 16: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/16.jpg)
opsCONSULTINGCodeMetrics Backfire
![Page 17: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/17.jpg)
opsCONSULTING
CodeMetrics Basic COCOMO
![Page 18: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/18.jpg)
opsCONSULTING
CodeMetrics Designate CSCIs
![Page 19: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/19.jpg)
opsCONSULTING
CodeMetrics COCOMO II
![Page 20: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/20.jpg)
opsCONSULTING
CodeMetrics Extensions
![Page 21: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/21.jpg)
opsCONSULTING
Questions/Comments
![Page 22: Ops CONSULTING CodeMetrics An Extensible Tool for Code Counting Presented at the 21st International Forum on COCOMO and Software Cost Modeling](https://reader035.vdocument.in/reader035/viewer/2022062714/56649d3e5503460f94a17c76/html5/thumbnails/22.jpg)
opsCONSULTING
How to Contact OPS
Greg Foley, [email protected]
443-838-4817
Paul Wetzel, [email protected]
240-381-4839
OPS Consulting, L.L.C.2017 Martins Grant CourtCrownsville, MD 21032
http://www.opsconsulting.com/