Branch Coverage

blib/lib/Test/Software/License.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
52 0 0 if ref $_[0] eq 'HASH'
61 0 0 unless ($$options{'strict'})
76 0 0 if ($#files == -1) { }
80 0 0 if ($$options{'diag'})
100 0 0 if ($#files == -1) { }
104 0 0 unless ($$options{'diag'})
127 0 0 if ($$options{'strict'}) { }
131 0 0 if ($#guesses >= 0) { }
151 0 0 if (-e 'META.yml') { }
167 0 0 if (@guess_yml) { }
181 0 0 if ($$meta_yml{'resources'}{'license'}) { }
188 0 0 if (_hack_check_license_url($$meta_yml{'resources'}{'license'}) ne 0) { }
191 0 0 if (any sub { /$$meta_yml{'resources'}{'license'}/; } , @guess_yml_url) { }
231 0 0 if (-e 'META.json') { }
251 0 0 if (@guess_json) { }
263 0 0 if ($$meta_json{'resources'}{'license'}) { }
271 0 0 if (_hack_check_license_url($$meta_json{'resources'}{'license'}) ne 0) { }
274 0 0 if (any sub { /$$meta_json{'resources'}{'license'}/; } , @guess_json_url) { }
316 0 0 if ($$options{'strict'}) { }
318 0 0 if (-e 'LICENSE') { }
332 0 0 if (any sub { /$meta_author_name/; } , @copyright_holder) { }
348 0 0 if (-e 'LICENSE') { }
406 0 0 if (@guess)
409 0 0 if (any sub { /$license_url/; } , @sl_urls)