Skip to content

Require latest version CoreBundle & OpenBelastingBundle #204

Require latest version CoreBundle & OpenBelastingBundle

Require latest version CoreBundle & OpenBelastingBundle #204

Triggered via push August 3, 2023 12:43
Status Failure
Total duration 24s
Artifacts

phpmd.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build
Process completed with exit code 2.
build: src/Service/SimTaxService.php#L27
The class SimTaxService has an overall complexity of 82 which is very high. The configured complexity threshold is 50.
build: src/Service/SimTaxService.php#L27
The class SimTaxService has a coupling between objects value of 14. Consider to reduce the number of dependencies under 13.
build: src/Service/SimTaxService.php#L62
Avoid excessively long variable names like $synchronizationService. Keep variable name length under 20.
build: src/Service/SimTaxService.php#L124
Avoid excessively long variable names like $synchronizationService. Keep variable name length under 20.
build: src/Service/SimTaxService.php#L270
Avoid using static access to class '\DateInterval' in method 'getAanslagenFilter'.
build: src/Service/SimTaxService.php#L377
The method mapXMLToBezwaar() has a Cyclomatic Complexity of 12. The configured cyclomatic complexity threshold is 10.
build: src/Service/SimTaxService.php#L377
The method mapXMLToBezwaar() has an NPath complexity of 450. The configured NPath complexity threshold is 200.
build: src/Service/SimTaxService.php#L389
Avoid using static access to class '\DateTime' in method 'mapXMLToBezwaar'.
build: src/Service/SimTaxService.php#L391
Avoid using static access to class '\DateTime' in method 'mapXMLToBezwaar'.
build: src/Service/SimTaxService.php#L415
The method mapXMLToBezwaar uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.