mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Merge pull request #175 from github/loc-summary-queries-1
Summary queries for total LOC and user-code LOC
This commit is contained in:
1
ql/test/query-tests/summary/LinesOfCode.expected
Normal file
1
ql/test/query-tests/summary/LinesOfCode.expected
Normal file
@@ -0,0 +1 @@
|
||||
| 9 |
|
||||
1
ql/test/query-tests/summary/LinesOfCode.qlref
Normal file
1
ql/test/query-tests/summary/LinesOfCode.qlref
Normal file
@@ -0,0 +1 @@
|
||||
queries/summary/LinesOfCode.ql
|
||||
1
ql/test/query-tests/summary/LinesOfUserCode.expected
Normal file
1
ql/test/query-tests/summary/LinesOfUserCode.expected
Normal file
@@ -0,0 +1 @@
|
||||
| 5 |
|
||||
1
ql/test/query-tests/summary/LinesOfUserCode.qlref
Normal file
1
ql/test/query-tests/summary/LinesOfUserCode.qlref
Normal file
@@ -0,0 +1 @@
|
||||
queries/summary/LinesOfUserCode.ql
|
||||
11
ql/test/query-tests/summary/src/foo.rb
Normal file
11
ql/test/query-tests/summary/src/foo.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
# comment
|
||||
|
||||
def hello
|
||||
p "hello foo"
|
||||
end
|
||||
|
||||
# another one
|
||||
|
||||
hello
|
||||
|
||||
p "more code here"
|
||||
9
ql/test/query-tests/summary/src/vendor/cache/lib.rb
vendored
Normal file
9
ql/test/query-tests/summary/src/vendor/cache/lib.rb
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# comment
|
||||
|
||||
def hello
|
||||
p "hello lib"
|
||||
end
|
||||
|
||||
# another one
|
||||
|
||||
hello
|
||||
Reference in New Issue
Block a user