Branch Coverage

lib/Conan/Deploy.pm
Criterion Covered Total %
branch 10 26 38.4


line true false branch
12 2 0 unless -f $_
13 0 0 if -f $_
18 0 0 unless $fd
27 0 0 if /^(\S+)=(\S+)/
55 0 1 unless (defined $$self{'srcimagebase'})
59 0 1 unless (-d "$$self{'srcimagebase'}")
63 0 1 unless ($$self{'targetimagebase'})
68 0 1 unless (-d "$$self{'targetimagebase'}")
73 1 0 unless ($image =~ m[/])
77 0 1 unless (-d $image or -f $image)
85 0 1 unless $obj->exec({'src', $image, 'dest', $$self{'targetimagebase'}})
113 4 0 if /^(\S+)\s+(\S+)/
122 0 2 if $t{"$file"} ne $s{"$file"}