• DocumentCode
    3014898
  • Title

    Detecting Modularity Flaws of Evolving Code: What the History Can Reveal?

  • Author

    da Silva, L.M. ; Dantas, Francisco ; Honorato, Gustavo ; Garcia, Alessandro ; Lucena, Carlos

  • Author_Institution
    Dept. de Inf., Pontificia Univ. Catolica do Rio de Janeiro (PUC-Rio), Rio de Janeiro, Brazil
  • fYear
    2010
  • fDate
    27-29 Sept. 2010
  • Firstpage
    1
  • Lastpage
    10
  • Abstract
    Modularity flaws can hamper the reuse and maintainability of code or even indicating the architecture degradation of a system. Therefore, researchers have increasingly investigated new mechanisms to assist the detection of these anomalies. Strategies for detection these flaws usually ignore information about the software change history. However, recent studies report that these strategies have been considered counter-productive. This article proposes and evaluates the use of detection strategies consisting of metrics that consider historic properties of evolving source code. It also proposes tool support for history-sensitive detection of modularity flaws. The strategies are evaluated in terms of precision and recall to detect three classic modularity flaws over 16 versions of two systems. Several observations were made, including: (i) exploiting information about the code evolution can contribute to effective detection of modularity flaws; and (ii) in both systems, history-sensitive strategies presented results superior to conventional strategies.
  • Keywords
    flaw detection; software maintenance; source coding; anomaly detection; history sensitive detection; modularity flaw detection; source code; Computer architecture; DSL; History; Measurement; Software; Surgery; XML; detection strategies; empirical software engineering; history-sensitive metrics; modularity flaws;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Components, Architectures and Reuse (SBCARS), 2010 Fourth Brazilian Symposium on
  • Conference_Location
    Bahia
  • Print_ISBN
    978-1-4244-8707-3
  • Electronic_ISBN
    978-0-7695-4259-1
  • Type

    conf

  • DOI
    10.1109/SBCARS.2010.11
  • Filename
    5631655