Table of Contents
Fetching ...

Integrating Static Code Analysis Toolchains

Matthias Kern, Ferhat Erata, Markus Iser, Carsten Sinz, Frederic Loiret, Stefan Otten, Eric Sax

TL;DR

This paper proposes an approach for a tool-agnostic and heterogeneous static code analysis toolchain in combination with an exchange format that enhances both traceability and comparability of analysis results and introduces the "ASSUME Static Code Analysis tool exchange format".

Abstract

This paper proposes an approach for a tool-agnostic and heterogeneous static code analysis toolchain in combination with an exchange format. This approach enhances both traceability and comparability of analysis results. State of the art toolchains support features for either test execution and build automation or traceability between tests, requirements and design information. Our approach combines all those features and extends traceability to the source code level, incorporating static code analysis. As part of our approach we introduce the "ASSUME Static Code Analysis tool exchange format" that facilitates the comparability of different static code analysis results. We demonstrate how this approach enhances the usability and efficiency of static code analysis in a development process. On the one hand, our approach enables the exchange of results and evaluations between static code analysis tools. On the other hand, it enables a complete traceability between requirements, designs, implementation, and the results of static code analysis. Within our approach we also propose an OSLC specification for static code analysis tools and an OSLC communication framework.

Integrating Static Code Analysis Toolchains

TL;DR

This paper proposes an approach for a tool-agnostic and heterogeneous static code analysis toolchain in combination with an exchange format that enhances both traceability and comparability of analysis results and introduces the "ASSUME Static Code Analysis tool exchange format".

Abstract

This paper proposes an approach for a tool-agnostic and heterogeneous static code analysis toolchain in combination with an exchange format. This approach enhances both traceability and comparability of analysis results. State of the art toolchains support features for either test execution and build automation or traceability between tests, requirements and design information. Our approach combines all those features and extends traceability to the source code level, incorporating static code analysis. As part of our approach we introduce the "ASSUME Static Code Analysis tool exchange format" that facilitates the comparability of different static code analysis results. We demonstrate how this approach enhances the usability and efficiency of static code analysis in a development process. On the one hand, our approach enables the exchange of results and evaluations between static code analysis tools. On the other hand, it enables a complete traceability between requirements, designs, implementation, and the results of static code analysis. Within our approach we also propose an OSLC specification for static code analysis tools and an OSLC communication framework.
Paper Structure (19 sections, 4 figures, 1 table, 4 algorithms)

This paper contains 19 sections, 4 figures, 1 table, 4 algorithms.

Figures (4)

  • Figure 1: Direction indicator lamp for a car.
  • Figure 2: Toolchain
  • Figure 3: Communication framework
  • Figure 4: Proposal static code analysis OSLC-Specification