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
130130
131131 def print_header
132132 print_splitter
133- puts "| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |"
133+ puts "| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |"
134134 print_splitter
135135 end
136136
137137 def print_splitter
138- puts "+----------------------+-------+ -------+---------+---------+-----+-------+"
138+ puts "+----------------------+---------+-- -------+---------+---------+-----+-------+"
139139 end
140140
141141 def print_line ( name , statistics )
142142 m_over_c = ( statistics . methods / statistics . classes ) rescue m_over_c = 0
143143 loc_over_m = ( statistics . code_lines / statistics . methods ) - 2 rescue loc_over_m = 0
144144
145145 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 ) } " \
148148 "| #{ statistics . classes . to_s . rjust ( 7 ) } " \
149149 "| #{ statistics . methods . to_s . rjust ( 7 ) } " \
150150 "| #{ m_over_c . to_s . rjust ( 3 ) } " \
You can’t perform that action at this time.
0 commit comments