Weighted static code attributes for software defect prediction
20th International Conference on Software Engineering and Knowledge Engineering, SEKE 2008, San Francisco Bay, CA, Amerika Birleşik Devletleri, 1 - 03 Temmuz 2008, ss.143-148, (Tam Metin Bildiri)
- Yayın Türü: Bildiri / Tam Metin Bildiri
- Basıldığı Şehir: San Francisco Bay, CA
- Basıldığı Ülke: Amerika Birleşik Devletleri
- Sayfa Sayıları: ss.143-148
- Anahtar Kelimeler: Complexity measures, Methods for SQA and V&V, Metrics/measurement
- Boğaziçi Üniversitesi Adresli: Evet
Özet
It has been recently shown that defect predictors built on the combination of log-filtering, InfoGain attribute selection and Naive Bayes learner, outperform rule based learners. Naive Bayes is a well known statistical technique that assumes the 'independence' and 'equal importance' of attributes, which are not true in many problems. This paper addresses the 'equal importance' of attributes assumption of Naive Bayes. We show that with simple heuristics, relevant weights can be assigned to attributes according to their importance which improves defect prediction performance. Furthermore, our proposed heuristics have linear time computational complexities whereas choosing the optimal subset of attributes requires an exhaustive search in the attribute space. We compare the weighted Naive Bayes and the standard Naive Bayes predictors' performances on publicly available datasets both from Nasa and various small and medium enterprises (SMEs) in Turkey. Our results indicate that assigning weights to static code attributes may increase the prediction performance significantly, while removing the need for feature subset selection.