• DocumentCode
    2258870
  • Title

    Measuring program structure with inter-module metrics

  • Author

    Ammann, Manuel M. ; Cameron, Robert D.

  • Author_Institution
    Simon Fraser Univ., Burnaby, BC, Canada
  • fYear
    1994
  • fDate
    9-11 Nov 1994
  • Firstpage
    139
  • Lastpage
    144
  • Abstract
    A good structure is an important quality aspect of a program. Well-structured, modular programs are less costly to maintain than unstructured monolithic ones. Quantitatively assessing structure and modularity of programs can be useful to help ensure that a program is well-structured by indicating a potential need for restructuring of poorly structured code. However, previous structure metrics do not sufficiently account for the modular features used in modern, object-oriented programming languages. We propose four novel measures to assess the modular structure of a software project. Our measures are based on the principle of vocabulary hiding and measure a form of cohesion. A metrics prototype tool has been implemented for the Modula-3 programming language. Informal tests suggest that they are indeed useful to assess the quality of the program structure
  • Keywords
    Modula; object-oriented languages; object-oriented programming; software metrics; software tools; Modula-3; cohesion; inter-module metrics; modular features; object-oriented programming languages; poorly structured code; program structure measures; vocabulary hiding; well-structured modular programs; Computer languages; Entropy; Fluid flow measurement; Inspection; Modems; Object oriented programming; Operating systems; Prototypes; System testing; Vocabulary;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Software and Applications Conference, 1994. COMPSAC 94. Proceedings., Eighteenth Annual International
  • Conference_Location
    Taipei
  • Print_ISBN
    0-8186-6705-2
  • Type

    conf

  • DOI
    10.1109/CMPSAC.1994.342817
  • Filename
    342817