Skip to content

[patch] Fix sRGB/linear color-space slips in ThemeProvider#43

Merged
matt-edmondson merged 1 commit into
mainfrom
fix/color-space-lows
Jul 15, 2026
Merged

[patch] Fix sRGB/linear color-space slips in ThemeProvider#43
matt-edmondson merged 1 commit into
mainfrom
fix/color-space-lows

[patch] Fix sRGB/linear color-space slips in ThemeProvider

883ca19
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 15, 2026 in 45s

Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 151 in ThemeProvider/ThemeProvider/ThemeProvider/SemanticColorMapper.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not check floating point equality with exact values, use a range instead.

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9kvyjEQYfGryo76K-V&open=AZ9kvyjEQYfGryo76K-V&pullRequest=43

Check warning on line 477 in ThemeProvider/ThemeProvider/ThemeProviderDemo/Program.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last"

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9kvykiQYfGryo76K-f&open=AZ9kvykiQYfGryo76K-f&pullRequest=43

Check warning on line 48 in ThemeProvider/ThemeProvider/ThemeProvider/SemanticColorMapper.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused local variable 'priorityLevels'.

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9kvyjEQYfGryo76K-Y&open=AZ9kvyjEQYfGryo76K-Y&pullRequest=43

Check failure on line 618 in ThemeProvider/ThemeProvider/ThemeProviderDemo/Program.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9kvykiQYfGryo76K-g&open=AZ9kvykiQYfGryo76K-g&pullRequest=43

Check warning on line 472 in ThemeProvider/ThemeProvider/ThemeProviderDemo/Program.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not check floating point equality with exact values, use a range instead.

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9kvykiQYfGryo76K-c&open=AZ9kvykiQYfGryo76K-c&pullRequest=43

Check warning on line 16 in ThemeProvider/ThemeProvider/ThemeProvider/SemanticColorMapper.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a 'private' constructor or the 'static' keyword to the class declaration.

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9kvyjEQYfGryo76K-U&open=AZ9kvyjEQYfGryo76K-U&pullRequest=43

Check warning on line 476 in ThemeProvider/ThemeProvider/ThemeProviderDemo/Program.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Indexing at 0 should be used instead of the "Enumerable" extension method "First"

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9kvykiQYfGryo76K-e&open=AZ9kvykiQYfGryo76K-e&pullRequest=43

Check warning on line 133 in ThemeProvider/ThemeProvider/ThemeProvider/SemanticColorMapper.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Loop should be simplified by calling Select(kvp => kvp.Value))

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9kvyjEQYfGryo76K-X&open=AZ9kvyjEQYfGryo76K-X&pullRequest=43

Check failure on line 288 in ThemeProvider/ThemeProvider/ThemeProviderDemo/Program.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9kvykiQYfGryo76K-b&open=AZ9kvykiQYfGryo76K-b&pullRequest=43

Check warning on line 151 in ThemeProvider/ThemeProvider/ThemeProvider/SemanticColorMapper.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not check floating point equality with exact values, use a range instead.

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9kvyjEQYfGryo76K-W&open=AZ9kvyjEQYfGryo76K-W&pullRequest=43

Check failure on line 208 in ThemeProvider/ThemeProvider/ThemeProviderDemo/Program.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9kvykiQYfGryo76K-a&open=AZ9kvykiQYfGryo76K-a&pullRequest=43

Check failure on line 132 in ThemeProvider/ThemeProvider/ThemeProviderDemo/Program.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9kvykhQYfGryo76K-Z&open=AZ9kvykhQYfGryo76K-Z&pullRequest=43

Check warning on line 472 in ThemeProvider/ThemeProvider/ThemeProviderDemo/Program.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Indexing at 0 should be used instead of the "Enumerable" extension method "First"

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_ThemeProvider&issues=AZ9kvykiQYfGryo76K-d&open=AZ9kvykiQYfGryo76K-d&pullRequest=43