Create a response on ZDS documents #59
Annotations
1 error and 11 warnings
build
Process completed with exit code 2.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build:
src/Service/ZdsToZgwService.php#L23
The class ZdsToZgwService has 13 public methods. Consider refactoring ZdsToZgwService to keep number of public methods under 10.
|
build:
src/Service/ZdsToZgwService.php#L23
The class ZdsToZgwService has an overall complexity of 92 which is very high. The configured complexity threshold is 50.
|
build:
src/Service/ZdsToZgwService.php#L23
The class ZdsToZgwService has a coupling between objects value of 13. Consider to reduce the number of dependencies under 13.
|
build:
src/Service/ZdsToZgwService.php#L44
Avoid unused private fields such as '$pluginLogger'.
|
build:
src/Service/ZdsToZgwService.php#L357
The method zaakActionHandler() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
|
build:
src/Service/ZdsToZgwService.php#L459
The method getZaaktypeObject() has a Cyclomatic Complexity of 14. The configured cyclomatic complexity threshold is 10.
|
build:
src/Service/ZdsToZgwService.php#L465
Avoid using static access to class '\Ramsey\Uuid\Uuid' in method 'getZaaktypeObject'.
|
build:
src/Service/ZdsToZgwService.php#L500
The method convertInformatieobjecttype() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
|
build:
src/Service/ZdsToZgwService.php#L519
Avoid excessively long variable names like $informatieobjecttypen. Keep variable name length under 20.
|
build:
src/Service/ZdsToZgwService.php#L561
The method getCaseFromDocument() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
|