Condition Coverage

blib/script/licensecheck
Criterion Covered Total %
condition 9 40 22.5


and 3 conditions

line !l l&&!r l&&r condition
500 0 0 0 $OPT{'skipped'} and $main::log->is_warn
537 0 0 0 $OPT{'merge-licenses'} and $owneryears_seem_correct
554 0 0 0 @copyrights and $OPT{'copyright'}

or 2 conditions

line l !l condition
533 0 0 $owner or ""
546 1 0 join(' / ', @copyrights) || '*No copyright*'

or 3 conditions

line l !l&&r !l&&!r condition
50 0 7 0 exists $ENV{'NO_COLOR'} || $ENV{'COLOR'} && !$ENV{'COLOR'} || !is_interactive()
357 0 0 5 $OPT{'deb-machine'} or $OPT{'deb-fmt'}
0 2 3 $OPT{'deb-machine'} or $OPT{'deb-fmt'} or $OPT{'list-licenses'}
2 0 3 $OPT{'deb-machine'} or $OPT{'deb-fmt'} or $OPT{'list-licenses'} or $OPT{'list-naming-schemes'}
468 0 3 0 not $check_regex or $check_regex eq "common source files"
476 0 3 0 not $ignore_regex or $ignore_regex eq "some backup and VCS files"
500 0 0 0 $main::log->is_debug or $OPT{'skipped'} and $main::log->is_warn
531 0 0 0 $owneryear || ()
0 0 0 $owner || ()