TY - EJOU AU - Mahmood, Nasir AU - Hafeez, Yaser AU - Iqbal, Khalid AU - Hussain, Shariq AU - Aqib, Muhammad AU - Jamal, Muhammad AU - Song, Oh-Young TI - Mining Software Repository for Cleaning Bugs Using Data Mining Technique T2 - Computers, Materials \& Continua PY - 2021 VL - 69 IS - 1 SN - 1546-2226 AB - Despite advances in technological complexity and efforts, software repository maintenance requires reusing the data to reduce the effort and complexity. However, increasing ambiguity, irrelevance, and bugs while extracting similar data during software development generate a large amount of data from those data that reside in repositories. Thus, there is a need for a repository mining technique for relevant and bug-free data prediction. This paper proposes a fault prediction approach using a data-mining technique to find good predictors for high-quality software. To predict errors in mining data, the Apriori algorithm was used to discover association rules by fixing confidence at more than 40% and support at least 30%. The pruning strategy was adopted based on evaluation measures. Next, the rules were extracted from three projects of different domains; the extracted rules were then combined to obtain the most popular rules based on the evaluation measure values. To evaluate the proposed approach, we conducted an experimental study to compare the proposed rules with existing ones using four different industrial projects. The evaluation showed that the results of our proposal are promising. Practitioners and developers can utilize these rules for defect prediction during early software development. KW - Fault prediction; association rule; data mining; frequent pattern mining DO - 10.32604/cmc.2021.016614