File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -130,21 +130,21 @@ def calculate_totals
130
130
131
131
def print_header
132
132
print_splitter
133
- puts "| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |"
133
+ puts "| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |"
134
134
print_splitter
135
135
end
136
136
137
137
def print_splitter
138
- puts "+----------------------+-------+ -------+---------+---------+-----+-------+"
138
+ puts "+----------------------+---------+-- -------+---------+---------+-----+-------+"
139
139
end
140
140
141
141
def print_line ( name , statistics )
142
142
m_over_c = ( statistics . methods / statistics . classes ) rescue m_over_c = 0
143
143
loc_over_m = ( statistics . code_lines / statistics . methods ) - 2 rescue loc_over_m = 0
144
144
145
145
puts "| #{ name . ljust ( 20 ) } " \
146
- "| #{ statistics . lines . to_s . rjust ( 5 ) } " \
147
- "| #{ statistics . code_lines . to_s . rjust ( 5 ) } " \
146
+ "| #{ statistics . lines . to_s . rjust ( 7 ) } " \
147
+ "| #{ statistics . code_lines . to_s . rjust ( 7 ) } " \
148
148
"| #{ statistics . classes . to_s . rjust ( 7 ) } " \
149
149
"| #{ statistics . methods . to_s . rjust ( 7 ) } " \
150
150
"| #{ m_over_c . to_s . rjust ( 3 ) } " \
You can’t perform that action at this time.
0 commit comments