Branch Coverage

blib/lib/Net/DRI/Data/Changes.pm
Criterion Covered Total %
branch 26 28 92.8


line true false branch
69 6 0 if (defined $type and defined $op and defined $el)
72 3 3 if $op =~ /^(?:0|add)$/
73 2 4 if $op =~ /^(?:1|del)$/
74 1 5 if $op =~ /^(?:2|set)$/
87 18 16 unless (defined $type)
93 3 13 unless exists $self->{$type} and defined $self->{$type}
94 7 6 if defined $self->{$type}[0]
95 6 7 if defined $self->{$type}[1]
96 2 11 if defined $self->{$type}[2]
103 30 8 unless (defined $new)
105 6 24 unless exists $self->{$type} and defined $self->{$type}
108 6 2 unless exists $self->{$type}
121 9 10 unless defined $type and $type and exists $self->{$type} and defined $self->{$type}
129 3 0 @o ? :