Skip to content

Commit 9c93686

Browse files
tamasvajkyo-h
andauthored
Exclude code from XML files
Co-authored-by: yo-h <[email protected]>
1 parent e25305e commit 9c93686

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/Metrics/Summaries/LinesOfCode.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010

1111
import java
1212

13-
select sum(File f, int i | i = f.getNumberOfLinesOfCode() | i)
13+
select sum(CompilationUnit f | f.fromSource() | f.getNumberOfLinesOfCode())

0 commit comments

Comments
 (0)