VCD/Taxon.pm

filter: Statementstmt 53.8% 7 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 2 / 4 Podpod 0.0% 0 / 2 totaltotal 47.3% 9 / 19 CC 1 SCAR 4.1
CC
1
Cov
54%
new
2.0
field
2.0
BEGIN
1.0
CRAP 1.5
« VCD.pm ↑ Summary VCD/Format.pm »
1 package SVG::VCD::Taxon;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6  
7 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
8 0 my $class = shift();
9 0 my(%fields) = @_;
10  
11 0 return bless {
12 %fields
13 }, $class;
14 }
15  
16  
17 0 ▶sub field {
Subroutine field: not called CC=1 SCAR=6.9
Pod undocumented
18 0 my $this = shift();
19 0 my($key) = @_;
20  
21 0 return $this->{$key};
22 }
23  
24  
25 1 1;
« VCD.pm ↑ Summary VCD/Format.pm »