Branch Coverage

blib/lib/Date/Transform.pm
Criterion Covered Total %
branch 83 134 61.9


line true false branch
56 0 1 if (scalar @_ < 2)
126 1 0 if ($input =~ /$$self{'filter'}{'regexp'}/i) { }
177 1 0 if (exists $$required{'S'})
181 1 0 if ($supplied->EXISTS('S')) { }
198 1 0 if ($$required{'M'})
200 1 0 if ($supplied->EXISTS('M'))
212 1 0 if (exists $$required{'H'})
216 0 1 if ($supplied->EXISTS('H')) { }
0 1 elsif ($supplied->EXISTS('k')) { }
1 0 elsif ($supplied->EXISTS('i') and $supplied->EXISTS('p')) { }
243 1 0 if (exists $$required{'d'})
247 0 1 if ($supplied->EXISTS('d')) { }
1 0 elsif ($supplied->EXISTS('e')) { }
265 1 0 if (exists $$required{'m'})
269 0 1 if ($supplied->EXISTS('m')) { }
0 1 elsif ($supplied->EXISTS('f')) { }
0 1 elsif ($supplied->EXISTS('b')) { }
0 1 elsif ($supplied->EXISTS('h')) { }
1 0 elsif ($supplied->EXISTS('B')) { }
310 1 0 if (exists $$required{'Y'})
314 1 0 if ($supplied->EXISTS('y')) { }
0 0 elsif ($supplied->EXISTS('Y')) { }
387 0 6 unless ($is{$or})
426 39 37 if ($r2 eq '%')
468 28 26 if ($r2 eq '%') { }
474 1 27 if (&Switch::case(['T', 'X']))
475 1 26 if (&Switch::case('c'))
476 0 26 if (&Switch::case(['C', 'u']))
477 0 26 if (&Switch::case('g'))
478 1 25 if (&Switch::case(['D', 'x']))
480 0 25 if (&Switch::case('r'))
481 0 25 if (&Switch::case('R'))
482 0 25 if (&Switch::case('V'))
483 0 25 if (&Switch::case('Q'))
484 0 25 if (&Switch::case('q'))
485 0 25 if (&Switch::case('P'))
486 0 25 if (&Switch::case('F'))
487 0 25 if (&Switch::case('J'))
488 0 25 if (&Switch::case('K')) { }
532 3 24 if (&Switch::case(['Y', 'y', 'G', 'L']))
535 4 20 if (&Switch::case(['m', 'f', 'b', 'h', 'B']))
538 6 14 if (&Switch::case(['U', 'W', 'j', 'v', 'a', 'A', 'w']))
543 3 11 if (&Switch::case(['d', 'e', 'E']))
546 4 7 if (&Switch::case(['H', 'k', 'i', 'l', 'p']))
549 2 5 if (&Switch::case(['M']))
552 2 3 if (&Switch::case(['S']))
581 1 6 if (&Switch::case('y'))
582 0 6 if (&Switch::case(['Y', 'G', 'L']))
585 0 6 if (&Switch::case('m'))
586 0 6 if (&Switch::case('f'))
587 0 6 if (&Switch::case(['b', 'h']))
590 1 5 if (&Switch::case('B'))
594 0 5 if (&Switch::case(['U', 'W']))
597 0 5 if (&Switch::case('j'))
598 0 5 if (&Switch::case('d'))
599 1 4 if (&Switch::case('e'))
600 0 4 if (&Switch::case('v'))
601 0 4 if (&Switch::case('a'))
602 0 4 if (&Switch::case('A'))
605 0 4 if (&Switch::case('w'))
606 0 4 if (&Switch::case('E'))
609 0 4 if (&Switch::case('H'))
610 0 4 if (&Switch::case('k'))
611 1 3 if (&Switch::case('i'))
612 0 3 if (&Switch::case('I'))
613 1 2 if (&Switch::case('p'))
615 2 0 if (&Switch::case(['M', 'S'])) { }