Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
Discussion List
Static analysis - custom rule for ascii characters >127
Hi, I have to create a custom rule that checks that ascii characters > 127 are not present. I have some issues doing it. Can someone help me? The rule is: "Define identifiers shall be as following: < DEFINE_NAME > = D _ < USER_NAME > Where: < USER_NAME > length is at most 12 characters and not composed by ascii characters…
Add .cpp file to static code analysis
Hello, We are using the Automation C/C++ test tool to run static code analysis on our make based project. Is there any way to add .cpp files to the static analysis run. We don't want to include these files in our makefile but just want to run it through static analysis.
Static Analysis Findings by Run Report
Is there a widget or an easy way in DTP that lets you view the static analysis findings for a particular run? The documentation (Link: https://docs.parasoft.com/display/DTP533/Static+Analysis+Findings+by+Run+Report) shows a tedious way to get a run id. Just wondering if there was an easier way to display it in the…
Static code analysis for microchip mplabX project
I'm using parasoft 10.3, What are the steps for running static code analysis for unsupported compiler, i'm using XC8 compiler for 8bit micro controllers. I would like to perform only "MISRA C 2004" Static analysis but Parasoft tries to perform compilation. Users guide on page 48 says: Microchip Windows-hosted: MPLAB C…
Test stops with message Setup Problem
Hi I am getting below errors while running a static analysis using cpptest. C/C++ code checker: error during parsing file (ignored - "Analyze files with parse errors" option is enabled). "/usr/include/c++/4.4.7/bits/cpp_type_traits.h", line 71: error: expected a ";" template This interface file is from tool and I don't…