Jump to content

Software measurement

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Colinrhammond (talk | contribs) at 14:43, 23 February 2019 (Software Size). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Software measurement is a quantified attribute (see also: measurement) of a characteristic of a software product or the software process. It is a discipline within software engineering. The content of software measurement is defined and governed by ISO Standard ISO 15939 (software measurement process).

Software metrics

Software Size, Functional Measurment

The primary measure of software is size. Software size is principally measured in function points. It can also be measured in lines of code, or specifically, source lines of code (SLOC) which is functional code excluding comments. Whilst measuring SLOC is interesting, it is more an indication of effort than functionality. Two developers could approach a functional challenge using different techniques, and one might need only write a few lines of code, and the other might need to write many times more lines to achieve the same functionality. The most reliable method for measuring software size is code agnostic, from the user's point of view - in function points. Function_point. The only ISO standards for measuring software size are COSMIC_functional_size_measurement and Function_point

Measuring Code

One method of software measurement is metrics that are analyzed against the code itself. These are called software metrics and including simple metrics, such as counting the number of lines in a single file, the number of files in an application, the number of functions in a file, etc. Such measurements have become a common software development practice.[1]

Measuring Software Complexity, Cohesion and Coupling

There are also more detailed metrics that help measure things like software complexity, Halstead, cohesion, and coupling.

See also

References

  1. ^ Binstock, Andrew. "Integration Watch: Using metrics effectively". SD Times. BZ Media. Retrieved April 18, 2017.

Further reading