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

filter: Statementstmt 100% 17 / 17 Branchbran 100% 4 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 100% 1 / 1 totaltotal 100% 25 / 25 CC 3 SCAR 7.9
CC
3
Cov
100%
is_year
3.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.2
« lib/Finance/Tax/Aruba/Role/Income/TaxYear.pm ↑ Summary lib/Finance/Tax/Aruba/Role/BBO/TaxYear.pm »
1 package Finance::Tax::Aruba::BBO::2025;
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 2025
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 -- believed to be in effect by this year, not yet
19 # confirmed against a published source.
20 2 has '+bbo_at_border' => (
21 default => 1,
22 );
23  
24 9 ▶sub is_year {
Subroutine is_year: called CC=3 SCAR=11.0
Pod documented
25 9 my $self = shift;
26 9 my $year = shift;
27 9 ▶ return 1 if $year == 2025;
Branch: 1 branch
BranchTrueFalseTotal
if $year == 2025 7 2 9
28 2 ▶ return 1 if $year == 2026;
Branch: 1 branch
BranchTrueFalseTotal
if $year == 2026 1 1 2
29 1 return 0;
30 }
31  
32 2 __PACKAGE__->meta->make_immutable;
33  
34 2 1;
35  
36 __END__
« lib/Finance/Tax/Aruba/Role/Income/TaxYear.pm ↑ Summary lib/Finance/Tax/Aruba/Role/BBO/TaxYear.pm »