Branch Coverage

blib/lib/Games/Lacuna/Task/Utils.pm
Criterion Covered Total %
branch 9 24 37.5


line true false branch
28 0 1 if ref $class
40 0 3 unless defined $name
54 0 1 unless defined $name
63 0 1 unless defined $name
83 0 0 unless ref $value
85 0 0 if blessed $value and $value->can('stringify')
87 0 0 if blessed $value and $value->can('message')
99 0 9 unless defined $name
116 0 1 unless defined $date
118 1 0 if ($date =~ /^ (?<day>\d{2}) \s (?<month>\d{2}) \s (?<year>20\d{2}) \s (?<hour>\d{2}) : (?<minute>\d{2}) : (?<second>\d{2}) \s \+(?<timezoneoffset>\d{4}) $/x)
128 0 1 if $+{'timezoneoffset'} != 0
144 0 1 unless defined $date and $date =~ /^\d+$/