Start Free
Latest | Analyzing source code | Incremental analysis | Disabling or changing the mechanisms

Disabling or changing the incremental analysis mechanisms

On this page

In very particular cases, you may need to disable or change the incremental analysis mechanisms.

Disabling the Skip unchanged files mechanism

You can disable the Skip unchanged files mechanism used by the Kotlin and Java analyzers by setting the sonar.koltin.skipUnchanged or the sonar.java.skipUnchanged to false

Disabling the analysis cache mechanism

In particular cases, you may need to disable the analysis cache mechanism.

The analysis cache mechanism is enabled by default. If you disable it, the analyzer will analyze all files from scratch.

To disable the analysis cache mechanism, add the following parameter to your analysis (See Analysis parameters for information about the setup of analysis parameters for the scanner.):

sonar.analysisCache.enabled=false

Using the local filesystem for analysis caching

With the C/C++/Objective-C analyzer, you can configure the filesystem cache instead of using the analysis cache on the server.


Was this page helpful?

© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARLINT, SONARQUBE, SONARCLOUD, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License