Lookup/DB/ctydat_full.pm

filter: Statementstmt 100% 10 / 10 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod 100% 1 / 1 totaltotal 93.3% 14 / 15 CC 2 SCAR 5.2
CC
2
Cov
92%
new
2.0
BEGIN
1.0
CRAP 1.7
« Lookup.pm ↑ Summary
1 package Ham::DXCC::Lookup::DB::ctydat_full;
2  
3 # ctydat_full.csv driver
4  
5 1 ▶use Database::Abstraction;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 =head1 VERSION
8  
9 Version 0.01
10  
11 =cut
12  
13 1 our $VERSION = '0.01';
14  
15 1 our @ISA = ('Database::Abstraction');
16  
17 # Standard CSV file - ',' separator and the first column is not "entry"
18 sub new
19 {
20 1 ▶ my $class = shift;
Subroutine new: called CC=2 SCAR=7.0
Pod documented
21 1 ▶ my %args = (ref($_[0]) eq 'HASH') ? %{$_[0]} : @_;
Branch: 1 branch
BranchTrueFalseTotal
ref $_[0] eq 'HASH' ? : 1 0 1
22  
23 1 return $class->SUPER::new(no_entry => 1, sep_char => ',', %args);
24 }
25  
26 1 1;
« Lookup.pm ↑ Summary