Branch Coverage

blib/lib/Term/GentooFunctions.pm
Criterion Covered Total %
branch 34 78 43.5


line true false branch
10 0 6 if $old
11 0 6 if $old and $new
12 0 6 if $new
70 0 10 unless $enable_colors
72 4 0 defined $_[0] ? :
73 10 0 defined wantarray ? :
82 76 0 if (defined $attr and $sub_name =~ /^[A-Z_]+$/) { }
84 76 0 if ($enable_colors)
86 0 0 if $AUTORESET and @_ and not $out =~ /\e\[0m$/s
88 76 0 defined wantarray ? :
102 6 0 unless defined $ENV{'RC_DEFAULT_INDENT'}
103 6 0 unless defined $ENV{'RC_INDENTATION'}
108 1 0 if @_
113 0 0 @_ > 0 ? :
115 0 0 if $is_spinning
124 0 0 if $quiet
153 1 14 if $quiet
154 0 14 if $is_spinning
156 0 14 if $is_spinning
166 0 1 if $quiet
167 0 1 if $is_spinning
169 0 1 if $is_spinning
175 0 2 if $quiet
176 0 2 if $is_spinning
178 0 2 if $is_spinning
182 5 1 @_ > 0 ? :
184 1 5 if $quiet
187 0 5 if $@
189 0 5 if $@
191 4 1 $res ? :
206 0 1 if ($wa) { }
207 0 1 unless $r
212 0 1 if $wa
217 0 0 if $post_spin_lines < 0
219 0 0 if ($post_spin_lines == 0)
251 0 0 if $quiet
254 0 0 if ($_[0]) { }
265 0 0 if $quiet
278 0 6 if ($is_spinning)