mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
C#/Java/Ruby/Swift: Address review comments.
This commit is contained in:
@@ -639,12 +639,12 @@ module CsvValidation {
|
||||
}
|
||||
|
||||
private string getInvalidModelSubtype() {
|
||||
exists(string pred, string row, int expect |
|
||||
sourceModel(row) and expect = 9 and pred = "source"
|
||||
exists(string pred, string row |
|
||||
sourceModel(row) and pred = "source"
|
||||
or
|
||||
sinkModel(row) and expect = 9 and pred = "sink"
|
||||
sinkModel(row) and pred = "sink"
|
||||
or
|
||||
summaryModel(row) and expect = 10 and pred = "summary"
|
||||
summaryModel(row) and pred = "summary"
|
||||
|
|
||||
exists(string b |
|
||||
b = row.splitAt(";", 2) and
|
||||
|
||||
@@ -79,8 +79,8 @@ predicate summaryElement(Callable c, string input, string output, string kind, b
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if an external flow summary exists for `c` which means that there is no
|
||||
* flow through `c` and a flag `generated` stating whether the summary is autogenerated.
|
||||
* Holds if a negative flow summary exists for `c`, which means that there is no
|
||||
* flow through `c`. The flag `generated` states whether the summary is autogenerated.
|
||||
*/
|
||||
predicate negativeSummaryElement(Callable c, boolean generated) {
|
||||
exists(string namespace, string type, string name, string signature, string provenance |
|
||||
|
||||
Reference in New Issue
Block a user