# The Java analyzer cannot skip unchanged files in this context

**URL:** <https://community.sonarsource.com/t/the-java-analyzer-cannot-skip-unchanged-files-in-this-context/84565>\
**Category:** SonarQube Server / Community Build\
**Tags:** speedofanalysis, sonarqube, java\
**Created:** [February 22, 2023, 2:43pm UTC](https://community.sonarsource.com/t/the-java-analyzer-cannot-skip-unchanged-files-in-this-context/84565 "2023-02-22T14:43:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eugene\_Kisly](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/eugene_kisly/32/42359_2.png) [@Eugene\_Kisly](https://community.sonarsource.com/u/Eugene_Kisly)\
**Post date:** [February 22, 2023, 2:43pm UTC](https://community.sonarsource.com/t/the-java-analyzer-cannot-skip-unchanged-files-in-this-context/84565/1 "2023-02-22T14:43:01Z")

</div>

Must-share information (formatted with [Markdown](https://commonmark.org/help/)):

- which versions are you using (SonarQube 9.9 Community, Scanner, “4.0.0.2929”)
- how is SonarQube deployed: docker
- what are you trying to achieve: speed up analysis

Hey guys, we have 1.1M lines of code Java project  
We want to speed up analysis (now it takes around 40 minutes per each merge request)  
I am trying to reproduce the situation locally with logs  
And I see we have a huuuge delay when I see the line

_`The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files.`_

The line I run the task is  
`./gradlew --info sonar -Dsonar.login=sqp_6feb88adfd1ebe4d3639ba864fee3eab6037b1f5 -Dsonar.projectKey=fs -Dsonar.projectVersion='2023.5.0-SNAPSHOT' -Dsonar.newCode.referenceBranch=develop -Dsonar.log.level=INFO -Dsonar.verbose=true`

Not sure what is the issue, why can’t it skip unchanged files? Could you please tell me where should I look at?

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [February 23, 2023, 3:24pm UTC](https://community.sonarsource.com/t/the-java-analyzer-cannot-skip-unchanged-files-in-this-context/84565/2 "2023-02-23T15:24:05Z")

</div>

Hey there.

Skipping unchanged files is only possible for Pull Request analysis, which is not included in Community Edition.

---

<div class="post-metadata">

**Author:** ![guillomep](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/guillomep/32/13483_2.png) [@guillomep](https://community.sonarsource.com/u/guillomep)\
**Post date:** [June 21, 2023, 2:07pm UTC](https://community.sonarsource.com/t/the-java-analyzer-cannot-skip-unchanged-files-in-this-context/84565/3 "2023-06-21T14:07:29Z")

</div>

Hello,

I have the same problem since I upgrade to 9.9 LTS.  
I have a project that is compiled in Java 8 but I run the sonar-scanner using JDK 11.  
The analysis is successful but very slow

I have the developer version
