Skip to content

Commit 0b6c3ff

Browse files
committed
Python: Don't use PointsTo module name in metrics query
To avoid confusion with the normal PointsTo module in python/ql/src/semmle/python/pointsto/PointsTo.qll
1 parent a7d2306 commit 0b6c3ff

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

python/ql/src/meta/analysis-quality/CallGraphQuality.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class RelevantCall extends Call {
1515
}
1616

1717
/** Provides classes for call-graph resolution by using points-to. */
18-
module PointsTo {
18+
module PointsToBasedCallGraph {
1919
/** A call that can be resolved by points-to. */
2020
class ResolvableCall extends RelevantCall {
2121
Value target;

python/ql/src/meta/analysis-quality/PointsToResolvableCallRatio.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@
1111
import python
1212
import CallGraphQuality
1313

14-
select projectRoot(), 100.0 * count(PointsTo::ResolvableCall call) / count(RelevantCall call).(float)
14+
select projectRoot(),
15+
100.0 * count(PointsToBasedCallGraph::ResolvableCall call) / count(RelevantCall call).(float)

python/ql/src/meta/analysis-quality/PointsToResolvableCalls.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
import python
1212
import CallGraphQuality
1313

14-
select projectRoot(), count(PointsTo::ResolvableCall call)
14+
select projectRoot(), count(PointsToBasedCallGraph::ResolvableCall call)

python/ql/src/meta/analysis-quality/PointsToResolvableCallsRelevantTarget.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
import python
1212
import CallGraphQuality
1313

14-
select projectRoot(), count(PointsTo::ResolvableCallRelevantTarget call)
14+
select projectRoot(), count(PointsToBasedCallGraph::ResolvableCallRelevantTarget call)

0 commit comments

Comments
 (0)