mirror of
https://github.com/github/codeql.git
synced 2026-01-04 02:00:18 +01:00
17 lines
387 B
Plaintext
17 lines
387 B
Plaintext
/**
|
|
* @name Outgoing class dependencies
|
|
* @description The number of classes that this class depends upon.
|
|
* @kind treemap
|
|
* @id py/efferent-coupling-per-class
|
|
* @treemap.warnOn highValues
|
|
* @metricType reftype
|
|
* @metricAggregate avg max
|
|
* @tags testability
|
|
* modularity
|
|
*/
|
|
|
|
import python
|
|
|
|
from ClassMetrics cls
|
|
select cls, cls.getEfferentCoupling() as n order by n desc
|