Your browser does not support JavaScript!
http://iet.metastore.ingenta.com
1887

When a software measure is not a measure

When a software measure is not a measure

For access to this article, please select a purchase option:

Buy article PDF
£12.50
(plus tax if applicable)
Buy Knowledge Pack
10 articles for £75.00
(plus taxes if applicable)

IET members benefit from discounts to all IET publications and free access to E&T Magazine. If you are an IET member, log in to your account and the discounts will automatically be applied.

Learn more about IET membership 

Recommend Title Publication to library

You must fill out fields marked with: *

Librarian details
Name:*
Email:*
Your details
Name:*
Email:*
Department:*
Why are you recommending this title?
Select reason:
 
 
 
 
 
Software Engineering Journal — Recommend this title to your library

Thank you

Your recommendation has been sent to your librarian.

A recent interesting paper by Melton et al. [1] discussed finding measures which preserve intuitive orderings on software documents. Informally, if ≤ is such an ordering, then they argue that a measure M is a real-valued function defined on documents such that M(F)M(F′) whenever FF′. However, in measurement theory, this is only a necessary condition for a measure M. The representation condition for measurement additionally requires the converse; that FF′ whenever M(F)M(F′). Using the measurement theory definition of a measure, we show that Melton et al.'s examples, like McCabe's cyclomatic complexity [2] are not measures of the proposed intuitive document ordering after all. However, by dropping the restriction to real-valued functions, we show that it is possible to define a measure which characterises Melton et al.'s order relation; this provides a considerable strengthening of the results in Reference 1. More generally, we show that there is no single real-valued measure which can characterise any intuitive notion of ‘complexity’ of programs. The power of measurement theory is further illustrated in a critical analysis of some recent work by Weyuker [3] et al. on axioms for software complexity measures.

References

    1. 1)
      • E.J. Weyuker . Evaluating software complexity measures. IEEE Trans. , 9 , 1357 - 1365
    2. 2)
      • J.C. Cherniavsky , C.H. Smith . On Weyuker's axioms for software complexity measures. IEEE Trans. , 6 , 636 - 638
    3. 3)
      • Oviedo, E.I.: `Control flow, data flow, and program complexity', Proc. COMPSAC, 1980, New York, IEEE Computer Society Press, p. 146–152.
    4. 4)
      • F.S. Roberts . (1979) , Measurement theory with applications to decision making, utility, and the social sciences.
    5. 5)
      • N.E. Fenton . (1992) , Software metrics: a rigorous approach.
    6. 6)
      • L. Finkelstein . A review of the fundamental concepts of measurement. Measurement , 1 , 25 - 34
    7. 7)
      • W. Mader , B. Bollobas . (1976) Connectivity and edge-connectivity in finite graphs, Surveys in combinatorics.
    8. 8)
      • N.E. Fenton , J. Johnson , M. Loomes . (1991) The mathematics of complexity and measurement in computer science and software engineering, The mathematical revolution inspired by computing.
    9. 9)
      • R.E. Prather , S.J. Guilieri . Decomposition of flowchart schemata. Comput. J. , 3 , 258 - 262
    10. 10)
      • T.J. McCabe . A complexity measure. IEEE Trans. , 4 , 308 - 320
    11. 11)
      • N.E. Fenton , B.A. Kitchenham . Validating software measures. J. Softw. Test. Verif. Reliab. , 2 , 27 - 42
    12. 12)
      • Z. Daróczy , L. Varga . A new approach to defining software complexity measures. Acta Cybern. , 3 , 287 - 291
    13. 13)
      • A. Baker , J. Bieman , N.E. Fenton , D. Gustafson , A. Melton , R.W. Whitty . A philosophy for software measurement. J. Syst. Softw. , 277 - 281
    14. 14)
      • A.C. Melton , D.A. Gustafson , J.M. Bieman , A.A. Baker . A mathematical perspective of software measures research. Softw. Eng. J. , 5 , 246 - 254
    15. 15)
      • D. Kafura , S. Henry . Software quality metrics based on interconnectivity. J. Syst. Softw. , 121 - 131
    16. 16)
      • D.H. Krantz , R.D. Luce , P. Suppes , A. Tvesky . (1971) , Foundations of measurement.
    17. 17)
      • Chapin, N.: `A measure of software complexity', Proc. NCC, 1979, p. 995–1002.
    18. 18)
      • N.E. Fenton , R.W. Whitty . Axiomatic approach to software metrication through program decomposition. Comput. J. , 4 , 329 - 339
    19. 19)
      • R.A. Demillo , R.J. Lipton , A.J. Perlis , F.G. Sayward , M. Shaw . (1981) Software project forecasting, Software metrics.
    20. 20)
      • Shepperd, M., Ince, D.: `Algebraic validation of software metric', European Software Engineering Conf., 1991, Toulouse, France.
    21. 21)
      • H. Zuse . (1991) , Software complexity: measures and methods.
    22. 22)
      • R.E. Prather . An axiomatic theory of software complexity measure. Comput. J. , 340 - 347
    23. 23)
      • F. Stetter . A measure of program complexity. Comput. Lang. , 3 , 203 - 210
http://iet.metastore.ingenta.com/content/journals/10.1049/sej.1992.0036
Loading

Related content

content/journals/10.1049/sej.1992.0036
pub_keyword,iet_inspecKeyword,pub_concept
6
6
Loading
This is a required field
Please enter a valid email address