Branch Coverage

blib/lib/Bot/IRC/X/Reminder.pm
Criterion Covered Total %
branch 0 46 0.0


line true false branch
35 0 0 if $target eq 'me'
38 0 0 if ($m->{'expr'} =~ /^(\d{1,2}):(\d{2})\s*([ap])m?$/iu) { }
0 0 elsif ($m->{'expr'} =~ /^(\d{1,2})(\d{2})$/u) { }
0 0 elsif ($m->{'expr'} =~ /^(?:\d+:)*\d+$/u) { }
39 0 0 lc $3 eq 'a' ? :
59 0 0 unless $bot->store->get('reminders')
65 0 0 lc $m->{'type'} eq 'every' ? :
0 0 $lapse ? :
79 0 0 unless $bot->store->get('reminders')
80 0 0 unless @reminders
85 0 0 if $_->{'time'}
86 0 0 unless $_->{'repeat'}
87 0 0 $_->{'repeat'} ? :
91 0 0 unless $_->{'time'} and $_->{'time'} <= time
94 0 0 if $reminders_changed
105 0 0 unless $bot->store->get('reminders')
107 0 0 if (lc $m->{'command'} eq 'list') { }
108 0 0 if (lc $m->{'scope'} eq 'mine')
113 0 0 lc $m->{'scope'} eq 'mine' ? :
0 0 unless @reminders
122 0 0 $reminders[$i]{'repeat'} ? :
123 0 0 if $i + 1 < @reminders
127 0 0 if (lc $m->{'scope'} eq 'mine') { }