Branch Coverage

blib/lib/UI/Various/PoorTerm/Box.pm
Criterion Covered Total %
branch 30 30 100.0


line true false branch
82 11 28 unless defined $prefix
89 32 7 $level <= 1 ? :
90 32 7 $self->border ? :
92 22 17 if $prefix ne ""
98 61 25 if $_->can("_process")
112 16 86 unless defined $_
114 32 54 if ($prefix =~ /[^ ]/u) { }
42 12 elsif ($prefix eq '') { }
116 9 23 if ($active == 1 and $_->can('_process')) { }
123 31 11 $_->can('_process') ? :
133 22 17 if ($prefix ne '') { }
170 2 3 if $active == 1
171 2 3 if $active <= 1
179 3 8 if /^0$/u
180 2 6 unless ($_ =~ /^\d+$/u and $_ <= @{$$self{"_active"};})