Branch Coverage

blib/lib/Perl/Critic/Policy/Community/StrictWarnings.pm
Criterion Covered Total %
branch 15 16 93.7


line true false branch
49 10 9 if ($include->pragma)
50 2 8 if $include->pragma eq "strict"
51 8 2 if $include->pragma eq "warnings"
53 19 0 if ($include->type // Deparse error: Can't locate object method "object_2svref" via package "B::SPECIAL" at /usr/local/lib/perl5/5.26.1/B/Deparse.pm line 5018.
54 3 16 if $include->version and "version"->parse($include->version) >= "version"->parse("v5.12")
55 2 17 if defined $include->module and exists $strict_importers{$include->module}
56 2 17 if defined $include->module and exists $warnings_importers{$include->module}
58 6 13 if $has_strict and $has_warnings