Branch Coverage

blib/lib/Getopt/Yath/Term.pm
Criterion Covered Total %
branch 9 16 56.2


line true false branch
13 1 0 if (eval { do { require Term::ANSIColor; 1 } }) { }
28 31 0 unless (defined $width)
30 0 31 unless $width and $width >= 80
33 0 31 ref $text ? :
39 130 31 $line ? :
41 0 161 if ($line and length $new > $width) { }
49 31 0 if $line
51 31 0 if (defined $prefix)