Branch Coverage

blib/lib/Metabrik/Lookup/Countrycode.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
55 0 0 unless (defined $data)
56 0 0 unless $data = $self->load
67 0 0 unless (defined $data)
68 0 0 unless $data = $self->load_by_tld
78 0 0 unless my $data = $self->_load
93 0 0 unless my $data = $self->_load
115 0 0 unless my $sf = 'Metabrik::System::File'->new_from_brik_init($self)
120 0 0 unless my $get = $self->get($uri)
152 0 0 unless my $fc = 'Metabrik::File::Csv'->new_from_brik_init($self)
160 0 0 unless $fc->write(\@cc, $input)
170 0 0 unless $self->brik_help_run_undef_arg('load', $input)
171 0 0 unless $self->brik_help_run_file_not_found('load', $input)
173 0 0 unless my $fc = 'Metabrik::File::Csv'->new_from_brik_init($self)
178 0 0 unless my $csv = $fc->read($input)
188 0 0 unless $self->brik_help_run_undef_arg('load_by_tld', $input)
189 0 0 unless $self->brik_help_run_file_not_found('load_by_tld', $input)
191 0 0 unless my $fc = 'Metabrik::File::Csv'->new_from_brik_init($self)
196 0 0 unless my $csv = $fc->read($input)
210 0 0 unless $self->brik_help_run_undef_arg('from_tld', $tld)
212 0 0 unless my $data = $self->_load_by_tld
214 0 0 if (exists $$data{lc $tld})