Files
codeql/python/ql/src/Metrics/ModuleEfferentCoupling.ql
2020-03-30 11:59:10 +02:00

17 lines
380 B
Plaintext

/**
* @name Outgoing module dependencies
* @description The number of modules that this module depends upon.
* @kind treemap
* @id py/efferent-coupling-per-file
* @treemap.warnOn highValues
* @metricType file
* @metricAggregate avg max
* @tags testability
* modularity
*/
import python
from ModuleMetrics m
select m, m.getEfferentCoupling() as n order by n desc