Devel::Cover How to get a more indepth report

B

Billy Patton

I can run and get a report telling me a percentage of lines covered and
times spent in each module.

How do I get a line by line reference to each file.
I would like to know which lines did not get touched.

I used a coverage long ago that put ** infromt of each line used and
empty when not used. This is what I'm afer.
 
P

Peter Scott

I can run and get a report telling me a percentage of lines covered and
times spent in each module.

How do I get a line by line reference to each file.
I would like to know which lines did not get touched.

I used a coverage long ago that put ** infromt of each line used and
empty when not used. This is what I'm afer.

Have you run the (default) HTML report? In cover_db/ you get
coverage.html, containing a table with modules in the first column, each
of which is a link to a page showing a table containing every line
preceded by cells reporting its coverage. The first cell is the number of
times the line was called and it's red if the number is zero.
 
B

Billy Patton

Peter said:
Have you run the (default) HTML report? In cover_db/ you get
coverage.html, containing a table with modules in the first column, each
of which is a link to a page showing a table containing every line
preceded by cells reporting its coverage. The first cell is the number of
times the line was called and it's red if the number is zero.
Yea I found the html after running cover.
What I don't know is exactly what the column abbreviations for t he
column names.
 
P

Peter Scott

Yea I found the html after running cover.
What I don't know is exactly what the column abbreviations for t he
column names.

If all you're interested in is the number of times a line was visited,
that's in the first column and you can ignore the rest. They're explained
in the tutorial that comes with Devel::Cover (search.cpan.org is your
friend).
 

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

No members online now.

Forum statistics

Threads
474,438
Messages
2,571,699
Members
48,796
Latest member
Greg L.
Top