mirror of
https://github.com/github/codeql.git
synced 2026-07-10 22:15:35 +02:00
The ones that no longer require points-to no longer import `LegacyPointsTo`. The ones that do use the specific `...MetricsWithPointsTo` classes that are applicable.
18 lines
422 B
Plaintext
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
|