[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1109/SCAM.2014.18guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

Bulk Fixing Coding Issues and Its Effects on Software Quality: Is It Worth Refactoring?

Published: 28 September 2014 Publication History

Abstract

The quality of a software system is mostly defined by its source code. Software evolves continuously, it gets modified, enhanced, and new requirements always arise. If we do not spend time periodically on improving our source code, it becomes messy and its quality will decrease inevitably. Literature tells us that we can improve the quality of our software product by regularly refactoring it. But does refactoring really increase software quality? Can it happen that a refactoring decreases the quality? Is it possible to recognize the change in quality caused by a single refactoring operation? In our paper, we seek answers to these questions in a case study of refactoring large-scale proprietary software systems. We analyzed the source code of 5 systems, and measured the quality of several revisions for a period of time. We analyzed 2 million lines of code and identified nearly 200 refactoring commits which fixed over 500 coding issues. We found that one single refactoring only makes a small change (sometimes even decreases quality), but when we do them in blocks, we can significantly increase quality, which can result not only in the local, but also in the global improvement of the code.

Cited By

View all
  • (2023)Code quality improvement using Aquila OptimizerJournal of Software: Evolution and Process10.1002/smr.255936:4Online publication date: 16-Mar-2023
  • (2022)Code review practices for refactoring changesProceedings of the 19th International Conference on Mining Software Repositories10.1145/3524842.3527932(689-701)Online publication date: 23-May-2022
  • (2020)Why Developers Refactor Source CodeACM Transactions on Software Engineering and Methodology10.1145/340830229:4(1-30)Online publication date: 26-Sep-2020
  • Show More Cited By
  1. Bulk Fixing Coding Issues and Its Effects on Software Quality: Is It Worth Refactoring?

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image Guide Proceedings
    SCAM '14: Proceedings of the 2014 IEEE 14th International Working Conference on Source Code Analysis and Manipulation
    September 2014
    316 pages
    ISBN:9781479961481

    Publisher

    IEEE Computer Society

    United States

    Publication History

    Published: 28 September 2014

    Author Tags

    1. ISO/IEC 25010
    2. antipatterns
    3. coding issues
    4. maintainability
    5. software quality

    Qualifiers

    • Article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 12 Dec 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2023)Code quality improvement using Aquila OptimizerJournal of Software: Evolution and Process10.1002/smr.255936:4Online publication date: 16-Mar-2023
    • (2022)Code review practices for refactoring changesProceedings of the 19th International Conference on Mining Software Repositories10.1145/3524842.3527932(689-701)Online publication date: 23-May-2022
    • (2020)Why Developers Refactor Source CodeACM Transactions on Software Engineering and Methodology10.1145/340830229:4(1-30)Online publication date: 26-Sep-2020
    • (2020)On the relationship between refactoring actions and bugs: a differentiated replicationProceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering10.1145/3368089.3409695(556-567)Online publication date: 8-Nov-2020
    • (2017)An exploratory study on the relationship between changes and refactoringProceedings of the 25th International Conference on Program Comprehension10.1109/ICPC.2017.38(176-185)Online publication date: 20-May-2017

    View Options

    View options

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media