Skip to content

:adhesive_bandage: handle null GetEntryAssembly in BenchmarkProgram ctor

d89b6b1
Select commit
Loading
Failed to load commit list.
Merged

V1.0.0/benchmarkdotnet api #1

:adhesive_bandage: handle null GetEntryAssembly in BenchmarkProgram ctor
d89b6b1
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Dec 12, 2025 in 15s

Annotations

Check warning on line 119 in src/Codebelt.Extensions.BenchmarkDotNet/BenchmarkWorkspace.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this call to 'Assembly.LoadFrom' with 'Assembly.Load'.

See more on https://sonarcloud.io/project/issues?id=benchmarkdotnet&issues=AZsP5eunK9LaAzDMTFAc&open=AZsP5eunK9LaAzDMTFAc&pullRequest=1

Check warning on line 82 in src/Codebelt.Extensions.BenchmarkDotNet/BenchmarkWorkspace.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change return type of method 'LoadAssemblies' from 'System.Collections.Generic.IEnumerable<System.Reflection.Assembly>' to 'System.Collections.Generic.List<System.Reflection.Assembly>' for improved performance

See more on https://sonarcloud.io/project/issues?id=benchmarkdotnet&issues=AZsP5eunK9LaAzDMTFAf&open=AZsP5eunK9LaAzDMTFAf&pullRequest=1

Check warning on line 191 in src/Codebelt.Extensions.BenchmarkDotNet/BenchmarkWorkspace.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The behavior of 'string.EndsWith(string)' could vary based on the current user's locale settings. Replace this call in 'Codebelt.Extensions.BenchmarkDotNet.BenchmarkWorkspace.CleanupResults(string, string)' with a call to 'string.EndsWith(string, System.StringComparison)'.

See more on https://sonarcloud.io/project/issues?id=benchmarkdotnet&issues=AZsP5eunK9LaAzDMTFAd&open=AZsP5eunK9LaAzDMTFAd&pullRequest=1

Check failure on line 239 in src/Codebelt.Extensions.BenchmarkDotNet/BenchmarkWorkspaceOptions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=benchmarkdotnet&issues=AZsP5ewYK9LaAzDMTFAg&open=AZsP5ewYK9LaAzDMTFAg&pullRequest=1

Check warning on line 98 in src/Codebelt.Extensions.BenchmarkDotNet/BenchmarkWorkspace.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'string.Contains' instead of 'string.IndexOf' to improve readability

See more on https://sonarcloud.io/project/issues?id=benchmarkdotnet&issues=AZsP5eunK9LaAzDMTFAe&open=AZsP5eunK9LaAzDMTFAe&pullRequest=1