detail plain text only

P

Peña, Botp

Hi to rcov users,

i have a sample output of rcov -T *.rb like so,

botp@pc4all:~$ rcov -T *.rb
test2
0
1
2
3
4
test
hello
hello
hello
hello
hello
+----------------------------------------------------+-------+-------+---=
-----+
| File | Lines | LOC | =
COV |
+----------------------------------------------------+-------+-------+---=
-----+
|test.rb | 4 | 4 | =
100.0% |
|test2.rb | 7 | 4 | =
100.0% |
+----------------------------------------------------+-------+-------+---=
-----+
|Total | 11 | 8 | =
100.0% |
+----------------------------------------------------+-------+-------+---=
-----+
100.0% 2 file(s) 11 Lines 8 LOC


i just want to get the detailed part of the report sans the lines and =
column separator, like so

test.rb , 4 , 4 , 100.0%=20
test2.rb , 7 , 4 , 100.0%=20


small request: do we really need the % symbol for each row? how about =
just the header name COV% ?

Thanks for rcov.
kind regards -botp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top