Condition Coverage

blib/lib/Unicode/CharWidth.pm
Criterion Covered Total %
condition 4 17 23.5


and 3 conditions

line !l l&&!r l&&r condition
39 2 0 0 $arg and $arg eq '-gen'
173 0 0 2 ref $tab eq 'HASH' and $ncn == grep({exists $tab->{$_};} ('InZerowidth', 'InSinglewidth', 'InDoublewidth', 'InNowidth'))
0 0 2 ref $tab eq 'HASH' and $ncn == grep({exists $tab->{$_};} ('InZerowidth', 'InSinglewidth', 'InDoublewidth', 'InNowidth')) and $ncn == grep({defined $tab->{$_};} ('InZerowidth', 'InSinglewidth', 'InDoublewidth', 'InNowidth'))

or 2 conditions

line l !l condition
47 2 0 'Exporter'->can('import') || die(q[Exporter can't import?])

or 3 conditions

line l !l&&r !l&&!r condition
87 0 0 0 $ENV{'LC_CTYPE'} or $ENV{'LANG'}
0 0 0 $ENV{'LC_CTYPE'} or $ENV{'LANG'} or $ENV{'LC_ALL'}