New Feature in Admin/Searchindex past hour parameter #402
Annotations
20 warnings
build:
PxWeb/Code/Api2/DataSource/PxFile/PxFileDataSource.cs#L187
Merge this if statement with the enclosing one. (https://rules.sonarsource.com/csharp/RSPEC-1066)
|
build:
PxWeb/Code/Api2/DataSource/PxFile/PxFileDataSource.cs#L169
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
build:
PxWeb/Code/Api2/DataSource/PxFile/PxFileDataSource.cs#L157
Make 'GetIdentifierWithoutPath' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
build:
PxWeb/Code/Api2/DataSource/PxFile/PxFileDataSource.cs#L106
Replace this type-check-and-cast sequence to use pattern matching. (https://rules.sonarsource.com/csharp/RSPEC-3247)
|
build:
PxWeb/Controllers/Api2/Admin/SearchindexController.cs#L21
Change the paths of the actions of this controller to be relative and add a controller route with the common prefix. (https://rules.sonarsource.com/csharp/RSPEC-6931)
|
build:
PxWeb/Controllers/Api2/Admin/SearchindexController.cs#L63
Use 'Count' property here instead. (https://rules.sonarsource.com/csharp/RSPEC-2971)
|
build:
PxWeb/Code/Api2/DataSource/PxFile/PxFileDataSource.cs#L18
Remove this unread private field '_pxFileConfigurationService' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
|
build:
PxWeb/Controllers/Api2/Admin/SearchindexController.cs#L75
Define a constant instead of using this literal 'Error' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
build:
PxWeb/Controllers/Api2/Admin/SearchindexController.cs#L83
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
build:
PxWeb/Code/Api2/DataSource/Cnmm/CnmmDataSource.cs#L119
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
build:
PxWeb/Controllers/Api2/Admin/SearchindexController.cs#L63
Use 'Count' property here instead. (https://rules.sonarsource.com/csharp/RSPEC-2971)
|
build:
PxWeb/Code/Api2/DataSource/PxFile/PxFileDataSource.cs#L189
Merge this if statement with the enclosing one. (https://rules.sonarsource.com/csharp/RSPEC-1066)
|
build:
PxWeb/Code/Api2/DataSource/PxFile/PxFileDataSource.cs#L187
Merge this if statement with the enclosing one. (https://rules.sonarsource.com/csharp/RSPEC-1066)
|
build:
PxWeb/Code/Api2/DataSource/PxFile/PxFileDataSource.cs#L169
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
build:
PxWeb/Code/Api2/DataSource/PxFile/PxFileDataSource.cs#L157
Make 'GetIdentifierWithoutPath' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
build:
PxWeb/Code/Api2/DataSource/PxFile/PxFileDataSource.cs#L106
Replace this type-check-and-cast sequence to use pattern matching. (https://rules.sonarsource.com/csharp/RSPEC-3247)
|
build:
PxWeb/Code/Api2/DataSource/PxFile/PxFileDataSource.cs#L18
Remove this unread private field '_pxFileConfigurationService' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
|
build:
PxWeb/Controllers/Api2/Admin/SearchindexController.cs#L75
Define a constant instead of using this literal 'Error' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
build:
PxWeb/Controllers/Api2/Admin/SearchindexController.cs#L83
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
build:
PxWeb/Code/Api2/DataSource/Cnmm/CnmmDataSource.cs#L119
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|