[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/3120459.3120463acmotherconferencesArticle/Chapter ViewAbstractPublication PagesxpConference Proceedingsconference-collections
short-paper

Revisiting context-based code smells prioritization: on supporting referred context

Published: 22 May 2017 Publication History

Abstract

Because numerous code smells are revealed by code smell detectors, many attempts have been undertaken to mitigate related problems by prioritizing and filtering code smells. We earlier proposed a technique to prioritize code smells by leveraging the context of the developers, i.e., the modules that the developers plan to implement. Our empirical studies revealed that the results of code smells prioritized using our technique are useful to support developers' implementation on the modules they intend to change. Nonetheless, in software change processes, developers often navigate through many modules and refer to them before making actual changes. Such modules are important when considering the developers' context. Therefore, it is essential to ascertain whether our technique can also support developers on modules to which they are going to refer to make changes. We conducted an empirical study of an open source project adopting tools for recording developers' interaction history. Our results demonstrate that the code smells prioritized using our approach can also be used to support developers for modules to which developers are going to refer, irrespective of the need for modification.

References

[1]
Roberta Arcoverde, Everton Guimaraes, Isela Macia, Alessandro Garcia, and Yuanfang Cai. 2013. Prioritization of Code Anomalies Based on Architecture Sensitiveness. In Proceedings of the 27th Brazilian Symposium on Software Engineering (SBES' 13). 69--78.
[2]
Gabriele Bavota, Andrea De Lucia, Massimiliano Di Penta, Rocco Oliveto, and Fabio Palomba. 2015. An Experimental Investigation on the Innate Relationship between Quality and Refactoring. Journal of Systems and Software 107 (2015), 1--14.
[3]
Zadia Codabux and Byron J. Williams. 2016. Technical Debt Prioritization Using Predictive Analytics. In Proceedings of the 38th International Conference on Software Engineering Companion (ICSE'16). 704--706.
[4]
Bruce Croft, Donald Metzler, and Trevor Strohman. 2009. Search Engines: Information Retrieval in Practice (1 ed.). Addison-Wesley Publishing Company.
[5]
Bogdan Dit, Evan Moritz, and Denys Poshyvanyk. 2012. A TraceLab-based Solution for Creating, Conducting, and Sharing Feature Location Experiments. In Proceedings of the 20th IEEE International Conference on Program Comprehension (ICPC'12). 203--208.
[6]
Bogdan Dit, Meghan Revelle, Malcom Gethers, and Denys Poshyvanyk. 2013. Feature Location in Source Code: A Taxonomy and Survey. Journal of Software: Evolution and Process 25, 1 (2013), 53--95.
[7]
Francesca Arcelli Fontana, Vincenzo Ferme, Marco Zanoni, and Riccardo Roveda. 2015. Towards a Prioritization of Code Debt : A Code Smell Intensity Index. In Proceedings of the Seventh IEEE International Workshop on Managing Technical Debt (MTD'15). 16--24.
[8]
Martin Fowler. 1999. Refactoring: Improving the Design of Existing Code. Addison-Wesley.
[9]
Felienne Hermans and Efthimia Aivaloglou. 2016. Do Code Smells Hamper Novice Programming? A Controlled Experiment on Scratch Programs. In Proceedings of the 24th IEEE International Conference on Program Comprehension (ICPC' 16). 1--10.
[10]
Brittany Johnson, Yoonki Song, Emerson R. Murphy-Hill, and Robert W. Bowdidge. 2013. Why Don't Software Developers Use Static Analysis Tools to Find Bugs?. In Proceedings of the 35th International Conference on Software Engineering (ICSE'13). 672--681.
[11]
Mik Kersten and Gail C. Murphy. 2005. Mylar: A Degree-of-Interest Model for IDEs. In Proceedings of the Fourth International Conference on Aspect-Oriented Software Development (AOSD'05). 159--168.
[12]
Mik Kersten and Gail C. Murphy. 2006. Using Task Context to Improve Programmer Productivity. In Proceedings of the 14th ACM SIGSOFT International Symposium on Foundations of Software Engineering (FSE'06). 1--11.
[13]
Michele Lanza and Radu Marinescu. 2006. Object-Oriented Metrics in Practice. Springer.
[14]
Emerson Murphy-Hill and Andrew P. Black. 2008. Seven Habits of a Highly Effective Smell Detector. In Proceedings of the 2008 International Workshop on Recommendation Systems for Software Engineering (RSSE'08). 36--40.
[15]
Natthawute Sae-Lim, Shinpei Hayashi, and Motoshi Saeki. 2016. Context-based code smells prioritization for prefactoring. In Proceedings of the 24th IEEE International Conference on Program Comprehension (ICPC' 16). 1--10.
[16]
Gerard Salton and Michael J. McGill. 1983. Introduction to Modern Information Retrieval. McGraw-Hill, Inc.
[17]
Santiago A. Vidal, Claudia Marcos, and J. Andrés Díaz-Pace. 2016. An Approach to Prioritize Code Smells for Refactoring. Automated Software Engineering 23, 3 (2016), 501--532.
[18]
Akihiro Yamamori, Anders Mikael Hagward, and Takashi Kobayashi. 2017. Can Developers' Interaction Data Improve Change Recommendation?. In Proceedings of the 41st Annual IEEE Computer Software and Applications Conference (COMPSAC'17).
[19]
Aiko Yamashita and Leon Moonen. 2012. Do Code Smells Reflect Important Maintainability Aspects?. In Proceedings of the 28th IEEE International Conference on Software Maintenance (ICSM'12). 306--315.
[20]
Aiko Yamashita and Leon Moonen. 2013. Do Developers Care about Code Smells? An Exploratory Survey. In Proceedings of the 20th Working Conference on Reverse Engineering (WCRE'13). 242--251.

Cited By

View all
  • (2024)Triaging Microservice Security Smells, with TriSSProceedings of the 28th International Conference on Evaluation and Assessment in Software Engineering10.1145/3661167.3661282(698-706)Online publication date: 18-Jun-2024
  • (2024)On the effectiveness of developer features in code smell prioritization: A replication studyJournal of Systems and Software10.1016/j.jss.2024.111968210(111968)Online publication date: Apr-2024
  • (2024)Revisiting Code Smell Severity Prioritization using learning to rank techniquesExpert Systems with Applications10.1016/j.eswa.2024.123483249(123483)Online publication date: Sep-2024
  • Show More Cited By

Index Terms

  1. Revisiting context-based code smells prioritization: on supporting referred context

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    XP '17: Proceedings of the XP2017 Scientific Workshops
    May 2017
    124 pages
    ISBN:9781450352642
    DOI:10.1145/3120459
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 22 May 2017

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. code smell
    2. impact analysis
    3. interaction history
    4. issue tracking system

    Qualifiers

    • Short-paper

    Funding Sources

    Conference

    XP '17 Workshops

    Acceptance Rates

    Overall Acceptance Rate 11 of 15 submissions, 73%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)2
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 20 Jan 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Triaging Microservice Security Smells, with TriSSProceedings of the 28th International Conference on Evaluation and Assessment in Software Engineering10.1145/3661167.3661282(698-706)Online publication date: 18-Jun-2024
    • (2024)On the effectiveness of developer features in code smell prioritization: A replication studyJournal of Systems and Software10.1016/j.jss.2024.111968210(111968)Online publication date: Apr-2024
    • (2024)Revisiting Code Smell Severity Prioritization using learning to rank techniquesExpert Systems with Applications10.1016/j.eswa.2024.123483249(123483)Online publication date: Sep-2024
    • (2024)Aligning XAI explanations with software developers’ expectations: A case study with code smell prioritizationExpert Systems with Applications10.1016/j.eswa.2023.121640238(121640)Online publication date: Mar-2024
    • (2024)SST: A Tool to Support the Triage of Security Smells in Microservice ApplicationsSN Computer Science10.1007/s42979-024-03372-55:8Online publication date: 4-Nov-2024
    • (2024)Towards Teamwise Informed Decisions On Microservice Security SmellsSoftware Architecture10.1007/978-3-031-70797-1_23(350-358)Online publication date: 1-Sep-2024
    • (2023)Code smell prioritization in object‐oriented software systemsJournal of Software: Evolution and Process10.1002/smr.253635:12Online publication date: 29-Jan-2023
    • (2022)Prioritization of god class design smell: A multi-criteria based approachJournal of King Saud University - Computer and Information Sciences10.1016/j.jksuci.2022.09.01134:10(9332-9342)Online publication date: Nov-2022
    • (2021)Predicting Community Smells’ Occurrence on Individual Developers by Sentiments2021 IEEE/ACM 29th International Conference on Program Comprehension (ICPC)10.1109/ICPC52881.2021.00030(230-241)Online publication date: May-2021
    • (2018)An Investigative Study on How Developers Filter and Prioritize Code SmellsIEICE Transactions on Information and Systems10.1587/transinf.2017KBP0006E101.D:7(1733-1742)Online publication date: 1-Jul-2018
    • Show More Cited By

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media