Skip to content

[minor] Add ThemeProvider.Analysis palette audit tool#44

Open
matt-edmondson wants to merge 1 commit into
mainfrom
feat/theme-analysis-tool
Open

[minor] Add ThemeProvider.Analysis palette audit tool#44
matt-edmondson wants to merge 1 commit into
mainfrom
feat/theme-analysis-tool

[minor] Add ThemeProvider.Analysis palette audit tool

186f74d
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 15, 2026 in 1m 0s

Quality Gate failed

Annotations

Check failure on line 182 in ThemeProvider/ThemeProvider/ThemeProvider.Analysis/PaletteAnalyzer.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9k4JPZ-QW8SEuolRpM&open=AZ9k4JPZ-QW8SEuolRpM&pullRequest=44

Check warning on line 254 in ThemeProvider/ThemeProvider/ThemeProvider.Analysis/PaletteAnalyzer.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Loops should be simplified using the "Where" LINQ method

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9k4JPZ-QW8SEuolRpN&open=AZ9k4JPZ-QW8SEuolRpN&pullRequest=44

Check warning on line 68 in ThemeProvider/ThemeProvider/ThemeProvider.Analysis/AnalysisModel.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9k4JPi-QW8SEuolRpO&open=AZ9k4JPi-QW8SEuolRpO&pullRequest=44

Check warning on line 33 in ThemeProvider/ThemeProvider/ThemeProvider.Analysis/Program.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not update the stop condition variable 'i' in the body of the for loop.

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9k4JO3-QW8SEuolRpL&open=AZ9k4JO3-QW8SEuolRpL&pullRequest=44

Check warning on line 30 in ThemeProvider/ThemeProvider/ThemeProvider.Analysis/Program.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not update the stop condition variable 'i' in the body of the for loop.

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9k4JO3-QW8SEuolRpK&open=AZ9k4JO3-QW8SEuolRpK&pullRequest=44