examples/defilter.pl

filter: Statementstmt 81.8% 9 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 86.6% 13 / 15 CC 1 SCAR 0.7
CC
1
Cov
82%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« examples/custom.pl ↑ Summary examples/disk.pl »
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use 5.020;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 0 ▶use Archive::Libarchive;
Subroutine BEGIN: called CC=1 SCAR=2.6
5  
6 my $r = Archive::Libarchive::ArchiveRead->new;
7 $r->support_filter_all;
8 $r->support_format_raw;
9 $r->open_filename("hello.txt.uu");
10 $r->next_header(Archive::Libarchive::Entry->new);
11  
12 my $buffer;
13 while($r->read_data(\$buffer)) {
14 print $buffer;
15 }
16  
17 $r->close;
« examples/custom.pl ↑ Summary examples/disk.pl »