Branch Coverage

blib/lib/Devel/FIXME.pm
Criterion Covered Total %
branch 32 48 66.6


line true false branch
38 3 3 unless ($inited)
55 6 6 if $lock{$file}
58 0 6 unless (ref $INC[0] and $INC[0] == $self)
59 0 0 unless not ref $_
60 0 0 $REPAIR_INC ? :
61 0 0 if ($REPAIR_INC)
64 0 0 unless ref $INC[$i]
65 0 0 if ($INC[$i] == $self)
82 0 6 if $@
88 6 0 if $INC{$file}
104 0 152 unless -f $file
106 0 152 unless open my $src, '<', $file
110 13 81986 if $_ =~ $pkg->regex
115 152 81847 if eof $src
122 20 5 $self->can('rules') ? :
126 2 15 if ($action == 1) { }
13 2 elsif ($action == 2) { }
146 20 16 if (@_ == 1) { }
16 0 elsif (@_ % 2 == 0) { }
147 10 10 if (ref $_[0] and reftype($_[0]) eq 'HASH') { }
176 4 5 unless @_ > 1
177 15 2 unless $_[1] eq $_
7 2 if (@_ == 1 or @_ > 2 or @_ == 2 and first sub { $_[1] eq "&$_" unless $_[1] eq $_; } , @EXPORT_OK, map({":$_";} keys %EXPORT_TAGS)) { }
189 20 5 if UNIVERSAL::can($_[0], 'isa') and $_[0]->isa('Devel::FIXME')