• DocumentCode
    237323
  • Title

    Understanding and Measuring Nesting

  • Author

    Alrasheed, Hend ; Melton, Austin

  • Author_Institution
    Dept. of Comput. Sci., Kent State Univ., Kent, OH, USA
  • fYear
    2014
  • fDate
    21-25 July 2014
  • Firstpage
    273
  • Lastpage
    278
  • Abstract
    Nesting is a fundamental and very commonly used programming construct. In many cases, the wise use of nesting contributes significantly to a programming team´s elegantly designing a solution to a difficult problem. However, the ease with which nesting constructs may be created and the essentially unlimited depth and breadth to which they may exist also enable a programming team to create structures which may be extremely difficult to understand and maintain. In this paper, we examine nesting and nesting metrics. In particular, we discuss nesting and complexity, we give a new definition for the scope of a selection statement, we define simple and precise metrics for nesting depth and breadth, and we present a new nesting concept, the nesting tree.
  • Keywords
    programming; nesting breadth metric; nesting concept; nesting depth metric; nesting metrics; nesting tree; programming construct; selection statement; Complexity theory; Computers; Flow graphs; Joining processes; Programming; Software measurement; control flow graph; nesting; program complexity; scope of a selection node; selection block or node; selection statement;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Software and Applications Conference (COMPSAC), 2014 IEEE 38th Annual
  • Conference_Location
    Vasteras
  • Type

    conf

  • DOI
    10.1109/COMPSAC.2014.37
  • Filename
    6899227