Branch Coverage

blib/lib/WWW/MetaForge/ArcRaiders/CLI/Cmd/Event.pm
Criterion Covered Total %
branch 13 32 40.6


line true false branch
22 1 1 unless ($event_name)
33 2 0 if $_->name
37 0 1 unless (@matches)
39 0 0 if $_->name
44 0 1 if ($self->map and @matches)
46 0 0 if $_->map
51 1 0 if (@matches == 1) { }
0 0 elsif (@matches > 1) { }
62 0 1 unless ($event)
67 0 1 if ($app->json)
86 0 1 $event->is_active_now ? :
89 0 1 if ($event->is_active_now) { }
91 0 0 if $ends_in
94 0 1 if $starts_in
97 1 0 if ($event->times and @{$event->times;})
108 0 3 unless defined $value