# Total number of JAVA rules

**URL:** <https://community.sonarsource.com/t/total-number-of-java-rules/46026>\
**Category:** SonarQube Server / Community Build\
**Tags:** quality-profiles, rules, sonarqube\
**Created:** [July 6, 2021, 8:09pm UTC](https://community.sonarsource.com/t/total-number-of-java-rules/46026 "2021-07-06T20:09:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mtyagadurgam](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@mtyagadurgam](https://community.sonarsource.com/u/mtyagadurgam)\
**Post date:** [July 6, 2021, 8:09pm UTC](https://community.sonarsource.com/t/total-number-of-java-rules/46026/1 "2021-07-06T20:09:32Z")

</div>

Hello,

We are currently using Sonarqube 8.9.1 for our POC. There is a discrepancy in rule count.

The total number of rules under JAVA is 1.9k, I am unable to load the rules after 945. Please find the attached screenshot.

 ![06.07.2021_16.07.30_REC](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/b/b/bb957c14b4654df5e7194f0b884b644ad2e67735.png)

Can I get a list of all 1.9k rules?

Thanks  
Vikram

---

<div class="post-metadata">

**Author:** ![Jeff\_Zapotoczny](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/jeff_zapotoczny/32/2816_2.png) [@Jeff\_Zapotoczny](https://community.sonarsource.com/u/Jeff_Zapotoczny)\
**Post date:** [July 6, 2021, 8:42pm UTC](https://community.sonarsource.com/t/total-number-of-java-rules/46026/2 "2021-07-06T20:42:33Z")

</div>

Hi Vikram,

There are nowhere near 1945 Java rules in a default installation of SonarQube. You must have installed additional plugins that added extra rules for Java.

If you’re just starting an evaluation or POC, I’d encourage you to begin with only the built-in SonarJava rules in place and avoid adding plugins until you’re sure there’s something extra you need. Many of our customers express frustration with the effort involved in de-conflicting the rules that come from extra plugins from the ones already included. “Less is more” versus “More is better.”

---

<div class="post-metadata">

**Author:** ![mtyagadurgam](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@mtyagadurgam](https://community.sonarsource.com/u/mtyagadurgam)\
**Post date:** [July 6, 2021, 9:35pm UTC](https://community.sonarsource.com/t/total-number-of-java-rules/46026/3 "2021-07-06T21:35:24Z")

</div>

Thanks, Jeff.

I just want to know what is the total number of built-in SonarJava rules in 8.9.1.

Is the count 452 correct? please find the attached.

Thanks  
Vikram

 ![06.07.2021_17.32.20_REC](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/5/4/548f8502339e162bdaf669fe4257f5058c93e835.png)

---

<div class="post-metadata">

**Author:** ![Jeff\_Zapotoczny](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/jeff_zapotoczny/32/2816_2.png) [@Jeff\_Zapotoczny](https://community.sonarsource.com/u/Jeff_Zapotoczny)\
**Post date:** [July 7, 2021, 12:40pm UTC](https://community.sonarsource.com/t/total-number-of-java-rules/46026/4 "2021-07-07T12:40:12Z")

</div>

The total number of Java rules is 8.9.1 Community Edition is 639. You need to look in the Rules tab to see all the rules available. What you’re looking at is the Quality Profile which only has a subset of the total rules enabled by default.

The “Sonar way” profile includes the most useful and powerful rules while avoiding activating optional rules that may be considered noisy/strict for some teams. It’s up to your analysis to decide which additional rules, if any, you’d like to activate. Again here, I encourage you to resist the temptation to just activate them all.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/system/32/31083_2.png) [@system](https://community.sonarsource.com/u/system)\
**Post date:** [July 14, 2021, 12:40pm UTC](https://community.sonarsource.com/t/total-number-of-java-rules/46026/5 "2021-07-14T12:40:59Z")

</div>

Closed on July 14, 2021, 12:40pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
