Branch Coverage

blib/lib/MiniPAN.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
62 0 0 unless -d $BUILD_DIR
80 0 0 unless (-d $$self{'local_path'})
82 0 0 unless mkdir $$self{'local_path'}
85 0 0 unless chdir $$self{'local_path'}
89 0 0 if (-f $filename . $suffix) { }
100 0 0 if -d $filename
103 0 0 unless $tar->read($filename . $suffix, undef, {'extract', 1})
121 0 0 unless chdir $$self{'src_dir'}
124 0 0 if (-f 'Build.PL') { }
133 0 0 if @deps
148 0 0 unless chdir $$self{'src_dir'}
152 0 0 if -f 'Build'
156 0 0 unless system($build_script) == 0
159 0 0 unless system($build_script, 'test') == 0
162 0 0 unless system('sudo', $build_script, 'install') == 0
165 0 0 if $@
167 0 0 unless chdir $BUILD_DIR
180 0 0 unless $response->is_success
190 0 0 unless $module =~ /^\w+(::\w+)*$/o
203 0 0 unless chdir $BUILD_DIR
205 0 0 unless (-f $MOD_LIST)
208 0 0 unless gunzip("$MOD_LIST.gz", $MOD_LIST)
219 0 0 unless open LIST, "< $BUILD_DIR$MOD_LIST"
222 0 0 unless grep /^$$self{'module'}\s/, $_
227 0 0 unless $path