JOURNAL ARTICLE

The Application of Halstead's software science. Theory to Algol 68 programs

Martin R. Woodward

Year: 1984 Journal:   Software Practice and Experience Vol: 14 (3)Pages: 263-276   Publisher: Wiley

Abstract

Abstract M. H. Halstead has argued that all computer programs are composed entirely of operators and operands. By counting these entities the software science theory then enables program properties such as vocabulary, length, volume, program level and language level to be calculated. For well written, or so‐called ‘pure programs’, one would expect, according to the theory, good agreement between certain observed and predicted values. Also, one might expect an intuitive ordering of language levels to be confirmed by the theory, with for example, Algol 68 having a higher language level than Fortran. In this paper two different counting strategies have been applied to one implementation of the Numerical Algorithms Group (NAG) Algol 68 library. The results do not entirely match expectation.

Keywords:
Fortran Computer science Operand Programming language Software Vocabulary Arithmetic Mathematics education Theoretical computer science Linguistics Mathematics Operating system

Metrics

5
Cited By
1.42
FWCI (Field Weighted Citation Impact)
9
Refs
0.80
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Topics

Distributed and Parallel Computing Systems
Physical Sciences →  Computer Science →  Computer Networks and Communications
Teaching and Learning Programming
Physical Sciences →  Computer Science →  Computer Science Applications
Computability, Logic, AI Algorithms
Physical Sciences →  Computer Science →  Computational Theory and Mathematics

Related Documents

JOURNAL ARTICLE

Validating Halstead's theory for Pascal programs

Lorenzo FelicianG. Zalateu

Journal:   IEEE Transactions on Software Engineering Year: 1989 Vol: 15 (12)Pages: 1630-1632
JOURNAL ARTICLE

ZIPF-Halstead's theory of software metrication

Ye-Sho Chen

Journal:   International Journal of Computer Mathematics Year: 1992 Vol: 41 (3-4)Pages: 125-138
JOURNAL ARTICLE

M.H. Halstead's Software Science - a critical examination

Peter G. HamerGillian D. Frewin

Journal:   International Conference on Software Engineering Year: 1982 Pages: 197-206
JOURNAL ARTICLE

APL and Halstead's theory of software metrics

Joseph L.F. De Kerf

Journal:   ACM SIGAPL APL Quote Quad Year: 1981 Vol: 12 (1)Pages: 89-93
© 2026 ScienceGate Book Chapters — All rights reserved.