Branch Coverage

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

line%coveragebranch
119100TFunless defined $args{'file'}
120100TFunless -f $args{'file'}
284100TFif ($line =~ /^=head\d+\s+(.+)/u)
291100TFunless $line =~ /$VERBATIM_RE/u
292100TFunless $line =~ /$ANNOTATION_RE/u
304100TFunless length $code_only
339100TFif ($line =~ /$VERBATIM_RE/u or $line =~ /\S/u and @current) { }
342100TFif (@current)
344100TFif length $code and _looks_like_perl($code)
355100TFif (@current)
357100TFif length $code and _looks_like_perl($code)
38350TFunless @non_empty
38550TF/^([ \t]*)/u ? :
40750TFunless $line =~ /\S/u
408100TFif $line =~ /^\s*#/u
410100TFif $line =~ /[\$\@\%]/u
412100TFif $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
414100TFif $line =~ /(?:->|::)/u
41650TFif $line =~ /=>/u