# How to solve differen analyse results in sonarqube and sonarlint under connect mode？

**URL:** <https://community.sonarsource.com/t/how-to-solve-differen-analyse-results-in-sonarqube-and-sonarlint-under-connect-mode/99191>\
**Category:** IntelliJ Platform\
**Tags:** sonarqube, java\
**Created:** [September 13, 2023, 9:00am UTC](https://community.sonarsource.com/t/how-to-solve-differen-analyse-results-in-sonarqube-and-sonarlint-under-connect-mode/99191 "2023-09-13T09:00:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KO\_MOJI](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ko_moji/32/49152_2.png) [@KO\_MOJI](https://community.sonarsource.com/u/KO_MOJI)\
**Post date:** [September 13, 2023, 9:00am UTC](https://community.sonarsource.com/t/how-to-solve-differen-analyse-results-in-sonarqube-and-sonarlint-under-connect-mode/99191/1 "2023-09-13T09:00:13Z")

</div>

- SonarLint version:Intelli J 9.0.0.75308
- Programming language you’re coding in: Java
- Is connected mode used: Yes
  - Connected to SonarQube 9.9.1 \* (build 69595)

Hi,  
I’m using the SonarLint Extension in Intelli J connected to our SonarQube server, we are using a custom Quality Profile.

My problem is that some issues raised in the SonarQube server aren’t raised in the SonarLint.Even the rule sonarlint can detect problems, the number of detections is smaller than that of sonarqube，like the picture shown below.  
I have noticed similar issues in the community, but I am still confused.The ultimate goal I want to achieve is for both parties to agree on the issue and rule out the rule that Sonarlint officials say will not be displayed  
Looking forward to your reply.

 ![sonarlint](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/d/3/d3522613769b6d59dd08770dac05fba1fee8a4d7.jpeg)

 ![sonarqube](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/8/8/884f2d24d4823e509a59c42ed0e54b138667c936.jpeg)

---

<div class="post-metadata">

**Author:** ![KO\_MOJI](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ko_moji/32/49152_2.png) [@KO\_MOJI](https://community.sonarsource.com/u/KO_MOJI)\
**Post date:** [September 14, 2023, 11:59pm UTC](https://community.sonarsource.com/t/how-to-solve-differen-analyse-results-in-sonarqube-and-sonarlint-under-connect-mode/99191/3 "2023-09-14T23:59:35Z")

</div>

looking forward to someone’s reply

---

<div class="post-metadata">

**Author:** ![Damien\_Urruty](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/damien_urruty/32/43383_2.png) [@Damien\_Urruty](https://community.sonarsource.com/u/Damien_Urruty)\
**Post date:** [September 15, 2023, 1:08pm UTC](https://community.sonarsource.com/t/how-to-solve-differen-analyse-results-in-sonarqube-and-sonarlint-under-connect-mode/99191/6 "2023-09-15T13:08:36Z")

</div>

Hello @KO_MOJI,

Thanks for reporting this, I think you encountered a [known limitation](https://sonarsource.atlassian.net/browse/SLI-488). We are thinking about how to overcome this limitation, and in the meantime, we will document it better on our [docs website](https://docs.sonarsource.com/sonarlint/intellij/).

So the workaround is normally to simply build your project with the green hammer in the top-right toolbar, and do it regularly to keep your compiled files up-to-date.

Let me know if this helped

---

<div class="post-metadata">

**Author:** ![KO\_MOJI](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ko_moji/32/49152_2.png) [@KO\_MOJI](https://community.sonarsource.com/u/KO_MOJI)\
**Post date:** [September 18, 2023, 12:11am UTC](https://community.sonarsource.com/t/how-to-solve-differen-analyse-results-in-sonarqube-and-sonarlint-under-connect-mode/99191/8 "2023-09-18T00:11:16Z")

</div>

Hi!  
Thank you for your response and for addressing the issue. I appreciate your help in clarifying that this is a known limitation and that it will be documented better on your documentation website. And you’re right，after rebuilding the project，they are consistent.  
If I encounter any further issues or have additional questions, I’ll be sure to reach out. Thanks again for your assistance!
