Branch Coverage

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


line true false branch
35 250 311 if (ref $spec eq 'ARRAY') { }
42 426 135 wantarray ? :
67 50 135 unless exists $data_ref->{$field}
70 120 15 if ($type eq 'simple') { }
9 6 elsif ($type eq 'array') { }
6 0 elsif (defined $value) { }
134 3 19 if ($flags->{'boolean'}) { }
3 16 elsif ($flags->{'zero_or_one'}) { }
135 2 1 $data{$field} ? :
137 2 1 $data{$field} ? :
176 0 14 if ($flags->{'boolean'}) { }
0 14 elsif ($flags->{'zero_or_one'}) { }
177 0 0 $self->{$field} ? :
179 0 0 $self->{$field} ? :
196 34 4 unless $field =~ / \A _ /msux
227 270 48 if ($type eq 'simple') { }
232 11 19 unless $self->{$field}
242 72 246 if ($flags->{'set'})
243 72 0 if ($type eq 'simple') { }
287 11 72 if $field =~ / \A _ /msux
289 69 3 if ($type eq 'simple' or $type eq 'array') { }
290 3 66 if ($flags->{'boolean'}) { }
0 66 elsif ($flags->{'zero_or_one'}) { }
291 2 1 $self->{$field} ? :
293 0 0 $self->{$field} ? :