Returns the complexity of a module
(module_path, threshold=7)
| 290 | |
| 291 | |
| 292 | def get_module_complexity(module_path, threshold=7): |
| 293 | """Returns the complexity of a module""" |
| 294 | code = _read(module_path) |
| 295 | return get_code_complexity(code, threshold, filename=module_path) |
| 296 | |
| 297 | |
| 298 | def _read(filename): |
nothing calls this directly
no test coverage detected
searching dependent graphs…