Branch Coverage

blib/lib/HTTP/WebTest/Plugin/DateTest.pm
Criterion Covered Total %
branch 24 34 70.5


line true false branch
156 0 0 if ($content =~ /\Q$start\E\s*(.+?)\s*\Q$end\E/)
160 0 0 $pgdate ? :
171 0 0 if @results
191 12 3 if ($date =~ /^\s*([\-+0-9.]+)\s*([smhdwSMHDW]).*/) { }
197 1 14 unless $date =~ /^[\-+0-9.]/
198 0 15 wantarray ? :
204 2 7 unless $date =~ /^[+-]?[\d\.]+$/
205 6 1 if (&TIMETAB($units))
206 2 4 $units eq 's' ? :
211 1 0 if ($frag = int $date / &TIMETAB('w'))
215 1 0 if ($frag = int $date / &TIMETAB('d'))
233 2 14 if $date =~ /^\s*$/gs
234 6 8 if $locale eq 'English'
249 0 8 if $@
255 63 7 if ($token =~ m[^[0-9,-:/\s]+$]) { }
260 7 77 if ($MoY[$i] =~ /^\Q$token\E.*/i)
267 1 7 unless $nwdate