Static Code Analysis Reporting

Call Us Now +91-8329448285

Metrics from PC-Lint extracts

The PC Lint - powerful static analysis tools that can check C/C++ source code and find bugs, glitches, inconsistencies, non-portable constructs, redundant code, potential memory leaks and also provides MISRA C/C++ compliance report.

Static analysis, also called static code analysis, is a method of computer program debugging that is done by examining the code without executing the program. The process provides an understanding of the code structure, and can help to ensure that the code adheres to industry standards. Automated tools can assist programmers and developers in carrying out static analysis.

Unlike the few other similar tools, PC Lint does not have smart reporting mechanism so that a consolidated statistical report can be generated. The output of PC-lint can be used by additional tools to generate reports and to present the warnings in a more accessible form

The Innovative Solution

We have developed a MS Excel based tool to generate various readable & presentable reports from the output of PC Lint.

Metrics Generator from Static Code Analysis extract is a MS Excel based tool to generate below reports from PC Lint extract ?

  • List of top ten rules need attention (In Graphical representation):- Bar graph representation of top ten rules that has highest number of occurrences across the file(s) along with number of occurrences.
  • List of top ten files need attention (In Graphical representation):- Bar graph representation of top ten files that has highest number of violation across the file(s) along with number of rule violations.
  • File wise Violated Rule List (In tabular representation):- File wise list of violated rules along with number of violations.
  • Violated Rule wise File List (In tabular representation):- Violated rule wise list of files along with number of occurrence of the rule in that file
  • File wise combination of violated Rules (In tabular representation):- file wise Combination of Rules violation took place in same occurrence

This tool automatically purge MISRA rule No. wise rule violation occurrence from descriptive PC Lint output reports and generates Graphical & Tabular reports without any manual intervention

Differentiating Factors

  • Robotic Intelligence :- Its involves very complex VBA algorithm to purse data, find pattern matching, count those pattern matching etc. and finally convert to tabular data so that any report can be generated (Graphical, Chart etc.).
  • Capabilities:- On the fly Analysis & Graphical report to identify rules that are violated most and C/C++ files that has highest number of rule violation occurred. So that Technical architect can take appropriate corrective & preventive steps.
  • Portability:- Light weighted MS excel based tool can be executed with minimal resource/ environment requirement.
  • Compatibility:- The tool is developed using only excel native controls (No form or form based control or OCX/ ActiveX control is used). So registering of any controls (.OCX / ActiveX) is not required and also compatible with 32 & 64 bit platform.
  • Usability:- Graphic User interface to locate folder/file location to import output of PC-lint. Also KPI Dashboard with Graphical reports enhanced PC-Lint tool straightforward and productive.