Quotation Händler, Thorsten, Sobernig, Stefan, Strembeck, Mark. 2017. Towards Triaging Code-Smell Candidates via Runtime Scenarios and Method-Call Dependencies. In Ninth International Workshop on Managing Technical Debt (MTD 2017) at the 18th International Conference on Agile Software Development (XP 2017), Hrsg. ACM, 1-10. Cologne, Germany: ACM Press.


RIS


BibTeX

Abstract

Managing technical debt includes the detection and assessment of debt at the code and design levels (such as bad smells). Existing approaches and tools for smell detection primarily use static program data for decision support. While a static analysis allows for identifying smell candidates without executing and instrumenting the system, such approaches also come with the risk of missing candidates or of producing false positives. Moreover, smell candidates might result from a deliberate design decision (e.g., of applying a particular design pattern). Such risks and the general ambivalence of smell detection require a manual design and/or code inspection for reviewing all alleged smells. In this paper, we propose an approach to obtain tailorable design documentation for object-oriented systems based on runtime tests. In particular, the approach supports a tool-supported triaging of code-smell candidates. We use runtime scenario tests to extract execution traces. Based on these execution traces, different (automatically derived) model perspectives on method-call dependencies (e.g., dependency structure matrices, DSMs; UML2 sequence diagrams) are then used as decision support for assessing smell candidates. Our approach is implemented as part of the KaleidoScope tool which is publicly available for download.

Tags

Press 'enter' for creating the tag

Publication's profile

Status of publication Published
Affiliation WU
Type of publication Contribution to conference proceedings
Language English
Title Towards Triaging Code-Smell Candidates via Runtime Scenarios and Method-Call Dependencies
Title of whole publication Ninth International Workshop on Managing Technical Debt (MTD 2017) at the 18th International Conference on Agile Software Development (XP 2017)
Editor ACM
Page from 1
Page to 10
Location Cologne, Germany
Publisher ACM Press
Year 2017

Associations

People
Händler, Thorsten (Details)
Sobernig, Stefan (Details)
Strembeck, Mark (Details)
Organization
Information Systems and New Media IN (Details)
Research areas (ÖSTAT Classification 'Statistik Austria')
1105 Computer software (Details)
1108 Informatics (Details)
1140 Software engineering (Details)
Google Scholar: Search