A heuristic rule reduction approach to software fault-proneness prediction

Akito Monden, Jacky Keung, Shuji Morisaki, Yasutaka Kamei, Ken Ichi Matsumoto

Research output: Chapter in Book/Report/Conference proceedingConference contribution

10 Citations (Scopus)


Background: Association rules are more comprehensive and understandable than fault-prone module predictors (such as logistic regression model, random forest and support vector machine). One of the challenges is that there are usually too many similar rules to be extracted by the rule mining. Aim: This paper proposes a rule reduction technique that can eliminate complex (long) and/or similar rules without sacrificing the prediction performance as much as possible. Method: The notion of the method is to removing long and similar rules unless their confidence level as a heuristic is high enough than shorter rules. For example, it starts with selecting rules with shortest length (length=1), and then it continues through the 2nd shortest rules selection (length=2) based on the current confidence level, this process is repeated on the selection for longer rules until no rules are worth included. Result: An empirical experiment has been conducted with the Mylyn and Eclipse PDE datasets. The result of the Mylyn dataset showed the proposed method was able to reduce the number of rules from 1347 down to 13, while the delta of the prediction performance was only. 015 (from. 757 down to. 742) in terms of the F1 prediction criteria. In the experiment with Eclipsed PDE dataset, the proposed method reduced the number of rules from 398 to 12, while the prediction performance even improved (from. 426 to. 441.) Conclusion: The novel technique introduced resolves the rule explosion problem in association rule mining for software proneness prediction, which is significant and provides better understanding of the causes of faulty modules.

Original languageEnglish
Title of host publicationAPSEC 2012 - Proceedings of the 19th Asia-Pacific Software Engineering Conference
PublisherIEEE Computer Society
Number of pages10
ISBN (Print)9780769549224
Publication statusPublished - Jan 1 2012
Externally publishedYes
Event19th Asia-Pacific Software Engineering Conference, APSEC 2012 - Hong Kong, China
Duration: Dec 4 2012Dec 7 2012

Publication series

NameProceedings - Asia-Pacific Software Engineering Conference, APSEC
ISSN (Print)1530-1362


Other19th Asia-Pacific Software Engineering Conference, APSEC 2012
CityHong Kong


  • association rule mining
  • data mining
  • defect prediction
  • empirical study
  • software quality

ASJC Scopus subject areas

  • Software


Dive into the research topics of 'A heuristic rule reduction approach to software fault-proneness prediction'. Together they form a unique fingerprint.

Cite this