Compare/EXACT.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond 33.3% 1 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 84.6% 22 / 26 CC 2 SCAR 3.5
CC
2
Cov
89%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
« Compare/THRESHOLD_COUNT.pm ↑ Summary Compare/THRESHOLD.pm »
1 package Image::Compare::EXACT;
2  
3 8 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 8 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 8 ▶use base qw/Image::Compare::THRESHOLD/;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 ▶sub new {
Subroutine new: called CC=2 SCAR=7.1
Pod documented
9 2 my $proto = shift;
10 2 ▶ my $class = ref($proto) || $proto;
Condition33%1/3
ref $proto || $proto
l!l&&r!l&&!r
020
MC/DC0%0/2
ref $proto || $proto
ref $proto $proto
Truth table33%1/3
A || B
A= ref $protoB= $proto
ABresult
1X1
011
000
11 2 my $self = Image::Compare::THRESHOLD->new(@_);
12 2 $self->{args} = 0;
13 2 bless($self, $class);
14 2 return $self;
15 }
16  
17 8 1;
18  
19 __END__
« Compare/THRESHOLD_COUNT.pm ↑ Summary Compare/THRESHOLD.pm »