Files
codeql/python/ql/src/Metrics/ModuleEfferentCoupling.ql
Taus e8de8433f4 Python: Update all metrics-dependant queries
The ones that no longer require points-to no longer import
`LegacyPointsTo`. The ones that do use the specific
`...MetricsWithPointsTo` classes that are applicable.
2026-02-19 12:32:27 +00:00

18 lines
422 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
private import LegacyPointsTo
from ModuleMetricsWithPointsTo m
select m, m.getEfferentCoupling() as n order by n desc