Skip to content

Support dpkginfo name pattern operations

3f0ca3d
Select commit
Loading
Failed to load commit list.
Open

Support dpkginfo name pattern operations #2354

Support dpkginfo name pattern operations
3f0ca3d
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 11, 2026 in 46s

Annotations

Check failure on line 258 in src/OVAL/probes/unix/linux/dpkginfo-helper.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=OpenSCAP_openscap&issues=AZ4YiN9dU1yaV_REoQQA&open=AZ4YiN9dU1yaV_REoQQA&pullRequest=2354

Check warning on line 258 in src/OVAL/probes/unix/linux/dpkginfo-helper.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge this "if" statement with the enclosing one.

See more on https://sonarcloud.io/project/issues?id=OpenSCAP_openscap&issues=AZ4YiN9dU1yaV_REoQQC&open=AZ4YiN9dU1yaV_REoQQC&pullRequest=2354

Check failure on line 249 in src/OVAL/probes/unix/linux/dpkginfo-helper.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=OpenSCAP_openscap&issues=AZ4YiN9dU1yaV_REoQP9&open=AZ4YiN9dU1yaV_REoQP9&pullRequest=2354

Check warning on line 183 in src/OVAL/probes/unix/linux/dpkginfo-helper.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define each identifier in a dedicated statement.

See more on https://sonarcloud.io/project/issues?id=OpenSCAP_openscap&issues=AZ4YiN9dU1yaV_REoQQB&open=AZ4YiN9dU1yaV_REoQQB&pullRequest=2354

Check failure on line 180 in src/OVAL/probes/unix/linux/dpkginfo-helper.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 54 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=OpenSCAP_openscap&issues=AZ4YiN9dU1yaV_REoQP8&open=AZ4YiN9dU1yaV_REoQP8&pullRequest=2354

Check failure on line 253 in src/OVAL/probes/unix/linux/dpkginfo-helper.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=OpenSCAP_openscap&issues=AZ4YiN9dU1yaV_REoQP-&open=AZ4YiN9dU1yaV_REoQP-&pullRequest=2354

Check failure on line 255 in src/OVAL/probes/unix/linux/dpkginfo-helper.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=OpenSCAP_openscap&issues=AZ4YiN9dU1yaV_REoQP_&open=AZ4YiN9dU1yaV_REoQP_&pullRequest=2354

Check failure on line 47 in tests/probes/dpkginfo/test_probes_dpkginfo.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=OpenSCAP_openscap&issues=AZ4YiOAhU1yaV_REoQQD&open=AZ4YiOAhU1yaV_REoQQD&pullRequest=2354