eg/samedir/other.pl

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Test/Snapshots.pm ↑ Summary eg/samedir/script.pl »
1 #!/usr/bin/perl
2 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 3 print "Please type in your name\n";
6 3 my $name = <STDIN>;
7 3 chomp $name;
8 3 print "Hello $name\n";
9  
10 3 warn "Some warning\n";
11 3 exit(10);
12  
« blib/lib/Test/Snapshots.pm ↑ Summary eg/samedir/script.pl »