Alex Ford
|
6bd2e4e4b7
|
Merge pull request #175 from github/loc-summary-queries-1
Summary queries for total LOC and user-code LOC
|
2021-05-14 15:51:45 +01:00 |
|
Alex Ford
|
11949c6b77
|
Merge pull request #176 from github/diagnostics-entries
Start writing diagnostics to the DB, and some basic summary/diagnostics queries
|
2021-05-13 14:31:01 +01:00 |
|
Alex Ford
|
15712df717
|
update ruby.dbscheme.stats
|
2021-05-13 13:50:53 +01:00 |
|
Alex Ford
|
277a6a020a
|
diagnostics: use debug rather than hidden terminology, and leave gaps for other severities
|
2021-05-13 13:44:10 +01:00 |
|
Alex Ford
|
acdbd9859e
|
simplify ExtractionError class defn
|
2021-05-12 16:45:31 +01:00 |
|
Alex Ford
|
0dad1a4779
|
use a case-split for diagnostic severity levels
|
2021-05-12 16:38:37 +01:00 |
|
Alex Ford
|
0016146e11
|
limit summary queries to files from within the source directory
|
2021-05-11 21:07:08 +01:00 |
|
Alex Ford
|
49d9bb798c
|
revamp the diagnostics tests
|
2021-05-11 19:53:00 +01:00 |
|
Alex Ford
|
9b115129fe
|
move diagnostics queries to match other languages more closely
|
2021-05-11 19:53:00 +01:00 |
|
Alex Ford
|
1381d8d076
|
tidy up Diagnostics library
|
2021-05-11 19:28:31 +01:00 |
|
Alex Ford
|
d1d8cff915
|
tests for some more diagnostics queries
|
2021-05-11 19:14:22 +01:00 |
|
Alex Ford
|
de497dd1ba
|
tests for NumberOfFiles* summary queries
|
2021-05-11 19:14:22 +01:00 |
|
Alex Ford
|
a7873f9023
|
rb/summary/number-of-files-extracted-with-errors
|
2021-05-07 00:24:13 +01:00 |
|
Alex Ford
|
31b8913ffd
|
rb/summary/number-of-successfully-extracted-files FIXUP
|
2021-05-07 00:23:56 +01:00 |
|
Alex Ford
|
804198cd37
|
rb/summary/number-of-successfully-extracted-files
|
2021-05-07 00:22:22 +01:00 |
|
Alex Ford
|
e7285babf0
|
rb/diagnostics/successfully-extracted-files
|
2021-05-07 00:17:58 +01:00 |
|
Alex Ford
|
54266eca33
|
rb/diagnostics/files-extracted-with-errors
|
2021-05-07 00:17:12 +01:00 |
|
Alex Ford
|
d223851429
|
add Diagnostics.qll
|
2021-05-07 00:15:09 +01:00 |
|
Alex Ford
|
c38453305f
|
add diagnostics table to dbscheme
|
2021-05-06 22:58:01 +01:00 |
|
Alex Ford
|
e5896047d8
|
summary LOC query tests
|
2021-05-06 19:54:23 +01:00 |
|
Alex Ford
|
98a4f4c5b9
|
rb/summary/lines-of-user-code
|
2021-05-06 19:54:23 +01:00 |
|
Alex Ford
|
f6c8b07f4f
|
rb/summary/lines-of-code
|
2021-05-06 19:54:23 +01:00 |
|
Nick Rolfe
|
3a3586f14b
|
Restrict type to MethodCallCfgNode
|
2021-05-05 14:49:24 +01:00 |
|
Nick Rolfe
|
b16b95e2f7
|
Fix type-tracking load/store steps
|
2021-05-05 12:12:45 +01:00 |
|
Nick Rolfe
|
647c108c0b
|
Merge remote-tracking branch 'origin/main' into type_tracking
|
2021-05-04 12:38:16 +01:00 |
|
Arthur Baars
|
27538cb11d
|
Update expected test output
|
2021-05-04 12:43:43 +02:00 |
|
Nick Rolfe
|
53deede8ab
|
Remove unnecessary local flow inside type-tracking store step
|
2021-05-04 11:32:57 +01:00 |
|
Nick Rolfe
|
35ee62c689
|
Use splitting-aware nodes for type-tracking store/load steps
|
2021-05-04 11:31:03 +01:00 |
|
Nick Rolfe
|
5dc910d0db
|
Move track predicate to LocalSourceNode
|
2021-04-30 15:05:12 +01:00 |
|
Nick Rolfe
|
37c8d8a252
|
Rename getCallable to getTarget
|
2021-04-30 14:41:50 +01:00 |
|
Nick Rolfe
|
fdccd5da7e
|
Add AstNode::isSynthesized()
|
2021-04-30 11:58:54 +01:00 |
|
Nick Rolfe
|
e87bf57bc5
|
Avoid recursion in IPA construction
|
2021-04-29 18:04:15 +01:00 |
|
Nick Rolfe
|
bd6fe41388
|
Merge IPA branches for implicit self
|
2021-04-29 15:38:58 +01:00 |
|
Nick Rolfe
|
59c83b7b8f
|
Add clarifying comment
|
2021-04-29 14:00:27 +01:00 |
|
Nick Rolfe
|
9540125771
|
Remove fromGeneratedInclSynth predicate
|
2021-04-29 13:58:16 +01:00 |
|
Arthur Baars
|
300a54384f
|
Add TypeTracker to identical-files.json
|
2021-04-29 12:20:14 +02:00 |
|
Arthur Baars
|
f07c58ee07
|
Update codeql submodule
|
2021-04-29 12:13:11 +02:00 |
|
Nick Rolfe
|
96ddd55191
|
Apply suggestions from code review
Co-authored-by: Arthur Baars <aibaars@github.com>
|
2021-04-29 12:07:32 +02:00 |
|
Nick Rolfe
|
c1c437f020
|
Minimal implementation of shared type-tracking library
|
2021-04-29 12:07:32 +02:00 |
|
Nick Rolfe
|
f3852f9b56
|
Create synthetic self nodes for calls without explicit receivers
|
2021-04-28 16:43:40 +01:00 |
|
Arthur Baars
|
bc6aec7a99
|
Merge pull request #167 from github/alexrford/numlines
Implement FLines metrics queries
|
2021-04-21 14:42:18 +02:00 |
|
Alex Ford
|
240f0abf27
|
drop @tags from metrics queries
|
2021-04-21 13:00:48 +01:00 |
|
Alex Ford
|
15289dba34
|
simplify File.getNumberOfLines
|
2021-04-21 12:59:25 +01:00 |
|
Alex Ford
|
cc5bbfce0b
|
Get -> Gets
|
2021-04-21 12:57:55 +01:00 |
|
Alex Ford
|
5a191692df
|
Update ql/src/queries/metrics/FLinesOfComments.ql
Co-authored-by: Arthur Baars <aibaars@github.com>
|
2021-04-21 12:57:12 +01:00 |
|
Alex Ford
|
4e119cc085
|
consider empty files (no ruby tokens) to have 0 lines
|
2021-04-21 11:29:55 +01:00 |
|
Alex Ford
|
a8597025aa
|
fixed logic for line counting
|
2021-04-21 11:29:09 +01:00 |
|
Alex Ford
|
bcc1be05de
|
use explicit this prefixes in FileSystem.qll
|
2021-04-21 10:51:28 +01:00 |
|
Alex Ford
|
85ecacd858
|
make helper predicates private
|
2021-04-21 10:50:00 +01:00 |
|
Alex Ford
|
9d117d10b8
|
drop MetricFile class
|
2021-04-21 10:45:42 +01:00 |
|