Branch Coverage

blib/lib/Dist/Zilla/Plugin/InsertCopyright.pm
Criterion Covered Total %
branch 7 8 87.5


line true false branch
34 8 8 length $_ ? :
44 7 2 if ($file->name =~ /\.(?:pm|pl|t)$/i or $file->content =~ /^#!(?:.*)perl(?:$|\s)/)
70 7 0 if (ref $comments eq 'ARRAY')
72 5 10 if ($c =~ /^(\s*)(\#\s+COPYRIGHT\b)$/msx)