File tree Expand file tree Collapse file tree
ql/test/query-tests/metrics/FLines Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- | FLines.rb:0:0:0:0 | FLines.rb | 25 |
1+ | FLines.rb:0:0:0:0 | FLines.rb | 34 |
2+ | Empty.rb:0:0:0:0 | Empty.rb | 0 |
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
3+ =begin
4+ some preprocessing here
5+ and here
6+ =end
7+
38class FLinesTest
49
5- def foo
10+ def foo ( bar )
611 # This is a comment
712 # and another
813
@@ -16,9 +21,13 @@ def foo
1621
1722ESCAPE
1823
24+ some_other_string = "line 1
25+ line" + bar
26+
1927 p some_string
28+ p some_other_string
2029
21- 7
30+ some_string + some_other_string
2231 end
2332
2433
Original file line number Diff line number Diff line change 1- | FLines.rb:0:0:0:0 | FLines.rb | 15 |
1+ | FLines.rb:0:0:0:0 | FLines.rb | 18 |
2+ | Empty.rb:0:0:0:0 | Empty.rb | 0 |
Original file line number Diff line number Diff line change 1- | FLines.rb:0:0:0:0 | FLines.rb | 3 |
1+ | FLines.rb:0:0:0:0 | FLines.rb | 7 |
2+ | Empty.rb:0:0:0:0 | Empty.rb | 0 |
You can’t perform that action at this time.
0 commit comments