File tree Expand file tree Collapse file tree 11 files changed +14
-29
lines changed Expand file tree Collapse file tree 11 files changed +14
-29
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ module CppMetrics {
215215 SucceededIncludeCount ( ) {
216216 exists ( Include i |
217217 i .getIncludeText ( ) = include_text and
218- exists ( i .getFile ( ) .getRelativePath ( ) ) // Only report includes from the repo
218+ exists ( i .getFile ( ) .getRelativePath ( ) ) // Only report includes from the repo
219219 ) and
220220 this = "Successfully included " + include_text
221221 }
Original file line number Diff line number Diff line change 1010| functions without errors | 6.0 |
1111| lines of code | 19.0 |
1212| lines of code without errors | 12.0 |
13- | lines of text | 26 .0 |
13+ | lines of text | 24 .0 |
1414| non-error expressions | 3.0 |
1515| source files | 3.0 |
1616| source files without errors | 2.0 |
Original file line number Diff line number Diff line change @@ -69,11 +69,11 @@ test.cpp:
6969#-----| ValueCategory = prvalue
7070# 17| getStmt(2): [ReturnStmt] return ...
7171test.h:
72- # 4 | [TopLevelFunction] int f(int)
73- # 4 | <params>:
74- # 4 | getParameter(0): [Parameter] (unnamed parameter 0)
75- # 4 | Type = [IntType] int
76- # 4 | [TopLevelFunction] int f(int)
77- # 4 | <params>:
78- # 4 | getParameter(0): [Parameter] (unnamed parameter 0)
79- # 4 | Type = [IntType] int
72+ # 2 | [TopLevelFunction] int f(int)
73+ # 2 | <params>:
74+ # 2 | getParameter(0): [Parameter] (unnamed parameter 0)
75+ # 2 | Type = [IntType] int
76+ # 2 | [TopLevelFunction] int f(int)
77+ # 2 | <params>:
78+ # 2 | getParameter(0): [Parameter] (unnamed parameter 0)
79+ # 2 | Type = [IntType] int
Original file line number Diff line number Diff line change 11import cpp
22
33from Diagnostic d
4- select d
4+ select d
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22| test.c:4:13:4:13 | no_such_function |
33| test.cpp:5:6:5:25 | function_with_errors |
44| test.cpp:14:10:14:12 | fn2 |
5- | test.h:4 :5:4 :5 | f |
6- | test.h:4 :5:4 :5 | f |
5+ | test.h:2 :5:2 :5 | f |
6+ | test.h:2 :5:2 :5 | f |
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ import cpp
22
33from Function fn
44where fn .fromSource ( )
5- select fn
5+ select fn
You can’t perform that action at this time.
0 commit comments