blib/lib/Business/Tax/Canada.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 20 | 55.0 |
line | true | false | branch |
---|---|---|---|
46 | 0 | 3 | unless my $province_from = $params{'from'} |
47 | 0 | 3 | unless my $province_to = $params{'to'} |
48 | 0 | 3 | unless my $price = $params{'price'} |
79 | 2 | 1 | if lc $province_from eq lc $province_to |
80 | 0 | 3 | if (lc $province_from =~ /pe/ or $province_to =~ /pe/) |
82 | 0 | 0 | if lc $province_from eq lc $province_to |
89 | 0 | 3 | unless $_[0]{'full'} |
90 | 0 | 3 | unless $_[0]{'gst'} |
91 | 2 | 1 | unless $_[0]{'pst'} |
93 | 0 | 3 | unless $_[0]{'net'} |