Static Analysis Metrics

Static Analysis metrics are collected with tools that analyze the source code and check for: potential bugs, bad practices and conventions. In SA2 it as been decided to follow the approach of using, for each programming language, the standard checks performed by widely used, free, tools. These tools and checks are reported in the following sections.

These tools will be integrated into Etics and their configuration adapted in the course of the project.

The initial proposal is to collect one metric (raised warnings) per tool.

C/C++

CPPcheck (potential runtime bugs)

Java

Three complementary tools have been initially chosen, Findbugs, PMD and Checkstyle.

FindBugs (potential bugs)

PMD (bad practices/potential bugs)

Checkstyle (naming, comments and format conventions)

Python

Pylint

-- GianniPucciani - 10-Sep-2010

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2010-09-10 - GianniPucciani
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EMI All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback