issues
search
zazoomauro
/
node-dependency-injection
The NodeDependencyInjection component allows you to standarize and centralize the way objects are constructed in your application.
https://github.com/zazoomauro/node-dependency-injection/wiki
MIT License
275
stars
34
forks
source link
Refactor Cognitive Complexity
#190
Closed
zazoomauro
closed
1 year ago
zazoomauro
commented
1 year ago
Function _resolveServices has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring
Function _requireClassNameFromPath has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
Function _walk has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
Function _getInstanceFromId has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
Function _parseArgument has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.