Branch Coverage

blib/lib/MongoDBx/Tiny/GridFS.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
27 0 0 unless my $gridfs = shift()
28 0 0 unless my $field = shift()
59 0 0 unless my $proto = shift()
60 0 0 unless my $opt = shift()
63 0 0 if (ref $proto) { }
70 0 0 if (ref $opt ne 'HASH')
84 0 0 unless ($no_exists_check)
86 0 0 if $self->exists_file($meta{$self->field})
105 0 0 unless my $proto = shift()
107 0 0 ref $proto eq 'MongoDB::OID' ? :
0 0 ref $proto eq 'HASH' ? :
111 0 0 unless $gridfs_object
124 0 0 unless my $proto = shift()
126 0 0 ref $proto eq 'MongoDB::OID' ? :
0 0 ref $proto eq 'HASH' ? :
144 0 0 unless my $val = shift()
167 0 0 unless my $g_file = shift()
168 0 0 unless my $field = shift()
171 0 0 unless ($class->can($field))