Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Devel::Cover for Dummies (quick start)

by toolic (Bishop)
on May 04, 2010 at 23:47 UTC ( [id://838416]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Foo;
    
    ...
    }
    
    1;
    
  2. or download this
    use warnings;
    use strict;
    ...
    
    is(bar(77), 'big', 'check 77');
    is(bar(22), 'big', 'check 22');
    
  3. or download this
    perl -MDevel::Cover test.pl
    
  4. or download this
    1..2
    Devel::Cover 0.65: Collecting coverage data for branch, condition, sta
    +tement, subroutine and time.
    ...
    test.pl                              100.0    n/a    n/a  100.0    0.0
    +  100.0
    Total                                 10.2    5.1    3.2   10.9  100.0
    +    7.9
    ----------------------------------- ------ ------ ------ ------ ------
    + ------
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://838416]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-19 03:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found