lib/Finance/Tax/Aruba/BBO/2024.pm

filter: Statementstmt 100% 16 / 16 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 100% 1 / 1 totaltotal 100% 22 / 22 CC 2 SCAR 4.1
CC
2
Cov
100%
is_year
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.5
« lib/Finance/Tax/Aruba/BBO/2023.pm ↑ Summary lib/Finance/Tax/Aruba/Income/2026.pm »
1 package Finance::Tax::Aruba::BBO::2024;
2 2 our $VERSION = '0.014';
3 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 # ABSTRACT: BBO calculator for the year 2024
7  
8 2 with qw(
9 Finance::Tax::Aruba::Role::BBO::TaxYear
10 );
11  
12 # PLACEHOLDER -- rate not yet confirmed against a published source for
13 # this year. Do not treat this value as authoritative.
14 2 has '+rate' => (
15 default => 0.07,
16 );
17  
18 # PLACEHOLDER -- the import-credit mechanism is believed to have taken
19 # effect around this year, but the exact year is not yet confirmed
20 # against a published source.
21 2 has '+bbo_at_border' => (
22 default => 1,
23 );
24  
25 10 ▶sub is_year {
Subroutine is_year: called CC=2 SCAR=6.9
Pod documented
26 10 my $self = shift;
27 10 my $year = shift;
28 10 ▶ return 1 if $year == 2024;
Branch: 1 branch
BranchTrueFalseTotal
if $year == 2024 1 9 10
29 9 return 0;
30 }
31  
32 2 __PACKAGE__->meta->make_immutable;
33  
34 2 1;
35  
36 __END__
« lib/Finance/Tax/Aruba/BBO/2023.pm ↑ Summary lib/Finance/Tax/Aruba/Income/2026.pm »