Skip to main content
Log in

A methodology for measuring the readability and modifiability of computer programs

  • Part I Computer Science
  • Published:
BIT Numerical Mathematics Aims and scope Submit manuscript

Abstract

This paper describes an experimentally based methodology for investigating how the readability and modifiability of computer programs can be expressed in terms of programming style.

As one part of the methodology three different measures of the readability and modifiability of a program are established. The measures are obtained by human gradings or scores. As another part these measures are related to computer-evaluable programming style characteristics. The result is a formula yielding the readability and modifiability as a function of measurable program characteristics.

In testing the methodology one experiment provided a formula of readability containing six computer-evaluable programming style characteristics. A further experiment indicated that the general validity of this formula of program readability needs further investigation.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. I. Andersen, I. Carstensen, H. Friis, L. Fischer, A. H. Jørgensen:PLIX — programlœsbarhedsindex. Rapport 75/1, (1975), Datalogisk Institut, Københavns Universitet.

  2. C. H. Björnsson:Lœsbarhed. Gad, København (1971).

  3. B. W. Boehm, J. R. Brown, H. Kaspar, M. Lipow, G. J. MacLeod, M. J. Merritt:Characteristics of software quality. TRW Systems Group, One Space Park, Redondo Beach, California (1973).

    Google Scholar 

  4. B. W. Boehm:Software and its impacts: A quantitative assessment. Datamation, vol. 19, no. 5, (1973) pp. 48–59.

    Google Scholar 

  5. B. Curtis, S. B. Sheppard, P. Milliman, M. A. Borst, T. Love:Measuring the psychological complexity of software maintenance tasks with the Halstead and McCabe metrics. IEEE Trans. on Software Engineering, vol. SE-5, no. 2, (1979) pp. 96–104.

    Google Scholar 

  6. A. Fitzsimmons and T. Love:A review and evaluation of software science. Computing Surveys, vol. 10, no. 1 (1978), pp. 3–18.

    Google Scholar 

  7. M. H. Halstead:Advances in software science. Advances in Computers, vol. 18, (1979) pp. 119–172. Academic Press, New York.

    Google Scholar 

  8. B. W. Kernighan and P. J. Plauger:The Elements of Programming Style. McGraw-Hill, New York (1974).

    Google Scholar 

  9. Klare:Measurement of Readability. Iowa University Press (1963).

  10. D. E. Knuth:The Art of Computer Programming, vol. 1. Addison-Wesley, New York (1973).

    Google Scholar 

  11. D. D. McCracken and G. M. Weinberg:How to write a readable FORTRAN program. Datamation, vol. 18, no. 10 (1972), pp. 73–77.

    Google Scholar 

  12. K. V. Roberts:The readability of computer programs. Computer Bulletin, vol. 10, no. 4 (1967), pp. 17–24.

    Google Scholar 

  13. L. Weissman:A methodology for studying the psychological complexity of computer programs. Technical Report CSRG-37, University of Toronto (1974).

  14. M. V. Zelkowitz:Perspectives on software engineering. Computing Surveys, vol. 10, no. 2 (1978), pp. 197–216.

    Google Scholar 

  15. J. L. Elshoff:An analysis of some commercial PL/I programs. IEEE. Trans. on Software Engineering, vol. SE-2, no. 2, (1976) pp. 113–120.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Jørgensen, A.H. A methodology for measuring the readability and modifiability of computer programs. BIT 20, 393–405 (1980). https://doi.org/10.1007/BF01933633

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01933633

Keywords

Navigation