Skip to content

Commit

Permalink
Update embedded CFamily analyzer to 6.51.0.65468 (#5110)
Browse files Browse the repository at this point in the history
Fixes #5073
  • Loading branch information
georgii-borovinskikh-sonarsource authored Dec 14, 2023
1 parent d1023aa commit fdc4836
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/EmbeddedSonarAnalyzer.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<PropertyGroup>
<!-- Note: Guide on how to update the analyzers is on the xtranet! -->
<EmbeddedSonarAnalyzerVersion>9.15.0.81779</EmbeddedSonarAnalyzerVersion>
<EmbeddedSonarCFamilyAnalyzerVersion>6.50.0.64514</EmbeddedSonarCFamilyAnalyzerVersion>
<EmbeddedSonarCFamilyAnalyzerVersion>6.51.0.65468</EmbeddedSonarCFamilyAnalyzerVersion>
<EmbeddedSonarJSAnalyzerVersion>10.8.0.24207</EmbeddedSonarJSAnalyzerVersion>
<!-- Secrets
Secrets are special case: we get the analyzer binaries from a NuGet package, and the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public class CFamilyEmbeddedSonarWayRulesTests
// or:
// SonarCloud: C: https://sonarcloud.io/organizations/sonarsource/quality_profiles/show?name=Sonar+way&language=c
// SonarCloud: C++: https://sonarcloud.io/organizations/sonarsource/quality_profiles/show?name=Sonar+way&language=cpp
// note: if you just look at the qp page, then it always shows 6 more inactive rules for c&cpp than available in the ide
// 3. Filter by Repository = SonarAnalyzer C
// 4. Filter by Quality Profile = Sonar way C
// The QP filter has "active/inactive" tabs. The number of rules is shown in the top-right of the screen.
Expand All @@ -51,10 +52,10 @@ public class CFamilyEmbeddedSonarWayRulesTests
// Rule data for C-Family plugin v6.49.0.62722

private const int Active_C_Rules = 210;
private const int Inactive_C_Rules = 123;
private const int Inactive_C_Rules = 124;

private const int Active_CPP_Rules = 436;
private const int Inactive_CPP_Rules = 206;
private const int Inactive_CPP_Rules = 209;

private readonly CFamilySonarWayRulesConfigProvider rulesMetadataCache = new CFamilySonarWayRulesConfigProvider(CFamilyShared.CFamilyFilesDirectory);

Expand Down

0 comments on commit fdc4836

Please sign in to comment.