• DocumentCode
    3357633
  • Title

    Efficient identification of design patterns with bit-vector algorithm

  • Author

    Kaczor, Olivier ; Guéhéneuc, Yann-Gaël ; Hamel, Sylvie

  • Author_Institution
    Dept. of Informatics & Operations Res., Montreal Univ., Que.
  • fYear
    2006
  • fDate
    22-24 March 2006
  • Lastpage
    184
  • Abstract
    Design patterns are important in software maintenance because they help in designing, in understanding, and in re-engineering programs. The identification of occurrences of a design pattern consists in identifying, in a program, classes which structure and organisation match - strictly or approximately - the structure and organisation of classes as suggested by the design pattern. We express the problem of design pattern identification with operations on finite sets of bit-vectors. We use the inherent parallelism of bit-wise operations to derive an efficient bit-vector algorithm that finds exact and approximate occurrences of design patterns in a program. We apply our algorithm on three small-to-medium size programs, JHotDraw, Juzzle, and QuickUML, with the Abstract Factory and Composite design patterns and compare its performance and results with two existing constraint-based approaches
  • Keywords
    constraint handling; object-oriented programming; reverse engineering; software maintenance; systems re-engineering; Abstract Factory design pattern; Composite design pattern; JHotDraw; Juzzle; QuickUML; bit-vector algorithm; class organisation matching; class structure matching; constraint-based approach; design pattern identification; program designing; program re-engineering; program understanding; software maintenance; Algorithm design and analysis; Buildings; Costs; Documentation; Informatics; Operations research; Pattern matching; Production facilities; Software algorithms; Software maintenance;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance and Reengineering, 2006. CSMR 2006. Proceedings of the 10th European Conference on
  • Conference_Location
    Bari
  • ISSN
    1534-5351
  • Print_ISBN
    0-7695-2536-9
  • Type

    conf

  • DOI
    10.1109/CSMR.2006.25
  • Filename
    1602369