Predicting Fault‐Prone Modules Based on Metrics Transitions
Yoshiki Higo, Kenji Murao, Shinji Kusumoto, Katsuro Inoue {higo,k‐murao,kusumoto,inoue}@ist.osaka‐u.ac.jp
7/28/08 1 Graduate School of Information Science and Technology, Osaka University
PredictingFaultProneModules BasedonMetricsTransitions - - PowerPoint PPT Presentation
PredictingFaultProneModules BasedonMetricsTransitions YoshikiHigo,KenjiMurao,ShinjiKusumoto,KatsuroInoue {higo,kmurao,kusumoto,inoue}@ist.osakau.ac.jp 7/28/08 1
7/28/08 1 Graduate School of Information Science and Technology, Osaka University
7/28/08 Graduate School of Information Science and Technology, Osaka University 2
7/28/08 Graduate School of Information Science and Technology, Osaka University 3
7/28/08 Graduate School of Information Science and Technology, Osaka University 4
[1] V. R. Basili, L. C. Briand, and W. L. Melo. A Validation of Object‐Oriented Design Metrics as Quality Indicators. IEEE Transactions on Software Engineering, 22(10):751–761, Oct 1996.
7/28/08 Graduate School of Information Science and Technology, Osaka University 5
7/28/08 Graduate School of Information Science and Technology, Osaka University 6
7/28/08 Graduate School of Information Science and Technology, Osaka University 7
7/28/08 Graduate School of Information Science and Technology, Osaka University 8
7/28/08 Graduate School of Information Science and Technology, Osaka University 9
1 2 3 c1 c2 c3 c4 4 c5 m1 m2 m3 changes Metric value
≒1.6 ≒0.72 ≒1.9
m1: 5 changes, value 2: 4 times, value 3: 1 time m2: 5 changes, value 1,2,3: 1 time, value4: 2 times m3: 3 changes, value 1,3,4: 1 time (pi is probability)
7/28/08 Graduate School of Information Science and Technology, Osaka University 10
cohesion metrics should be used
7/28/08 Graduate School of Information Science and Technology, Osaka University 11
7/28/08 Graduate School of Information Science and Technology, Osaka University 12
Software FreeMind JHotDraw HelpSetMaker # of Developers 12 24 2 # of snapshots 104 196 260 First commit time 01/Aug/2000 19:56:09 12/Oct/2000 14:57:10 20/Oct/2003 13:05:47 Last commit time 06/Feb/2004 06:04:25 25/Apr/2005 22:35:57 07/Jan/2006 15:08:41 # first source files 67 144 14 # last source files 80 484 36 First total LOC 3,882 12,781 797 Last total LOC 14,076 60,430 9,167
7/28/08 Graduate School of Information Science and Technology, Osaka University 13
7/28/08 Graduate School of Information Science and Technology, Osaka University 14
Ranking coverage (%) Bug coverage (%)
7/28/08 Graduate School of Information Science and Technology, Osaka University 15
JHotDraw HelpSetMaker
7/28/08 Graduate School of Information Science and Technology, Osaka University 16
First snapshot last snapshot
1/4 1/3 1/2
anterior set posterior set
7/28/08 Graduate School of Information Science and Technology, Osaka University 17
FreeMind: anterior ¼, posterior ¾ FreeMind: anterior ½, posterior ½
7/28/08 Graduate School of Information Science and Technology, Osaka University 18
7/28/08 Graduate School of Information Science and Technology, Osaka University 19
7/28/08 Graduate School of Information Science and Technology, Osaka University 20