首页    期刊浏览 2024年07月05日 星期五
登录注册

文章基本信息

  • 标题:Detecting Infeasible Paths via Mining Branch Correlations
  • 本地全文:下载
  • 作者:Cheng Zhang ; Yuting Chen
  • 期刊名称:Journal of Software Engineering
  • 印刷版ISSN:1819-4311
  • 电子版ISSN:2152-0941
  • 出版年度:2012
  • 卷号:6
  • 期号:4
  • 页码:65-78
  • DOI:10.3923/jse.2012.65.78
  • 出版社:Academic Journals Inc., USA
  • 摘要:The existence of infeasible program paths remains an obstacle in applying static analysis to software engineering activities, such as test data generation and bug finding. Knowledge about these infeasible paths is valuable to improve the precision of static analysis. This study presented a hybrid approach for detecting infeasible paths effectively, by combining program analysis and data mining techniques. The approach is based upon two assumptions: (1) most infeasible paths are caused by branch correlations and (2) runtime values of correlated branch predicates can display certain patterns which reveal the underlying correlations between the branches. The approach discovers the possible correlation rules by mining the data collected through instrumenting target programs and executing adequate test cases. Then the approach scores the infeasibility of each program path according to the number of rules it breaks. The evaluation shows that the approach can detect a large portion of infeasible paths and some of them are difficult to be identified by existing infeasible path detecting methods.
国家哲学社会科学文献中心版权所有