Branch Coverage

blib/lib/Net/Google/Drive/Simple/Item.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
13 2 3 unless ref $data eq "HASH"
22 2 4 unless defined $mimeType
23 2 4 $mimeType eq 'application/vnd.google-apps.folder' ? :
27 1 2 $_[0]->is_folder ? :
40 0 25 unless $data and ref $data
42 19 6 if exists $data->{$key}
46 5 1 if ($lc_key ne $key)
48 5 0 if exists $mapping->{$lc_key}
57 3 2 if defined $self->{'_mapping'}