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.
Moser R, Russo B, Succi G (2007). Empirical analysis on the correlation between GCC compiler warnings and revision numbers of source files in five industrial software projects. EMPIRICAL SOFTWARE ENGINEERING, 12 (3), 295-310.
Empirical analysis on the correlation between GCC compiler warnings and revision numbers of source files in five industrial software projects
Succi G
2007
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.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.