Jump to content

Software metric: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
External links: WP:EL - we don't link search results
restoring comment
Line 60: Line 60:


== External links ==
== External links ==
<!-- -------------------------------------------------
please don't simply add links to measurements-related tools, this is not the place for that.
links here should meet the [[WP:EL]] policy and help the understanding of the topic being discussed,
external links are not for promotion.
------------------------------------------------------- -->
* [http://www.sqa.net/softwarequalitymetrics.html Software Metrics]
* [http://www.sqa.net/softwarequalitymetrics.html Software Metrics]
* [http://www.kaner.com/pdfs/metrics2004.pdf Software Engineering Metrics: What do they measure and how do we know]
* [http://www.kaner.com/pdfs/metrics2004.pdf Software Engineering Metrics: What do they measure and how do we know]

Revision as of 21:45, 16 February 2021

A software metric is a standard of measure of a degree to which a software system or process possesses some property.[1] Even if a metric is not a measurement (metrics are functions, while measurements are the numbers obtained by the application of metrics), often the two terms are used as synonyms. Since quantitative measurements are essential in all sciences, there is a continuous effort by computer science practitioners and theoreticians to bring similar approaches to software development. The goal is obtaining objective, reproducible and quantifiable measurements, which may have numerous valuable applications in schedule and budget planning, cost estimation, quality assurance, testing, software debugging, software performance optimization, and optimal personnel task assignments.

Common software measurements

Common software measurements include:

Limitations

As software development is a complex process, with high variance on both methodologies and objectives, it is difficult to define or measure software qualities and quantities and to determine a valid and concurrent measurement metric, especially when making such a prediction prior to the detail design. Another source of difficulty and debate is in determining which metrics matter, and what they mean.[4][5] The practical utility of software measurements has therefore been limited to the following domains:

A specific measurement may target one or more of the above aspects, or the balance between them, for example as an indicator of team motivation or project performance.

Acceptance and public opinion

Some software development practitioners point out that simplistic measurements can cause more harm than good.[6] Others have noted that metrics have become an integral part of the software development process.[4] Impact of measurement on programmer psychology have raised concerns for harmful effects to performance due to stress, performance anxiety, and attempts to cheat the metrics, while others find it to have positive impact on developers value towards their own work, and prevent them being undervalued. Some argue that the definition of many measurement methodologies are imprecise, and consequently it is often unclear how tools for computing them arrive at a particular result,[7] while others argue that imperfect quantification is better than none (“You can’t control what you can't measure.”).[8] Evidence shows that software metrics are being widely used by government agencies, the US military, NASA,[9] IT consultants, academic institutions,[10] and commercial and academic development estimation software.

See also

References

  1. ^ Timóteo, Aline Lopes; Álvaro, Re; Almeida, Eduardo Santana De; De, Silvio Romero; Meira, Lemos. Software Metrics: A Survey.
  2. ^ "Descriptive Information (DI) Metric Thresholds". Land Software Engineering Centre. Archived from the original on 6 July 2011. Retrieved 19 October 2010.
  3. ^ "OMG Adopts Automated Function Point Specification". Omg.org. 2013-01-17. Retrieved 2013-05-19.
  4. ^ a b Binstock, Andrew. "Integration Watch: Using metrics effectively". SD Times. BZ Media. Retrieved 19 October 2010.
  5. ^ Kolawa, Adam. "When, Why, and How: Code Analysis". The Code Project. Retrieved 14 February 2021.
  6. ^ Kaner, Dr. Cem, Software Engineer Metrics: What do they measure and how do we know?, CiteSeerX 10.1.1.1.2542
  7. ^ Lincke, Rüdiger; Lundberg, Jonas; Löwe, Welf (2008), "Comparing software metrics tools" (PDF), International Symposium on Software Testing and Analysis 2008, pp. 131–142
  8. ^ DeMarco, Tom. Controlling Software Projects: Management, Measurement and Estimation. ISBN 0-13-171711-1.
  9. ^ "NASA Metrics Planning and Reporting Working Group (MPARWG)". Earthdata.nasa.gov. Archived from the original on 2011-10-22. Retrieved 2013-05-19.
  10. ^ "USC Center for Systems and Software Engineering". Sunset.usc.edu. Retrieved 2013-05-19.