Skip to main content
Erschienen in: Empirical Software Engineering 3/2007

01.06.2007

Empirical analysis on the correlation between GCC compiler warnings and revision numbers of source files in five industrial software projects

verfasst von: Raimund Moser, Barbara Russo, Giancarlo Succi

Erschienen in: Empirical Software Engineering | Ausgabe 3/2007

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

This article discusses whether using warnings generated by the GNU C++ compiler can be used effectively to identify source code files that are likely to be error prone. We analyze five industrial projects written in C++ and belonging to the telecommunication domain. We find a significant positive correlation between the number of compiler warnings and the number of source files changes. We use such correlation to conclude that compiler warnings may be used as an indicator for the presence of software defects in source code. The result of this research is useful for finding defect-prone modules in newer projects, which lack change history.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Literatur
Zurück zum Zitat Basili VR, Lindvall M, Shull F (2002) A light-weight process for capturing and evolving defect reduction experience. Proceedings of 8th IEEE International Conference on Engineering of Complex Computer Systems, Los Alamitos, California, IEEE, 129–132 Basili VR, Lindvall M, Shull F (2002) A light-weight process for capturing and evolving defect reduction experience. Proceedings of 8th IEEE International Conference on Engineering of Complex Computer Systems, Los Alamitos, California, IEEE, 129–132
Zurück zum Zitat Boehm B, Basili, V (2001) Software defect reduction Top 10 list. Comput 34(1):135–137CrossRef Boehm B, Basili, V (2001) Software defect reduction Top 10 list. Comput 34(1):135–137CrossRef
Zurück zum Zitat Efron B, Tibshirani RJ (1993) An Introduction to the bootstrap. Chapman and Hall ch. 12–14 Efron B, Tibshirani RJ (1993) An Introduction to the bootstrap. Chapman and Hall ch. 12–14
Zurück zum Zitat El Emam K, Melo W, Machado JC (2001) The prediction of faulty classes using object-oriented metrics. J Syst Softw 56:63–75CrossRef El Emam K, Melo W, Machado JC (2001) The prediction of faulty classes using object-oriented metrics. J Syst Softw 56:63–75CrossRef
Zurück zum Zitat Fenton N, Neil M (1999) Software metrics and risks. Proceedings of FESMA 2nd European Software Measurement Conference. GNU GCC home page. 2004. Manual for GCC http://gcc.gnu.org Fenton N, Neil M (1999) Software metrics and risks. Proceedings of FESMA 2nd European Software Measurement Conference. GNU GCC home page. 2004. Manual for GCC http://​gcc.​gnu.​org
Zurück zum Zitat Graves TL, Karr AF, Marron JS, Siy H (2000) Predicting fault incidence using software change history. IEEE Trans Softw Eng 26(7):653–661CrossRef Graves TL, Karr AF, Marron JS, Siy H (2000) Predicting fault incidence using software change history. IEEE Trans Softw Eng 26(7):653–661CrossRef
Zurück zum Zitat Hall T, Fenton N (1997) Implementing effective software metrics programs. IEEE Softw 14(2):55–65CrossRef Hall T, Fenton N (1997) Implementing effective software metrics programs. IEEE Softw 14(2):55–65CrossRef
Zurück zum Zitat Hedges LV, Olkin I (1985) Statistical methods for meta-analysis. Academic, Orlando, 230–235MATH Hedges LV, Olkin I (1985) Statistical methods for meta-analysis. Academic, Orlando, 230–235MATH
Zurück zum Zitat Johnson PM, Disney AM (1998) Investigating data quality problems in the PSP. Proceedings of Sixth International Symposium On The Foundations Of Software Engineering (SIGSOFT’98), Orlando Johnson PM, Disney AM (1998) Investigating data quality problems in the PSP. Proceedings of Sixth International Symposium On The Foundations Of Software Engineering (SIGSOFT’98), Orlando
Zurück zum Zitat Johnson PM, Kou H, Agustin J, Chan C, Moore C, Miglani J, Zhen S, Doane W (2002) Beyond the personal software process: metrics collection and analysis for the different disciplined. Proceedings of the 25th International Conference on Software Engineering, Portland, Oregon Johnson PM, Kou H, Agustin J, Chan C, Moore C, Miglani J, Zhen S, Doane W (2002) Beyond the personal software process: metrics collection and analysis for the different disciplined. Proceedings of the 25th International Conference on Software Engineering, Portland, Oregon
Zurück zum Zitat Krishnan MS (1993) Quality engineering: cost, quality and user satisfaction of software products: an empirical analysis. Proceedings of the Conference of the Centre for Advanced Studies on Collaborative Research: Software Engineering—volume 1. Toronto, Ontario, Canada, 400–411 Krishnan MS (1993) Quality engineering: cost, quality and user satisfaction of software products: an empirical analysis. Proceedings of the Conference of the Centre for Advanced Studies on Collaborative Research: Software Engineering—volume 1. Toronto, Ontario, Canada, 400–411
Zurück zum Zitat Miller J (2000) Applying meta-analytical procedures to software engineering experiments. J Syst Softw 54:29–39CrossRef Miller J (2000) Applying meta-analytical procedures to software engineering experiments. J Syst Softw 54:29–39CrossRef
Zurück zum Zitat Mišić VB, Tešić DN (1997) Estimation of effort and complexity: an object-oriented case study. J Syst Softw 41(2):133–143 Mišić VB, Tešić DN (1997) Estimation of effort and complexity: an object-oriented case study. J Syst Softw 41(2):133–143
Zurück zum Zitat Nesi P, Querci T (1998) Effort estimation and prediction of object-oriented systems. J Syst Softw 42(1):89–102CrossRef Nesi P, Querci T (1998) Effort estimation and prediction of object-oriented systems. J Syst Softw 42(1):89–102CrossRef
Zurück zum Zitat Ohlsson N, Fenton, N (2000) Quantitative analysis of faults and failures in a complex software system. IEEE Trans Softw Eng 26(8):797–814CrossRef Ohlsson N, Fenton, N (2000) Quantitative analysis of faults and failures in a complex software system. IEEE Trans Softw Eng 26(8):797–814CrossRef
Zurück zum Zitat Ostrand TJ, Weyuker EJ, Bell RM (2004) Using static analysis to determine where to focus dynamic testing effort. Proceedings of the Second International Workshop on Dynamic Analysis (WODA 2004), Edinburgh, Scotland Ostrand TJ, Weyuker EJ, Bell RM (2004) Using static analysis to determine where to focus dynamic testing effort. Proceedings of the Second International Workshop on Dynamic Analysis (WODA 2004), Edinburgh, Scotland
Zurück zum Zitat Pearson K (1907) Mathematical contributions to the theory of evolution. XVI. On further methods of determining correlation. Drapers’ Company Research Memoirs (Biometric Series 4), Cambridge University Press Pearson K (1907) Mathematical contributions to the theory of evolution. XVI. On further methods of determining correlation. Drapers’ Company Research Memoirs (Biometric Series 4), Cambridge University Press
Zurück zum Zitat Rønning OM, Guldvog B (1998) Stroke units versus general medical wards, I: twelve- and eighteen-month survival. Stroke 29:58–62 Rønning OM, Guldvog B (1998) Stroke units versus general medical wards, I: twelve- and eighteen-month survival. Stroke 29:58–62
Zurück zum Zitat Shull F, Tesoriero R et al (2002) What we have learned about fighting defects. Proceedings of the International Symposium on Software Metrics (Metrics 2002), Ottawa, Canada Shull F, Tesoriero R et al (2002) What we have learned about fighting defects. Proceedings of the International Symposium on Software Metrics (Metrics 2002), Ottawa, Canada
Zurück zum Zitat Siegel S, Castellan NJ (1988) Nonparametric statistics for the behavioral sciences. McGraw-Hill, ch. 9.3, ch. 6 Siegel S, Castellan NJ (1988) Nonparametric statistics for the behavioral sciences. McGraw-Hill, ch. 9.3, ch. 6
Zurück zum Zitat Sillitti A, Janes A, Succi G, Vernazza T (2003) Collecting, integrating and analyzing software metrics and personal software process data. Proceedings of the EUROMICRO 2003 Sillitti A, Janes A, Succi G, Vernazza T (2003) Collecting, integrating and analyzing software metrics and personal software process data. Proceedings of the EUROMICRO 2003
Zurück zum Zitat Southard CR, Haggard J, Crider ME, Whiteheart SW, Cooper RL (2000) Influence of serotonin on the kinetics of vesicular release. Brain Res 871:16–28CrossRef Southard CR, Haggard J, Crider ME, Whiteheart SW, Cooper RL (2000) Influence of serotonin on the kinetics of vesicular release. Brain Res 871:16–28CrossRef
Zurück zum Zitat Stringfellow C, Andrews AA (2002) An empirical method for selecting software reliability growth models. Empir Softw Eng 7(4):297–318CrossRef Stringfellow C, Andrews AA (2002) An empirical method for selecting software reliability growth models. Empir Softw Eng 7(4):297–318CrossRef
Zurück zum Zitat Succi G, Pedrycz W, Djokic S, Zuliani P, Russo B (2005) An empirical exploration of the distributions of the Chidamber and Kemerer object-oriented metrics suite. Empir Softw Eng. Kluwer 10(1):81–104CrossRef Succi G, Pedrycz W, Djokic S, Zuliani P, Russo B (2005) An empirical exploration of the distributions of the Chidamber and Kemerer object-oriented metrics suite. Empir Softw Eng. Kluwer 10(1):81–104CrossRef
Zurück zum Zitat Tian J (2000) Risk Identification Techniques for Defect Reduction and Quality Improvement. Software Quality Professional, 2(2) Tian J (2000) Risk Identification Techniques for Defect Reduction and Quality Improvement. Software Quality Professional, 2(2)
Zurück zum Zitat Williams L, Maximilien EL, Vouk M (2003) Test-driven development as a defect-reduction practice. Proceedings of the 14th International Symposium on Software Reliability Engineering, Denver, Colorado Williams L, Maximilien EL, Vouk M (2003) Test-driven development as a defect-reduction practice. Proceedings of the 14th International Symposium on Software Reliability Engineering, Denver, Colorado
Metadaten
Titel
Empirical analysis on the correlation between GCC compiler warnings and revision numbers of source files in five industrial software projects
verfasst von
Raimund Moser
Barbara Russo
Giancarlo Succi
Publikationsdatum
01.06.2007
Erschienen in
Empirical Software Engineering / Ausgabe 3/2007
Print ISSN: 1382-3256
Elektronische ISSN: 1573-7616
DOI
https://doi.org/10.1007/s10664-006-9029-x

Weitere Artikel der Ausgabe 3/2007

Empirical Software Engineering 3/2007 Zur Ausgabe

EDITORIAL

In this issue

Premium Partner