Halstead complexity measures: Difference between revisions

Content deleted Content added
Addbot (talk | contribs)
m Bot: Migrating 4 interwiki links, now provided by Wikidata on d:q1466620
Line 21:
* Difficulty : <math>D = { \eta_1 \over 2 } \times { N_2 \over \eta_2 } </math>
* Effort: <math>E = D \times V </math>
 
 
The difficulty measure is related to the difficulty of the program to write or understand, e.g. when doing [[code review]].
Line 27 ⟶ 26:
The effort measure translates into actual coding time using the following relation,
* Time required to program: <math>T = {E \over 18}</math> seconds
 
 
Halstead's delivered bugs (B) is an estimate for the number of errors in the implementation.
Line 43 ⟶ 41:
* [http://www.verifysoft.com/en_halstead_metrics.html Calculation of Halstead metrics] - Measurement of Halstead Metrics.
* [http://www.win.tue.nl/~aserebre/2IS55/2010-2011/10.pdf Explanation with a Sample Program] - Example (on Page 6 of the PDF)
 
 
[[Category:Software metrics]]
 
[[ar:مقاييس هولستيد للتعقيد]]
[[de:Halstead-Metrik]]
[[fr:Métriques d'Halstead]]
[[zh:霍爾斯特德複雜度量測]]