Branch Coverage

blib/lib/BlankOnDev/DateTime.pm
Criterion Covered Total %
branch 0 136 0.0


line true false branch
28 0 0 if ($key_param eq 1)
29 0 0 if ($_[0] =~ /^[A-Za-z_]+/ and ref $_[0] ne 'HASH') { }
0 0 elsif (ref $_[0] eq 'HASH') { }
40 0 0 if ($key_param eq 2)
41 0 0 if ($_[0] =~ /^[A-Za-z_]+/ and ref $_[0] ne 'HASH') { }
0 0 elsif (ref $_[0] eq 'HASH') { }
48 0 0 if (ref $_[1] eq 'HASH') { }
0 0 elsif ($_[1] =~ /^[A-Za-z_]+/ and ref $_[1] ne 'HASH') { }
87 0 0 if ($minplus ne '')
91 0 0 $minplus =~ /\+/ ? :
94 0 0 if ($minplus =~ /[D]/)
97 0 0 $number eq '' ? :
98 0 0 if ($action eq 'add') { }
104 0 0 if ($minplus =~ /W/)
107 0 0 $number eq '' ? :
108 0 0 if ($action eq 'add') { }
114 0 0 if ($minplus =~ /M/)
117 0 0 $number eq '' ? :
118 0 0 if ($action eq 'add') { }
124 0 0 if ($minplus =~ /Y/)
127 0 0 $number eq '' ? :
128 0 0 if ($action eq 'add') { }
134 0 0 if ($minplus =~ /h/)
137 0 0 $number eq '' ? :
138 0 0 if ($action eq 'add') { }
144 0 0 if ($minplus =~ /m/)
147 0 0 $number eq '' ? :
148 0 0 if ($action eq 'add') { }
154 0 0 if ($minplus =~ /s/)
157 0 0 $number eq '' ? :
158 0 0 if ($action eq 'add') { }
185 0 0 if ($keys_param eq 0) { }
0 0 elsif ($keys_param eq 1) { }
0 0 elsif ($keys_param == 2) { }
0 0 elsif ($keys_param eq 3) { }
191 0 0 if ($_[0] =~ /^[0-9,.E]+$/)
196 0 0 if ($_[0] =~ m[^[A-Za-z/]+] and ref $_[0] ne 'HASH')
201 0 0 if (ref $_[0] eq 'HASH')
210 0 0 if ($_[0] =~ /^[0-9,.E]+$/) { }
0 0 elsif ($_[0] =~ m[^[A-Za-z/\w]+] and ref $_[0] ne 'HASH') { }
218 0 0 if ($_[1] =~ m[^[A-Za-z/]+] and ref $_[1] ne 'HASH') { }
0 0 elsif ($_[1] =~ /^[0-9,.E]+$/ and ref $_[1] ne 'HASH') { }
0 0 elsif (ref $_[1] eq 'HASH') { }
234 0 0 if (exists $_[0] and $_[0] =~ /^[0-9,.E]+$/) { }
240 0 0 if (exists $_[1] and $_[1] =~ m[^[A-Za-z/]+] and ref $_[1] ne 'HASH') { }
247 0 0 if (exists $_[2] and ref $_[2] eq 'HASH') { }
258 0 0 if ($language) { }
295 0 0 if (ref $attribute eq 'HASH') { }
298 0 0 $attribute->{'date'} ? :
299 0 0 $attribute->{'time'} ? :
300 0 0 $attribute->{'datetime'} ? :
301 0 0 $attribute->{'minplus'} ? :
323 0 0 $attribute->{'format'} ? :
444 0 0 if ($keys_param eq 0) { }
0 0 elsif ($keys_param eq 1) { }
0 0 elsif ($keys_param == 2) { }
0 0 elsif ($keys_param eq 3) { }
450 0 0 if ($_[0] =~ /^[0-9,.E]+$/)
455 0 0 if ($_[0] =~ m[^[A-Za-z/]+] and ref $_[0] ne 'HASH')
460 0 0 if (ref $_[0] eq 'HASH')
469 0 0 if ($_[0] =~ /^[0-9,.E]+$/) { }
0 0 elsif ($_[0] =~ m[^[A-Za-z/\w]+] and ref $_[0] ne 'HASH') { }
477 0 0 if ($_[1] =~ m[^[A-Za-z/]+] and ref $_[1] ne 'HASH') { }
0 0 elsif ($_[1] =~ /^[0-9,.E]+$/ and ref $_[1] ne 'HASH') { }
0 0 elsif (ref $_[1] eq 'HASH') { }
492 0 0 if ($_[0] =~ /^[0-9,.E]+$/) { }
498 0 0 if ($_[1] =~ m[^[A-Za-z/]+] and ref $_[1] ne 'HASH') { }
505 0 0 if (ref $_[2] eq 'HASH') { }