Skip to content

Commit e7c89dc

Browse files
Python: Fix grammar
Co-authored-by: intrigus-lgtm <[email protected]>
1 parent 32219e5 commit e7c89dc

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

python/ql/src/meta/MetaMetrics.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ private import semmle.python.filters.Tests
1414
*/
1515
Folder projectRoot() { result.getRelativePath() = "" }
1616

17-
/** A file we ignore because it is a test file, part of a third-part library, or compiled/generated/bundled code. */
17+
/** A file we ignore because it is a test file, part of a third-party library, or compiled/generated/bundled code. */
1818
class IgnoredFile extends File {
1919
IgnoredFile() {
2020
any(TestScope ts).getLocation().getFile() = this

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ class RelevantCall extends Call {
1414
RelevantCall() { not this.getLocation().getFile() instanceof IgnoredFile }
1515
}
1616

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

2323
ResolvableCall() { target.getACall() = this.getAFlowNode() }
2424

25-
/** Gets a resolved target of this call */
25+
/** Gets a resolved target of this call. */
2626
Value getTarget() { result = target }
2727
}
2828

@@ -56,7 +56,7 @@ module PointsTo {
5656
}
5757

5858
/**
59-
* A call that can be resolved by points-to, where resolved target is not considered relevant.
59+
* A call that can be resolved by points-to, where the resolved target is not considered relevant.
6060
* See `ResolvableCallRelevantTarget` for definition of relevance.
6161
*/
6262
class ResolvableCallIrrelevantTarget extends ResolvableCall {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @name Ratio of resolvable call by points-to
3-
* @description The percentage (relevant) calls that can be resolved to a target.
3+
* @description The percentage of (relevant) calls that can be resolved to a target.
44
* @kind metric
55
* @metricType project
66
* @metricAggregate sum min max avg

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @name Resolvable call candidates
3-
* @description The number (relevant) calls in the program.
3+
* @description The number of (relevant) calls in the program.
44
* @kind metric
55
* @metricType project
66
* @metricAggregate sum

0 commit comments

Comments
 (0)