Files
codeql/java/ql/test/ext/TopJdkApis/TopJdkApisTest.ql
2023-04-06 08:23:22 -04:00

18 lines
491 B
Plaintext

import java
import Metrics.Summaries.TopJdkApis
from string apiName, string message
where
// top jdk api names for which there is no callable
topJdkApiName(apiName) and
not hasApiName(_, apiName) and
message = "no callable"
or
// top jdk api names for which there isn't a manual model
exists(TopJdkApi topApi |
not topApi.hasManualMadModel() and
hasApiName(topApi.asCallable(), apiName) and
message = "no manual model"
)
select apiName, message order by apiName