• DocumentCode
    3336632
  • Title

    The inconsistent measurement of Message Chains

  • Author

    Bowes, D. ; Randall, D. ; Hall, T.

  • Author_Institution
    Sch. of Comput. Sci., Univ. of Hertfordshire, Hatfield, UK
  • fYear
    2013
  • fDate
    21-21 May 2013
  • Firstpage
    62
  • Lastpage
    68
  • Abstract
    Fowler and Beck defined 22 Code Bad Smells. These smells are useful indicators of code that may need to be refactored. A range of tools have been developed that measure smells in Java code. We aim to compare the results of using two smell measurement tools (DECOR which is embedded in the Ptidej tool and Stench Blossom) on the same Java code (ArgoUML). This comparison identifies the code each tool identifies as containing Message Chains. We evaluate the results from these two tools using human judgment on the smells that the code contains. We look in detail at how and why the results differ. Our results show that each tool identified very different code as containing Message Chains. Stench Blossom identified very many more code instances of Message Chains than DECOR. We found three reasons why these discrepancies occurred. First there are significant differences in the definitions of Message Chains used by each tool. Second, the tools use very different measurement strategies. Third, the thresholds embedded in the tools vary. This measurement inconsistency is a problem to practitioners as they may be applying refactoring ineffectively. This inconsistency is also a problem for researchers as it undermines the reliability of making cross study comparisons and prevents mature knowledge the impact of smells being developed.
  • Keywords
    Java; Unified Modeling Language; software maintenance; software metrics; software reliability; ArgoUML; DECOR; Java code; Ptidej tool; Stench blossom; code bad smells; human judgment; inconsistent message chain measurement; measure smells; measurement inconsistency; smell measurement tools; Educational institutions; Encoding; Java; Manuals; Measurement; Niobium; Reliability; Code Bad Smells; Message Chains; measurement; measurement tools; performance;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Emerging Trends in Software Metrics (WETSoM), 2013 4th International Workshop on
  • Conference_Location
    San Francisco, CA
  • ISSN
    2327-0950
  • Type

    conf

  • DOI
    10.1109/WETSoM.2013.6619338
  • Filename
    6619338