Branch Coverage

blib/lib/Perl/Critic/Policy/Community/StrictWarnings.pm
Criterion Covered Total %
branch 17 18 94.4


line true false branch
49 10 15 if ($include->pragma)
50 2 8 if $include->pragma eq "strict"
51 8 2 if $include->pragma eq "warnings"
53 25 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 9 16 if $include->version and "version"->parse($include->version) >= "version"->parse("v5.12")
55 2 23 if defined $include->module and exists $strict_importers{$include->module}
56 3 22 if $include->version and "version"->parse($include->version) >= "version"->parse("v5.36")
57 2 23 if defined $include->module and exists $warnings_importers{$include->module}
59 9 16 if $has_strict and $has_warnings