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.
This commit is contained in:
Taus
2026-02-18 16:41:57 +00:00
parent 20fea3955e
commit e8de8433f4
28 changed files with 7 additions and 28 deletions

View File

@@ -10,6 +10,5 @@
*/
import python
private import LegacyPointsTo
select sum(ModuleMetrics m | | m.getNumberOfLinesOfCode())

View File

@@ -14,7 +14,6 @@
import python
import semmle.python.filters.GeneratedCode
private import LegacyPointsTo
select sum(ModuleMetrics m |
exists(m.getFile().getRelativePath()) and