• DocumentCode
    3638700
  • Title

    Identifying Code Smells with Multiple Concern Views

  • Author

    Glauco de F. Carneiro;Marcos Silva;Leandra Mara;Eduardo Figueiredo;Claudio Sant´Anna;Alessandro Garcia;Manoel Mendonca

  • Author_Institution
    Comput. Sci. Dept., Fed. Univ. of Bahia, Salvador, Brazil
  • fYear
    2010
  • Firstpage
    128
  • Lastpage
    137
  • Abstract
    Code smells are anomalies often caused by the way concerns are realized in the source code. Their identification might depend on properties governing the structure of individual concerns and their inter-dependencies in the system implementation. Although code visualization tools are increasingly applied to support anomaly detection, they are mostly limited to represent modular structures, such as methods, classes and packages. This paper presents a multiple views approach that enriches four categories of code views with concern properties, namely: (i) concern’s package-class method structure, (ii) concern’s inheritance-wise structure, (iii)concern dependency, and (iv) concern dependency weight. An exploratory study was conducted to assess the extent to which visual views support code smell detection. Developers identified a set of well-known code smells on five versions of an open source system. Two important results came out of this study. First, the concern-driven views provided useful support to identify God Class and Divergent Change smells. Second, strategies for smell detection supported by the multiple concern views were uncovered.
  • Keywords
    "Visualization","Color","Spirals","Couplings","Complexity theory","Software","Tutorials"
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering (SBES), 2010 Brazilian Symposium on
  • Print_ISBN
    978-1-4244-8917-6
  • Type

    conf

  • DOI
    10.1109/SBES.2010.21
  • Filename
    5629742