Skip to content

Fix issues from Sonar #100

Fix issues from Sonar

Fix issues from Sonar #100

Triggered via push June 24, 2025 19:23
Status Success
Total duration 10m 23s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
buildAndTest: src/WebExtensions.Net/Generated/Manifest/Colors.cs#L13
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
buildAndTest: src/WebExtensions.Net/Generated/Extension/LastError.cs#L10
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
buildAndTest: src/WebExtensions.Net/Generated/Extension/IExtensionApi.cs#L19
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
buildAndTest: src/WebExtensions.Net/Generated/Extension/ExtensionApi.cs#L23
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
buildAndTest: src/WebExtensions.Net/Generated/Scripting/CSSInjection.cs#L10
Rename class 'CSSInjection' to match pascal case naming rules, consider using 'CssInjection'. (https://rules.sonarsource.com/csharp/RSPEC-101)
buildAndTest: src/WebExtensions.Net/Generated/ExtensionTypes/CSSOrigin.cs#L7
Rename the enumeration 'CSSOrigin' to match the regular expression: '^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$'. (https://rules.sonarsource.com/csharp/RSPEC-2342)
buildAndTest: src/WebExtensions.Net/Generated/DeclarativeNetRequest/Condition.cs#L90
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
buildAndTest: src/WebExtensions.Net.Generator/EntitiesRegistration/ClassEntityRegistrar.cs#L73
Make 'RegisterNestedNamespaceApi' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
buildAndTest: src/WebExtensions.Net.Generator/EntitiesRegistration/RegisteredClassEntityProcessor.cs#L7
Make 'Process' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
buildAndTest: src/WebExtensions.Net.Generator/FilesManager.cs#L46
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)