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
Anders Schack-Mulligen
c82b5eb040
Java: Remove code duplication library.
2021-03-25 10:06:10 +01:00
Anders Schack-Mulligen
4b7440d4d5
Java: Remove precision tag from metric queries.
2021-03-25 09:52:05 +01:00
Marcono1234
53dc2ce9b6
Java: Use .inc.qhelp extension for included help files
2021-02-26 00:43:51 +01:00
Marcono1234
e21cbe82a9
Update Java documentation links to Java 11
...
Where possible update Java documentation links to Java 11.
Additionally update some other links to use HTTPS.
2021-02-26 00:43:51 +01:00
Arthur Baars
daa1bcc06e
Also mark 'tech inventory' queries as deprecated
2020-10-02 17:23:11 +02:00
Arthur Baars
fc45b6cd3c
Drop 'tech-inventory' and 'code duplication' queries from the standard query suites
2020-10-02 17:22:04 +02:00
Jonas Jensen
464d3630a2
Java: Rename Block -> BlockStmt
2020-09-08 08:40:20 +02:00
Arthur Baars
aedfa47cb4
Add missing QHelp files
2020-09-01 12:46:57 +02:00