Skip to content

code rabbit comments handler part 4

Codacy Production / Codacy Static Code Analysis required action Feb 13, 2025 in 0s

11 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 11
           

Complexity increasing per file
==============================
- Ginger/GingerCoreNET/External/WireMock/WireMockMappingGenerator.cs  5
- Ginger/Ginger/GeneralWindows/WireMockMappingPage.xaml.cs  5
- Ginger/GingerCoreNET/External/WireMock/WireMockAPI.cs  2
- Ginger/GingerCoreNET/External/WireMock/WireMockMapping.cs  1
- Ginger/GingerCoreCommon/External/Configurations/WireMockConfiguration.cs  4
- Ginger/Ginger/ApplicationModelsLib/WireMockAPIModels/WireMockTemplatePage.xaml.cs  5
- Ginger/Ginger/ExternalConfigurations/WireMockConfigurationPage.xaml.cs  3
- Ginger/GingerCoreNET/External/WireMock/WireMockMappingController.cs  3
- Ginger/Ginger/UserControlsLib/UCTreeView/TreeViewItemGenericBase.cs  1
- Ginger/Ginger/UserControlsLib/ImageMakerLib/ImageMakerControl.xaml.cs  3
         

See the complete overview on Codacy

Annotations

Check warning on line 40 in Ginger/Ginger/ApplicationModelsLib/WireMockAPIModels/WireMockTemplatePage.xaml.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Ginger/Ginger/ApplicationModelsLib/WireMockAPIModels/WireMockTemplatePage.xaml.cs#L40

Return 'Task' instead.

Check notice on line 160 in Ginger/Ginger/ApplicationModelsLib/WireMockAPIModels/WireMockTemplatePage.xaml.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Ginger/Ginger/ApplicationModelsLib/WireMockAPIModels/WireMockTemplatePage.xaml.cs#L160

'args' is not used. Use discard parameter instead.

Check notice on line 325 in Ginger/Ginger/ApplicationModelsLib/WireMockAPIModels/WireMockTemplatePage.xaml.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Ginger/Ginger/ApplicationModelsLib/WireMockAPIModels/WireMockTemplatePage.xaml.cs#L325

's' is not used. Use discard parameter instead.

Check notice on line 256 in Ginger/Ginger/GeneralWindows/WireMockMappingPage.xaml.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Ginger/Ginger/GeneralWindows/WireMockMappingPage.xaml.cs#L256

's' is not used. Use discard parameter instead.

Check notice on line 173 in Ginger/Ginger/SolutionWindows/TreeViewItems/ApplicationModelsTreeItems/AppApiModelsFolderTreeItem.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Ginger/Ginger/SolutionWindows/TreeViewItems/ApplicationModelsTreeItems/AppApiModelsFolderTreeItem.cs#L173

Remove the unnecessary Boolean literal(s).

Check notice on line 186 in Ginger/Ginger/SolutionWindows/TreeViewItems/ApplicationModelsTreeItems/AppApiModelsFolderTreeItem.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Ginger/Ginger/SolutionWindows/TreeViewItems/ApplicationModelsTreeItems/AppApiModelsFolderTreeItem.cs#L186

Remove the unnecessary Boolean literal(s).

Check warning on line 11 in Ginger/GingerCoreNET/External/WireMock/WireMockMappingGenerator.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Ginger/GingerCoreNET/External/WireMock/WireMockMappingGenerator.cs#L11

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

Check failure on line 14 in Ginger/GingerCoreNET/External/WireMock/WireMockMappingGenerator.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Ginger/GingerCoreNET/External/WireMock/WireMockMappingGenerator.cs#L14

Change the visibility of 'mockConfiguration' or make it 'const' or 'readonly'.

Check failure on line 15 in Ginger/GingerCoreNET/External/WireMock/WireMockMappingGenerator.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Ginger/GingerCoreNET/External/WireMock/WireMockMappingGenerator.cs#L15

Change the visibility of 'baseurl' or make it 'const' or 'readonly'.

Check warning on line 16 in Ginger/GingerCoreNET/External/WireMock/WireMockMappingGenerator.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Ginger/GingerCoreNET/External/WireMock/WireMockMappingGenerator.cs#L16

Return 'Task' instead.

Check warning on line 65 in Ginger/GingerCoreNET/External/WireMock/WireMockMappingGenerator.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Ginger/GingerCoreNET/External/WireMock/WireMockMappingGenerator.cs#L65

Remove this commented out code.