Branch Coverage

blib/lib/Declare/Constraints/Simple/Library/Exportable.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
70 2 111 unless $flag
75 5 106 if ($flag =~ /^-?all$/i) { }
8 98 elsif ($flag =~ /^-?only$/i) { }
98 0 elsif ($flag =~ /^-?library$/i) { }
97 109 2 if ($class eq 'Declare::Constraints::Simple')
101 109 2 if ($class eq 'Declare::Constraints::Simple::Library')
102 12 97 unless ('Class::Inspector'->loaded('Declare::Constraints::Simple::Library'))
115 199 264 if $walked{$w}
118 153 111 if ($w->can('fetch_constraint_declarations'))
121 1 530 if exists $seen{$d}
158 0 220 unless my $handle = $$handle_map{$d}
162 0 220 unless ref $gen eq 'CODE'