• DocumentCode
    3176492
  • Title

    EFindBugs: Effective Error Ranking for FindBugs

  • Author

    Haihao Shen ; Fang, Jianhong ; Zhao, Jianjun

  • Author_Institution
    Sch. of Software, Shanghai Jiao Tong Univ., Shanghai, China
  • fYear
    2011
  • fDate
    21-25 March 2011
  • Firstpage
    299
  • Lastpage
    308
  • Abstract
    Static analysis tools have been widely used to detect potential defects without executing programs. It helps programmers raise the awareness about subtle correctness issues in the early stage. However, static defect detection tools face the high false positive rate problem. Therefore, programmers have to spend a considerable amount of time on screening out real bugs from a large number of reported warnings, which is time-consuming and inefficient. To alleviate the above problem during the report inspection process, we present EFindBugs to employ an effective two-stage error ranking strategy that suppresses the false positives and ranks the true error reports on top, so that real bugs existing in the programs could be more easily found and fixed by the programmers. In the first stage, EFindBugs initializes the ranking by assigning predefined defect likelihood for each bug pattern and sorting the error reports by the defect likelihood in descending order. In the second stage, EFindbugs optimizes the initial ranking self-adaptively through the feedback from users. This optimization process is executed automatically and based on the correlations among error reports with the same bug pattern. Our experiment on three widely-used Java projects (AspectJ, Tomcat, and Axis) shows that our ranking strategy outperforms the original ranking in Find Bugs in terms of precision, recall and F1-score.
  • Keywords
    Java; inspection; program debugging; program diagnostics; software tools; AspectJ; Axis; EFindBugs; Java project; Tomcat; error ranking; error sorting; optimization process; report inspection process; static analysis tool; static defect detection tool; Computer bugs; Correlation; Detectors; Java; Optimization; Software; Sorting; Error Ranking; FindBugs; Static Analysis Tool;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Testing, Verification and Validation (ICST), 2011 IEEE Fourth International Conference on
  • Conference_Location
    Berlin
  • Print_ISBN
    978-1-61284-174-8
  • Electronic_ISBN
    978-0-7695-4342-0
  • Type

    conf

  • DOI
    10.1109/ICST.2011.51
  • Filename
    5770619