Branch Coverage

blib/lib/VSS.pm
Criterion Covered Total %
branch 0 70 0.0


line true false branch
40 0 0 if (exists $$self{$_}) { }
48 0 0 unless (defined $$self{'db_path'})
56 0 0 unless defined $$self{'db_path'}
73 0 0 unless (UNIVERSAL::isa($item, 'Win32::OLE'))
74 0 0 unless ($item =~ /^\$/)
83 0 0 unless (UNIVERSAL::isa($item, 'Win32::OLE'))
93 0 0 if (UNIVERSAL::isa($item, 'Win32::OLE'))
97 0 0 unless ($item =~ /^\$/)
106 0 0 unless $$self{'debug'}
107 0 0 if (UNIVERSAL::isa($val, 'Win32::OLE')) { }
122 0 0 if ($err)
123 0 0 if ($err =~ /0x8004d68f/ and $err =~ /File or project not found/)
136 0 0 unless ($vss_item)
147 0 0 unless ($vss_item)
149 0 0 if ($vss_item->IsCheckedOut)
162 0 0 unless ($vss_item)
176 0 0 unless ($from)
177 0 0 unless ($to)
179 0 0 if ($from->IsCheckedOut)
180 0 0 if ($autocheckin) { }
199 0 0 unless ($file_item->isa('Win32::OLE'))
211 0 0 unless ($from->isa('Win32::OLE'))
215 0 0 if ($self->item_exists($to))
216 0 0 if ($delete_if_exists) { }
229 0 0 unless ($to->isa('Win32::OLE'))
241 0 0 unless ($item->isa('Win32::OLE'))
251 0 0 unless (-e $local_file)
268 0 0 unless ($self->item_exists($tmp_dir))
284 0 0 unless (-e $local_file_path)
286 0 0 unless ($local_file_path =~ /$local_file_name$/i)
290 0 0 if ($self->item_exists($vss_name))
292 0 0 unless ($item)
297 0 0 unless ($localspec)
302 0 0 unless File::Copy::copy($local_file_path, $localspec)
314 0 0 if ($cache = 'Win32::OLE'->LastError)