More Related Content
Similar to Which Warnings Should I Fix First? (20)
Which Warnings Should I Fix First?
- 1. Sung Kim and Michael D. Ernst {hunkim, mernst}@csail.mit.edu CSAIL • MIT
- 2. Sung Kim and Michael D. Ernst {hunkim, mernst}@csail.mit.edu CSAIL • MIT
- 8. Are warnings useful? Are all warnings important to be fixed? Does tools’ prioritization help to identify important ones?
- 11. Buggy lines Rev 100 …… Mark as a buggy line if a line is changed in future fixes.
- 12. Change logs indicate fixes …… [bugfix] Fixed bug #3576 fix File 1 Non-fix Non-fix Non-fix Non-fix
- 14. Buggy lines Rev 199 Rev 198 If (x=y && Z=x) { If (x=y && Z=x) { marks Fix
- 25. Reprioritization algorithm …… Score(A) += non-fix-weight (0.1) Score(A) += fix-weight (0.9) Fixed bug #3576 Score(A) += Non-fix-weight(0.1) Score(A)=1.1 fix Score(A)=0 Score(A)=0.1 Score(A)=1 Warning A File 1 Warning B Foo …… Score(B)=0
- 35. Sung Kim and Michael D. Ernst {hunkim, mernst}@csail.mit.edu CSAIL • MIT
Editor's Notes
- We are going to use History since it gives the answer