Branch Coverage

blib/lib/Net/Duo/Object.pm
Criterion Covered Total %
branch 39 50 78.0


line true false branch
37 255 326 if (ref $spec eq 'ARRAY') { }
44 426 155 wantarray ? :
69 60 155 unless exists $data_ref->{$field}
72 138 17 if ($type eq 'simple') { }
11 6 elsif ($type eq 'array') { }
6 0 elsif (defined $value) { }
136 3 19 if ($flags->{'boolean'}) { }
3 16 elsif ($flags->{'zero_or_one'}) { }
137 2 1 $data{$field} ? :
139 2 1 $data{$field} ? :
178 0 14 if ($flags->{'boolean'}) { }
0 14 elsif ($flags->{'zero_or_one'}) { }
179 0 0 $self->{$field} ? :
181 0 0 $self->{$field} ? :
198 34 4 unless $field =~ / \A _ /msux
229 270 48 if ($type eq 'simple') { }
234 14 21 unless $self->{$field}
244 72 246 if ($flags->{'set'})
245 72 0 if ($type eq 'simple') { }
289 11 72 if $field =~ / \A _ /msux
291 69 3 if ($type eq 'simple' or $type eq 'array') { }
292 3 66 if ($flags->{'boolean'}) { }
0 66 elsif ($flags->{'zero_or_one'}) { }
293 2 1 $self->{$field} ? :
295 0 0 $self->{$field} ? :