Skip to content

Add root node filtering to Cnmm data source #677

Add root node filtering to Cnmm data source

Add root node filtering to Cnmm data source #677

Triggered via pull request January 16, 2026 10:12
Status Failure
Total duration 1m 12s
Artifacts

sonarcloud.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 20 warnings
build
Process completed with exit code 1.
build: PxWeb.UnitTests/DataSource/CnmmDataSourceTest.cs#L67
Either remove this 'Ignore' attribute or add an explanation about why this test is ignored. (https://rules.sonarsource.com/csharp/RSPEC-1607)
build: PxWeb/Code/Api2/DataSource/Cnmm/CnmmDataSource.cs#L183
"EndsWith" overloads that take a "char" should be used (https://rules.sonarsource.com/csharp/RSPEC-6610)
build: PxWeb/Code/Api2/DataSource/Cnmm/CnmmDataSource.cs#L164
Make 'CreateTableTitleWithInterval' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
build: PxWeb/Code/Api2/DataSource/Cnmm/CnmmDataSource.cs#L99
Remove the unused local variable 'url'. (https://rules.sonarsource.com/csharp/RSPEC-1481)
build: PxWeb/Code/Api2/DataSource/Cnmm/CnmmDataSource.cs#L81
Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
build: PxWeb/Code/Api2/DataSource/Cnmm/CnmmDataSource.cs#L102
Replace this type-check-and-cast sequence to use pattern matching. (https://rules.sonarsource.com/csharp/RSPEC-3247)
build: PxWeb/Code/Api2/DataSource/Cnmm/CnmmDataSource.cs#L97
Replace this type-check-and-cast sequence to use pattern matching. (https://rules.sonarsource.com/csharp/RSPEC-3247)
build: PxWeb/Code/Api2/DataSource/Cnmm/ItemSelectionResolverCnmm.cs#L17
Remove this unread private field '_pxApiConfigurationService' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
build: PxWeb/Code/Api2/DataSource/Cnmm/ItemSelectionResolverCnmm.cs#L13
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
build: PxWeb/Code/Api2/DataSource/Cnmm/CnmmDataSource.cs#L127
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
build: PxWeb.UnitTests/DataSource/CnmmDataSourceTest.cs#L67
Either remove this 'Ignore' attribute or add an explanation about why this test is ignored. (https://rules.sonarsource.com/csharp/RSPEC-1607)
build: PxWeb/Code/Api2/DataSource/Cnmm/CnmmDataSource.cs#L183
"EndsWith" overloads that take a "char" should be used (https://rules.sonarsource.com/csharp/RSPEC-6610)
build: PxWeb/Code/Api2/DataSource/Cnmm/CnmmDataSource.cs#L164
Make 'CreateTableTitleWithInterval' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
build: PxWeb/Code/Api2/DataSource/Cnmm/CnmmDataSource.cs#L99
Remove the unused local variable 'url'. (https://rules.sonarsource.com/csharp/RSPEC-1481)
build: PxWeb/Code/Api2/DataSource/Cnmm/CnmmDataSource.cs#L81
Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
build: PxWeb/Code/Api2/DataSource/Cnmm/CnmmDataSource.cs#L102
Replace this type-check-and-cast sequence to use pattern matching. (https://rules.sonarsource.com/csharp/RSPEC-3247)
build: PxWeb/Code/Api2/DataSource/Cnmm/CnmmDataSource.cs#L97
Replace this type-check-and-cast sequence to use pattern matching. (https://rules.sonarsource.com/csharp/RSPEC-3247)
build: PxWeb/Code/Api2/DataSource/Cnmm/ItemSelectionResolverCnmm.cs#L17
Remove this unread private field '_pxApiConfigurationService' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
build: PxWeb/Code/Api2/DataSource/Cnmm/ItemSelectionResolverCnmm.cs#L13
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
build: PxWeb/Code/Api2/DataSource/Cnmm/CnmmDataSource.cs#L127
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)