Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space CPPTDESKDEV and version 10.4.2

...

Table of Contents

Info
iconfalse
titleIncremental Static Analysis

Anchor
Incremental Static Analysis
Incremental Static Analysis
C/C++test is optimized to minimize the impact on your development process. By reusing information collected in previous analysis runs, it can reduce the analysis time in subsequent runs. The information is stored in the .cpptest folder in your workspace. To ensure optimal performance, avoid removing the .cpptest folder or deleting the contents of the folder.

Info
iconfalse
titleAnalyzing Headers

C++test does not directly analyze headers unless they are included by a source file under test. See How do I analyze header files/what files are analyzed? for details.

...

  1. Select or create a Test Configuration with your preferred static code analysis settings.
  2. Start the test using the preferred Test Configuration.
  3. Review and respond to the results.
  4. (Optional) Fine-tune static code analysis settings as needed.

Configuring Batch-Mode Analysis with cpptestcli

...

By identifying and removing duplicate code, you make your code more concise, more readable, and  and easier to maintain. It  It can detect similar code fragments that were introduced during the development process (for example by copy-paste mistakes).  It is especially useful for large projects, where manual duplication detection is tedious and ineffective.

...

For more details, see the rule descriptions for specific rules in the Code Duplication Detection category.