Branch Coverage

blib/lib/Business/EDI/CodeList.pm
Criterion Covered Total %
branch 24 42 57.1


line true false branch
24 0 2965 unless my $type = shift()
25 0 2965 unless $type
26 2955 10 if ($type =~ /^\d{4}$/)
28 2955 0 if (exists $$map{$type}) { }
29 0 2955 if $verbose
35 0 2965 $type =~ /^Business::EDI::CodeList::./ ? :
36 0 2965 unless ($realtype->require)
49 0 2966 unless ($self->init($code, @_))
50 0 0 defined $code ? :
59 6 2960 unless defined $value
61 0 2966 if $verbose
63 0 2966 @_ ? :
65 284 2682 unless (length $value and $$codes{$value})
66 0 284 if $verbose
85 0 4 if @_
86 3 133 if @_
87 3 21 if @_
88 0 313 if @_
92 0 0 unless my $name = shift()
95 0 0 if $$map{$_} eq $name
102 14 2954 unless %codemap