skip to main content
article
Free Access

A unification of Halstead's Software Science counting rules for programs and English text, and a claim space approach to extensions

Published:01 August 1982Publication History
Skip Abstract Section

Abstract

In his Elements of Software Science, Maurice Halstead proposed that software quality measurements could be based on static lexemic analysis of the vocabularies of operators and operands, and the number of occurrences of each class, in computer programs. He also proposed that quality issues in Natural Language text could be addressed from similar perspectives, although his rules for programs and for English seem to conflict.

This paper suggests that Halstead's seemingly disparate rules for classifying the tokens of programs and the tokens of English can be generally reconciled, although Halstead himself does not claim such a union. The thesis of Part One is a unification of his two procedures, based on a linguistic partitioning between “open” and “closed” classes. This unification may provide new inputs to some open issues concerning coding, and suggest, on the basis of a conceptual rationale, an explanation as to why programs which are by Halstead's definition “impure” might indeed be confusing to the human reader.

Part Two of this paper, by exploring the nodes in a textual “Claim Space,” briefly considers other groupings of the classes taken as primitive by Halstead, in ways which bring to light alternate and supplementary sets of candidate coding rules productive for study of textual quality.

References

  1. 1 Bar-Hillel, Yehoshua. Language and Information (Reading: Addison-Wesley Publishing Company) c1964.]]Google ScholarGoogle Scholar
  2. 2 Brown, Roger. Psycholinguistics (New York: The Free Press) c1970.]]Google ScholarGoogle Scholar
  3. 3 Christensen, K. "A Context for Determination of Software Science Counting Rules," paper for SCORE82, March 1982.]]Google ScholarGoogle Scholar
  4. 4 Christensen, K., Fitsos, G.P., and Smith, C. P., "A Perspective on Software Science," in IBM Systems Journal, Vol. 20, No.4, 1981, pp.372-387.]]Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5 Conte, S.D., Shen, V. Y., and Dickey, K. "On the Effect of Different Counting Rules for Control Flow Operators on Software Science Metrics in Fortran," paper for SCORE82, March 1982.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6 Halstead, Maurice. Elements of Software Science (New York: Elsevier North Holland, Inc.) 1977.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7 Hartman, Sandra D. An Analysis of Commercial RPG Programs Using Halstead and McCabe Metrics. IBM: Technical Report TR 02.929, 1981.]]Google ScholarGoogle Scholar
  8. 8 Herdan, Gustave. Type-Token Mathematics: A Textbook of Mathematical Linguistics. ('S-Gravenhage: Mouton & Company) 1960.]]Google ScholarGoogle Scholar
  9. 9 Kulm, Gerald. "Language Level Applied to the Information Content of Technical Prose", in Collective Phenomena and the Applications of Physics to other Fields of Science, Brain Research Publications Inc., 1974, pp. 401-408.]]Google ScholarGoogle Scholar
  10. 10 Miller, G. A., Newman, E. B., and Friedman, E. A. "Length-Frequency Statistics for Written English," in Information and Control, Vol. 1, (1958), pp. 370-389.]]Google ScholarGoogle ScholarCross RefCross Ref
  11. 11 Misek-Falkoff, Linda D. Automated Contextual Analysis of Thematic Structure in Natural Language. CASE WESTERN RESERVE UNIVERSITY: A.R. Jennings Computing Center Report 1103, 1970.]]Google ScholarGoogle Scholar
  12. 12 Misek-Falkoff, Linda D. "Claim Structure Grammar," paper presented at the 1975 Annual Meeting of the Linguistic Society of America and the Association for Computational Linguistics, San Francisco.]]Google ScholarGoogle Scholar
  13. 13 Misek-Falkoff, Linda D. "Claim Structure Grammar and Defect Detection in Software and Natural Language," oral presentation at the 1981 ACM Sigmetrics Workshop on Quality, College Park, Md.]]Google ScholarGoogle Scholar
  14. 14 Zipf, George Kingsley. The Psychobiology of Language: An Introduction to Dynamic Philology, Second Edition (Cambridge, M.I.T. Press) 1935.]]Google ScholarGoogle Scholar

Index Terms

  1. A unification of Halstead's Software Science counting rules for programs and English text, and a claim space approach to extensions

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in

          Full Access

          • Published in

            cover image ACM SIGMETRICS Performance Evaluation Review
            ACM SIGMETRICS Performance Evaluation Review  Volume 11, Issue 2
            Summer 1982
            114 pages
            ISSN:0163-5999
            DOI:10.1145/1010673
            Issue’s Table of Contents
            • cover image ACM Conferences
              SCORE '82: Selected papers of the 1982 ACM SIGMETRICS workshop on Software Metrics: part 1
              August 1982
              126 pages
              ISBN:089791077X
              DOI:10.1145/800002

            Copyright © 1982 ACM

            Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 1 August 1982

            Check for updates

            Qualifiers

            • article
          • Article Metrics

            • Downloads (Last 12 months)28
            • Downloads (Last 6 weeks)4

            Other Metrics

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader