mirror of
https://github.com/github/codeql.git
synced 2025-12-30 23:58:15 +01:00
17 lines
383 B
Plaintext
17 lines
383 B
Plaintext
/**
|
|
* @name Incoming class dependencies
|
|
* @description The number of classes that depend on a class.
|
|
* @kind treemap
|
|
* @id py/afferent-coupling-per-class
|
|
* @treemap.warnOn highValues
|
|
* @metricType reftype
|
|
* @metricAggregate avg max
|
|
* @tags changeability
|
|
* modularity
|
|
*/
|
|
|
|
import python
|
|
|
|
from ClassMetrics cls
|
|
select cls, cls.getAfferentCoupling() as n order by n desc
|