Branch Coverage

blib/lib/Progress/Any/Output/TermSpin.pm
Criterion Covered Total %
branch 9 32 28.1


line true false branch
33 0 2 if $ph1
47 0 2 if defined &{'Log::Any::Adapter::ScreenColoredLevel::hook_after_log';}
58 0 0 unless $printed_log
61 0 0 if $$out{'show_delay'}
63 0 2 if defined &{'Log::Any::Adapter::ScreenColoredLevel::hook_before_log';}
70 0 0 unless $printed_log
88 0 2 unless $STYLES{$args{'style'}}
96 0 2 if keys %args0
116 0 2 if (defined $$self{'show_delay'})
117 0 0 if $now - $$self{'show_delay'} < $$self{'_last_hide_time'}
122 0 2 if (defined $$self{'_lastlen'})
128 2 0 if (not defined $$self{'_char_index'}) { }
132 0 0 if ($now - $$self{'_last_change_char_time'} > $$self{'speed'})
135 0 0 if $$self{'_char_index'} >= length $chars
153 0 0 unless $ll
167 1 0 unless $printed_log