Branch Coverage

blib/lib/Business/Tax/ID/PPH21.pm
Criterion Covered Total %
branch 14 50 28.0


line true false branch
121 0 2 if ($year >= 2022 and $year <= $latest_supported_year) { }
2 0 elsif ($year >= 2009 and $year <= 2022) { }
0 0 elsif ($year >= 2000 and $year <= 2008) { }
205 3 0 if ($year >= 2016 and $year <= $latest_supported_year) { }
0 0 elsif ($year >= 2015 and $year <= 2015) { }
0 0 elsif ($year >= 2013 and $year <= 2014) { }
0 0 elsif ($year >= 2009 and $year <= 2012) { }
0 0 elsif ($year >= 2006 and $year <= 2008) { }
0 0 elsif ($year >= 2005 and $year <= 2005) { }
0 0 elsif ($year >= 2001 and $year <= 2004) { }
0 0 elsif ($year >= 1994 and $year <= 2000) { }
0 0 elsif ($year >= 1983 and $year <= 1994) { }
238 1 5 $_[0] < $_[1] ? :
268 0 3 unless $res->[0] == 200
270 0 3 unless my $ptkp = $ptkps->{$tp_status}
274 1 2 if $pkp <= 0
277 0 2 unless $res->[0] == 200
282 6 1 if (defined $bracket->{'max'}) { }
285 1 5 if $pkp <= $bracket->{'max'}
334 0 0 unless $res->[0] == 200
336 0 0 unless my $ptkp = $ptkps->{$tp_status}
340 0 0 unless $res->[0] == 200
345 0 0 if (defined $bracket->{'max'}) { }
348 0 0 if ($pph21_op <= $bracket_tax) { }
360 0 0 $args{'monthly'} ? :