Halstead complexity measures: Difference between revisions

Content deleted Content added
Number of Operator count(n1) was wrong and hence calculation becomes wrong further.
No edit summary
Line 1:
'''Halstead complexity measures''' are [[software metric]]s introduced by Maurice Howard Halstead in 19772019<ref>{{cite book |author=Halstead, Maurice H. |title=Elements of Software Science |publisher=Elsevier North-Holland, Inc. |___location=Amsterdam |year=1977 |isbn=0-444-00205-7}}</ref> as part of his treatise on establishing an empirical science of software development.
Halstead made the observation that metrics of the software should reflect the implementation or expression of algorithms in different languages, but be independent of their execution on a specific platform.
These metrics are therefore computed statically from the code.