Branch Coverage

blib/lib/Flower/Chronos/Tracker.pm
Criterion Covered Total %
branch 15 20 75.0


line true false branch
26 2 16 if ($self->_is_time_to_flush)
27 0 2 unless $self->{'prev'}
2 0 if (%{{} unless $self->{'prev'};})
39 0 18 if ($x11->idle_time > $self->{'idle_timeout'}) { }
49 18 0 unless $info->{'idle'}
55 0 1 if (not $prev->{'id'} or $info->{'id'} ne $prev->{'id'} or $info->{'name'} ne $prev->{'name'} or $info->{'role'} ne $prev->{'role'} or $info->{'class'} ne $prev->{'class'})
61 5 12 if (%$prev)
82 1 8 if $@
84 4 4 if $rv
93 2 16 if ($self->_time - $self->{'flush_time'} > $self->{'flush_timeout'})