• Home
  • Search
  • History-Driven Fix for Code Quality Issues
  • Cite Icon7
  • https://doi.org/10.1109/access.2019.2934975Copy DOI Icon

History-Driven Fix for Code Quality Issues

Show More
  • Abstract
  • Highlights & Summary
  • PDF
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

To ensure the internal code quality of contributions in open source software (OSS) communities, static analysis tools (e.g. Code Climate and SonarQube) have been integrated into the modern pull-based workflow for detecting code quality issues (CQIs). Automated CQI fixing is conducive to improve the efficiency of converging massive contributions. In this paper, we propose a history-driven approach to automatically fix CQIs utilizing the fixing knowledge mined from the change history in the code repositories. We collected 5,047,678 CQI isstances, 31,013 fixes of the CQIs that were detected by SonarQube from 206 GitHub projects and mined 68 common Fix Patterns for 56 CQI types. Evaluated by fixing the unfix CQI Instances, we find that the average correctness of our approach is 80% in top 1 fix patch and 69.17% of Top 5. We further conducted a live study by sending CQI’s fix patches to GitHub projects. The results show that developers approved or merged 11 of 17 patches.

Loading PDF

Similar Papers
  • Research Article
  • Citations2

Is Open Source About Innovation? How Interactions with the Open Source Community Impact on the Innovative Performances of Entrepreneurial Ventures

  • Dec 01, 2010
  • SSRN Electronic Journal
  • Evila Piva +2
  • Research Article
  • Citations61

Knowledge sharing in open source software communities: motivations and management

  • Jul 13, 2015
  • Journal of Knowledge Management
  • Zilia Iskoujina +1
  • Research Article
  • Citations69

Effect of “Following” on Contributions to Open Source Communities

  • Oct 02, 2018
  • Journal of Management Information Systems
  • Mahdi Moqri +3
  • Book Chapter

Understanding Users' Contributions in Open Source Software Communities

  • Jan 01, 2021
  • Tao Zhou
  • Book Chapter
  • Citations7

Analyzing the Social Networks of Contributors in Open Source Software Community

  • Jan 01, 2015
  • Mohammad Y Allaho +1
  • Research Article

All That Glitters Is Not Code? Understanding the Predictors of Developer Popularity and Sponsorship on a Social Coding Platform

  • Dec 02, 2025
  • Production and Operations Management
  • Praharshita Krishna +2
  • Research Article
  • Citations135

Retargetable Code Generation Based on Structural Processor Description

  • Jan 01, 1998
  • Design Automation for Embedded Systems
  • Rainer Leupers +1
  • Conference Article
  • Citations1

Identifying Emergent Leadership in Open Source Software Projects Based on Communication Styles

  • Mar 01, 2023
  • Yuekai Huang +4
  • Conference Article
  • Citations2

Gathering GitHub OSS Requirements from Q&A Community: an Empirical Study

  • Oct 01, 2020
  • Hao Huang +2
  • Conference Article
  • Citations417

Toward an understanding of the motivation of open source software developers

  • May 03, 2003
  • Yunwen Ye +1
  • Book Chapter
  • Citations3

Staffing Open Collaborative Projects Based on the Degree of Acquaintance

  • Jan 01, 2013
  • Mohammad Y Allaho +2
  • Research Article
  • Citations5

The Factors Affecting User Experience Maturity in Free and Open Source Software Community: An Empirical Study

  • Sep 29, 2023
  • International Journal of Human–Computer Interaction
  • Phesto P Namayala +2
  • Research Article
  • Citations7

Advanced strategies for achieving comprehensive code quality and ensuring software reliability

  • Aug 03, 2024
  • Computer Science & IT Research Journal
  • Nnaemeka Valentine Eziamaka +2
  • Research Article
  • Citations15

How do Open Source software companies respond to institutional pressures? A business model perspective

  • Jul 10, 2017
  • Journal of Enterprise Information Management
  • Khaireddine Mouakhar +1
  • Conference Article
  • Citations17

Peer code review in open source communitiesusing reviewboard

  • Oct 21, 2012
  • Amiangshu Bosu +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.