testout/t1000files_probe.pl

filter: Statementstmt 100% 11 / 11 Branchbran 50.0% 2 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 88.2% 15 / 17 CC 1 SCAR 0.0
CC
1
Cov
87%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« convert.im ↑ Summary color.c »
1 #!perl
2 1 ▶use Imager;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶my $file = shift or die "No file supplied";
Branch: 1 branch
BranchTrueFalseTotal
my $file = shift @ARGV or die "No file supplied" 1 0 1
5 1 ▶open FH, "< $file" or die "Cannot open file: $!";
Branch: 1 branch
BranchTrueFalseTotal
open FH, "< $file" or die "Cannot open file: $!" 1 0 1
6 1 binmode FH;
7 1 my $io = Imager::io_new_fd(fileno(FH));
8 1 Imager::i_test_format_probe($io, -1);
« convert.im ↑ Summary color.c »