Nick Rolfe
|
5e6dddad3e
|
Replace count(getReceiver()) with 1
|
2021-05-13 16:59:05 +01:00 |
|
Nick Rolfe
|
004147984b
|
Simplify CFG classes for StmtSequences
|
2021-05-11 18:27:11 +01:00 |
|
Nick Rolfe
|
94ceb3f237
|
Remove unused class
|
2021-05-07 17:20:51 +01:00 |
|
Nick Rolfe
|
9def7c2dfe
|
Make CFG for TEnsure post-order
|
2021-05-07 17:15:10 +01:00 |
|
Nick Rolfe
|
7f6805c82f
|
Make CFG for TDo post-order
|
2021-05-07 17:00:30 +01:00 |
|
Nick Rolfe
|
46c9f858c4
|
Make CFG for TElse post-order
|
2021-05-07 16:47:19 +01:00 |
|
Nick Rolfe
|
2569bf257f
|
Make CFG for TThen post-order
|
2021-05-07 15:40:50 +01:00 |
|
Nick Rolfe
|
4e80b548c1
|
Make BeginBlock CFG post-order
|
2021-05-06 16:45:27 +01:00 |
|
Nick Rolfe
|
2c7f1e0c11
|
Remove unused class
|
2021-05-06 16:28:36 +01:00 |
|
Nick Rolfe
|
9185a93312
|
Make SingletonClassDeclarationTree post-order
|
2021-05-06 16:20:50 +01:00 |
|
Nick Rolfe
|
fd3d50f340
|
Make ModuleDeclarationTree post-order
|
2021-05-06 15:54:11 +01:00 |
|
Nick Rolfe
|
d623f47ba0
|
Make ClassDeclarationTree post-order
|
2021-05-06 15:36:25 +01:00 |
|
Nick Rolfe
|
a0084b7732
|
Simplify CFG tree classes for calls
|
2021-05-05 17:18:44 +01:00 |
|
Nick Rolfe
|
569063ca73
|
Make YieldCallTree post-order
|
2021-05-05 17:14:32 +01:00 |
|
Arthur Baars
|
73b5699f32
|
Merge pull request #174 from github/escape_file_keys
Escape keys for files and folders
|
2021-05-05 15:02:04 +02:00 |
|
Nick Rolfe
|
c37f390efc
|
Reserve more capacity for escaped key
|
2021-05-05 13:21:16 +01:00 |
|
Nick Rolfe
|
99ae17de03
|
Avoid copying key when it doesn't need escaping
|
2021-05-05 12:54:23 +01:00 |
|
Nick Rolfe
|
d2d5f31599
|
Escape keys for files and folders
|
2021-05-04 16:52:35 +01:00 |
|
Arthur Baars
|
1a94fb47b6
|
Merge pull request #172 from github/update-testoutput
Update expected test output
|
2021-05-04 13:37:37 +02:00 |
|
Arthur Baars
|
27538cb11d
|
Update expected test output
|
2021-05-04 12:43:43 +02:00 |
|
Arthur Baars
|
6adff6f195
|
Merge pull request #171 from github/self_nodes
Create synthetic `self` nodes for calls without explicit receivers
|
2021-05-03 12:59:11 +02: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 |
|
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 |
|
Alex Ford
|
c6b6a83501
|
extend FLines* tests
|
2021-04-21 10:42:53 +01:00 |
|
Alex Ford
|
a1c91e28da
|
move FLines* tests to a common directory
|
2021-04-21 10:34:58 +01:00 |
|
Alex Ford
|
fcd46025fe
|
update metadata for FLines* queries
|
2021-04-21 10:28:20 +01:00 |
|
Arthur Baars
|
abb37e212a
|
Merge pull request #165 from github/aibaars/methods
Implement method lookup
|
2021-04-21 11:24:20 +02:00 |
|
Arthur Baars
|
549e5ab9d6
|
Revert "Rename Method -> MethodDeclaration"
This reverts commit d361ef37af.
|
2021-04-21 10:50:47 +02:00 |
|
Arthur Baars
|
1245674df8
|
Add missing @id properties
|
2021-04-21 10:50:47 +02:00 |
|
Alex Ford
|
50a0f282bf
|
add basic tests for FLines queries
|
2021-04-20 17:36:16 +01:00 |
|
Alex Ford
|
f0d1498c8c
|
Revert "WIP: populate numlines table"
This reverts commit 62bf58b289.
|
2021-04-20 17:36:16 +01:00 |
|
Alex Ford
|
37cce23c26
|
add FLines.ql, FLinesOfComments.ql
|
2021-04-20 17:36:16 +01:00 |
|
Alex Ford
|
d6c7846089
|
put logic for determining line counts into MetricFile
|
2021-04-20 17:36:16 +01:00 |
|
Arthur Baars
|
122315db3f
|
Remove 'Method' class
|
2021-04-20 13:41:11 +02:00 |
|
Alex Ford
|
28e46c8915
|
add FLinesOfCode.ql metric query
|
2021-04-20 10:12:52 +01:00 |
|
Alex Ford
|
7bfc61789d
|
line count MetricFile predicates
|
2021-04-19 18:08:01 +01:00 |
|