Lindsay Simpkins
f96a250ffc
fix qhelp files
2025-06-09 18:37:16 -04:00
Michael Nebel
51623c3837
Java: Consider all summarized callable with generated verification as generated when counting generated vs manual.
2024-10-02 15:24:01 +02:00
Ian Lynagh
c12adbeeaa
Java/Kotlin: Tag the LoC queries 'debug'
...
This brings them into line with LinesOfCode.ql
2024-06-25 15:46:10 +01:00
Henry Mercer
a76832f4e0
Mark LOC queries as debug instead
2024-03-20 21:18:55 +00:00
Henry Mercer
c325ff8a23
Mark lines of code queries as telemetry queries
...
The new file coverage metrics are available in all supported GHES
versions. This PR tags lines of code queries as telemetry queries. Lines
of code information will still be available in the SARIF file, but it
will no longer be displayed in the logging output of the CLI.
The one exception is the metric queries for Java/Kotlin that provides
separate lines of code information for Java and Kotlin. I've kept these
since separate file coverage information for languages like Java and
Kotlin is only available for GHES 3.12 and later.
2024-03-11 16:40:31 +00:00
Tom Hvitved
f9dbf676a6
Java: Use FlowSummaryImpl from dataflow pack
2023-12-10 11:25:45 +01:00
Ian Lynagh
d816035da6
Java/Kotlin: Tweak LoC message
2023-10-20 13:02:11 +01:00
Ian Lynagh
13a9e83e6a
Java/Kotlin: Reshuffle our LoC queries
...
There's now a single lines-of-code query that gives the total number of
lines of code over both languages.
Per-language LoC queries are now just summaries.
2023-10-20 12:43:41 +01:00
Michael Nebel
51f166d71e
Java: Address review comments.
2023-08-21 10:22:28 +02:00
Michael Nebel
5623ccf4a0
Java: Re-factor NeutralCallable to include all neutrals and introduce NeutralSummaryCallable.
2023-08-21 09:59:00 +02:00
Anders Schack-Mulligen
9a4de208ef
Java: Fix qltests.
2023-08-03 10:04:05 +02:00
Ian Lynagh
a4a7ad8f99
Java/Kotlin: Split lines of code by language
...
We were giving the sum of all lines for both languages, but labelling it
as "Total lines of Java code in the database", which was confusing.
Now we give separate sums for Kotlin and Java lines.
2023-06-05 13:57:47 +01:00
Jami Cogswell
7c72ece4a0
Java: update genVsMan coverage query to use ModelApi instead of DataFlowTargetApi
2023-04-20 16:19:15 -04:00
Michael Nebel
54e55e2262
Java: Introduce more provenance values.
2023-04-13 09:21:04 +02:00
Jami Cogswell
8b0eba78aa
Java: add UnsupportedOperationException to topJdkApiName
2023-04-06 10:14:36 -04:00
Jami Cogswell
b534f40b26
Java: move TopJdkApis.qll to src directory
2023-04-06 08:23:22 -04:00
Jami Cogswell
aca538310f
Java: update some qldocs
2023-03-31 18:02:09 -04:00
Jami Cogswell
8501a16cac
Java: move TopJdkApis.qll to lib directory for better importing
2023-03-31 18:02:09 -04:00
Jami Cogswell
fea55e910e
Java: move query logic to qll file and add subset restriction for top500 jdk apis
2023-03-31 18:02:08 -04:00
Michael Nebel
813ffa440c
Java: Consider ai-generated flow summaries to as generated summaries in dataflow.
2023-02-20 12:11:48 +01:00
Michael Nebel
6a047d6916
Java: Re-factor provenance related predicates for summarized callable.
2023-01-11 16:20:55 +01:00
Jami Cogswell
c33bc63aed
Java: remove extraneous parentheses
2022-12-15 15:26:04 -05:00
Jami Cogswell
cfeedb5cb4
Java: add float cast
2022-12-15 15:23:28 -05:00
Jami Cogswell
b68a9a51e2
Java: add coverage, generatedCoverage, and manualCoverage metrics
2022-12-15 15:20:08 -05:00
Jami Cogswell
9d10b719d6
Java: add match metric
2022-12-15 15:10:35 -05:00
Jami Cogswell
1c5d4f8048
Java: rename generatedCoverage and manualCoverage
2022-12-15 15:03:00 -05:00
Jami Cogswell
be7b4151af
Java: update getNumApis and remove package binding from query body
2022-12-13 12:54:43 -05:00
Jami Cogswell
3da2fb933b
Java: remove parentheses
2022-12-13 11:08:00 -05:00
Jami Cogswell
f0124dae1a
Java: replace exists with instanceof
2022-12-12 16:40:19 -05:00
Jami Cogswell
e42d9e4930
Java: switch floats to ints
2022-12-12 11:39:17 -05:00
Jami Cogswell
623068c4b9
Java: add hasProvenance predicate, remove isManuallyGenerated and isBothAutoAndManuallyGenerated
2022-12-12 11:23:46 -05:00
Jami Cogswell
270e38d753
Java: add comments and switch getDeclaringType to getCompilationUnit
2022-12-09 19:46:10 -05:00
Jami Cogswell
2c3adb769b
Java: remove MadModeledCallable class and update predicate names
2022-12-08 23:32:07 -05:00
Jami Cogswell
974c000b65
Java: add bindingset for package
2022-12-08 23:17:53 -05:00
Jami Cogswell
a32ed21480
Java: clean up comments and predicates
2022-12-08 23:09:09 -05:00
Jami Cogswell
ca00e0ab9e
Java: adjust none and all calculations
2022-12-08 22:14:28 -05:00
Jami Cogswell
6248efd394
Java: adjust column names and metric formulas
2022-12-08 21:13:52 -05:00
Jami Cogswell
9e0027cf5b
Java: remove negative models
2022-12-08 20:58:37 -05:00
Jami Cogswell
d558f93972
Java: update DataFlowTargetApi for funcexpr and paramless constructor exclusions
2022-12-08 20:51:40 -05:00
Jami Cogswell
e9e5f92603
Java: update notModeled for negative numbers
2022-12-07 21:46:52 -05:00
Jami Cogswell
aa7e6d7811
Java: add negative numbers
2022-12-07 17:17:35 -05:00
Jami Cogswell
b82f9b1911
Java: add draft of generated vs manual MaD metrics query
2022-12-06 22:15:19 -05:00
Henry Mercer
dd264c6dfb
Consistently mention language in metric names
...
This improves consistency between the lines of code queries and the
number of successfully extracted files queries.
2022-11-03 11:44:10 +00:00
Sid Shankar
ffbb158570
Update invalid link to devx.com
2022-08-15 14:40:12 -04:00
Benjamin Muskalla
ff8a96b96d
Rename framework coverage query
...
Move it to the other summary queries, update all references.
2022-02-08 11:14:03 +01:00
Erik Krogh Kristensen
6ff8d4de5c
add all remaining explicit this
2021-11-26 13:50:10 +01:00
Robin Neatherway
f378513ea3
Add lines-of-code tags
...
This is a proposed method for advertising which queries are measuring
the lines of code in a project in a more robust manner than inspecting
the rule id.
Note that the python "LinesOfUserCode" query should _not_ have this
property, as otherwise the results of the two queries will be summed.
2021-05-14 11:20:43 +01:00
Chris Smowton
455b840712
Fix all dead qhelp links
...
For those documents with no obvious new home I've pointed the links to the Internet Archive.
2021-04-23 15:20:21 +01:00
Tamás Vajk
9c936867fa
Exclude code from XML files
...
Co-authored-by: yo-h <55373593+yo-h@users.noreply.github.com >
2021-04-22 09:00:31 +02:00
Tamas Vajk
e25305e3cc
Java: Introduce LoC summary metric query
2021-04-21 14:27:00 +02:00