Skip to main content

2018 | OriginalPaper | Buchkapitel

Ranking Source Code Static Analysis Warnings for Continuous Monitoring of FLOSS Repositories

verfasst von : Athos Ribeiro, Paulo Meirelles, Nelson Lago, Fabio Kon

Erschienen in: Open Source Systems: Enterprise Software and Solutions

Verlag: Springer International Publishing

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

search-config
loading …

Abstract

Performing source code static analysis during the software development cycle is a difficult task. There are different static analyzers available, and each of them usually works better in a small subset of problems, making it hard to choose a single tool. Combining the analysis of different tools solves this problem, but brings about other problems, namely the generated false positives and a large amount of unsorted alarms. This paper presents kiskadee, a system to support the usage of static analysis during software development by providing carefully ranked static analysis reports. First, it runs multiple static analyzers on the source code. Then, using a classification model, the potential bugs detected by the static analyzers are ranked based on their importance, with critical flaws ranked first, and potential false positives ranked last. Our experimental results show that, on average, when inspecting warnings ranked by kiskadee, one hits 5.2 times less false positives before each bug than when using a randomly sorted warning list.

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

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!

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"

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!

Literatur
5.
Zurück zum Zitat Black, P.E.: Static analyzers in software engineering. J. Defense Softw. Eng. 22(3), 16–17 (2009)MathSciNet Black, P.E.: Static analyzers in software engineering. J. Defense Softw. Eng. 22(3), 16–17 (2009)MathSciNet
6.
Zurück zum Zitat Boland, T., Black, P.E.: Juliet 1.1 C/C++ and Java test suite. Computer 45(10), 88–90 (2012)CrossRef Boland, T., Black, P.E.: Juliet 1.1 C/C++ and Java test suite. Computer 45(10), 88–90 (2012)CrossRef
7.
Zurück zum Zitat Drucker, H., Cortes, C.: Boosting decision trees. In: Advances in Neural Information Processing Systems, pp. 479–485 (1996) Drucker, H., Cortes, C.: Boosting decision trees. In: Advances in Neural Information Processing Systems, pp. 479–485 (1996)
8.
Zurück zum Zitat Freund, Y., Schapire, R., Abe, N.: A short introduction to boosting. J. Jpn. Soc. Artif. Intell. 14(771–780), 1612 (1999) Freund, Y., Schapire, R., Abe, N.: A short introduction to boosting. J. Jpn. Soc. Artif. Intell. 14(771–780), 1612 (1999)
9.
Zurück zum Zitat Heckman, S., Williams, L.: A model building process for identifying actionable static analysis alerts. In: International Conference on Software Testing Verification and Validation, ICST 2009, pp. 161–170. IEEE (2009) Heckman, S., Williams, L.: A model building process for identifying actionable static analysis alerts. In: International Conference on Software Testing Verification and Validation, ICST 2009, pp. 161–170. IEEE (2009)
10.
Zurück zum Zitat Heckman, S.S.: Adaptively ranking alerts generated from automated static analysis. Crossroads 14(1), 7 (2007) Heckman, S.S.: Adaptively ranking alerts generated from automated static analysis. Crossroads 14(1), 7 (2007)
12.
13.
Zurück zum Zitat Kremenek, T., Ashcraft, K., Yang, J., Engler, D.: Correlation exploitation in error ranking. ACM SIGSOFT Softw. Eng. Notes 29, 83–93 (2004)CrossRef Kremenek, T., Ashcraft, K., Yang, J., Engler, D.: Correlation exploitation in error ranking. ACM SIGSOFT Softw. Eng. Notes 29, 83–93 (2004)CrossRef
16.
Zurück zum Zitat Muske, T., Serebrenik, A.: Survey of approaches for handling static analysis alarms. In: 2016 IEEE 16th International Working Conference on Source Code Analysis and Manipulation (SCAM), pp. 157–166. IEEE (2016) Muske, T., Serebrenik, A.: Survey of approaches for handling static analysis alarms. In: 2016 IEEE 16th International Working Conference on Source Code Analysis and Manipulation (SCAM), pp. 157–166. IEEE (2016)
17.
Zurück zum Zitat Muske, T.B., Baid, A., Sanas, T.: Review efforts reduction by partitioning of static analysis warnings. In: 2013 IEEE 13th International Working Conference on Source Code Analysis and Manipulation (SCAM), pp. 106–115. IEEE (2013) Muske, T.B., Baid, A., Sanas, T.: Review efforts reduction by partitioning of static analysis warnings. In: 2013 IEEE 13th International Working Conference on Source Code Analysis and Manipulation (SCAM), pp. 106–115. IEEE (2013)
18.
Zurück zum Zitat Polikar, R.: Ensemble based systems in decision making. IEEE Circ. Syst. Mag. 6(3), 21–45 (2006)CrossRef Polikar, R.: Ensemble based systems in decision making. IEEE Circ. Syst. Mag. 6(3), 21–45 (2006)CrossRef
19.
Zurück zum Zitat Russell, S.J., Norvig, P.: Artificial Intelligence: A Modern Approach, 2 edn. Pearson Education, Upper Saddle River (2003) Russell, S.J., Norvig, P.: Artificial Intelligence: A Modern Approach, 2 edn. Pearson Education, Upper Saddle River (2003)
20.
Zurück zum Zitat Ruthruff, J.R., Penix, J., Morgenthaler, J.D., Elbaum, S., Rothermel, G.: Predicting accurate and actionable static analysis warnings: an experimental approach. In: Proceedings of the 30th International Conference on Software Engineering, ICSE 2008, pp. 341–350. ACM, New York (2008). https://doi.acm.org/10.1145/1368088.1368135 Ruthruff, J.R., Penix, J., Morgenthaler, J.D., Elbaum, S., Rothermel, G.: Predicting accurate and actionable static analysis warnings: an experimental approach. In: Proceedings of the 30th International Conference on Software Engineering, ICSE 2008, pp. 341–350. ACM, New York (2008). https://​doi.​acm.​org/​10.​1145/​1368088.​1368135
21.
Zurück zum Zitat Yoon, J., Jin, M., Jung, Y.: Reducing false alarms from an industrial-strength static analyzer by SVM. In: 2014 21st Asia-Pacific Software Engineering Conference (APSEC), vol. 2, pp. 3–6. IEEE (2014) Yoon, J., Jin, M., Jung, Y.: Reducing false alarms from an industrial-strength static analyzer by SVM. In: 2014 21st Asia-Pacific Software Engineering Conference (APSEC), vol. 2, pp. 3–6. IEEE (2014)
Metadaten
Titel
Ranking Source Code Static Analysis Warnings for Continuous Monitoring of FLOSS Repositories
verfasst von
Athos Ribeiro
Paulo Meirelles
Nelson Lago
Fabio Kon
Copyright-Jahr
2018
DOI
https://doi.org/10.1007/978-3-319-92375-8_8