Branch Coverage

File:blib/lib/App/Test/Generator/PodExampleExtractor.pm
Coverage:89.5%

line%coveragebranch
147100TFunless defined $args{'file'}
148100TFunless -f $args{'file'}
307100TFif ($line =~ /^=head\d+\s+(.+)/u)
314100TFunless $line =~ /$VERBATIM_RE/u
315100TFunless $line =~ /$ANNOTATION_RE/u
327100TFunless length $code_only
362100TFif ($line =~ /$VERBATIM_RE/u or $line =~ /\S/u and @current) { }
365100TFif (@current)
367100TFif length $code and _looks_like_perl($code)
378100TFif (@current)
380100TFif length $code and _looks_like_perl($code)
40650TFunless @non_empty
40850TF/^([ \t]*)/u ? :
43050TFunless $line =~ /\S/u
431100TFif $line =~ /^\s*#/u
433100TFif $line =~ /[\$\@\%]/u
435100TFif $line =~ /^\s*(?:my|our|local|use|require|no|package|sub|for(?:each)?|if|unless|while|until|return|die|croak|warn|print|say|eval|BEGIN|END|push|pop|shift|unshift|keys|values|grep|map|sort)\b/u
437100TFif $line =~ /(?:->|::)/u
43950TFif $line =~ /=>/u