Condition Coverage

blib/lib/Dpkg/Arch.pm
Criterion Covered Total %
condition 46 73 63.0


and 3 conditions

line !l l&&!r l&&r condition
353 0 0 7 defined $abi and defined $libc
0 0 7 defined $abi and defined $libc and defined $os
0 0 7 defined $abi and defined $libc and defined $os and defined $cpu
0 0 7 defined $abi and defined $libc and defined $os and defined $cpu and exists $cputable{$cpu}
0 0 7 defined $abi and defined $libc and defined $os and defined $cpu and exists $cputable{$cpu} and exists $ostable{"$abi-$libc-$os"}
362 0 0 7 defined $gnu_cpu and defined $gnu_os
383 1 0 6 defined $cpu and defined $os
424 0 0 1898 defined $abi && defined $libc && defined $os && defined $cpu
552 0 2 1 $a[0] eq $b[0] && $a[1] eq $b[1] && $a[2] eq $b[2] && $a[3] eq $b[3]
573 0 0 13776 $alias[0] eq $real[0] || $alias[0] eq 'any' and $alias[1] eq $real[1] || $alias[1] eq 'any'
0 6 13770 $alias[0] eq $real[0] || $alias[0] eq 'any' and $alias[1] eq $real[1] || $alias[1] eq 'any' and $alias[2] eq $real[2] || $alias[2] eq 'any'
6 293 13477 $alias[0] eq $real[0] || $alias[0] eq 'any' and $alias[1] eq $real[1] || $alias[1] eq 'any' and $alias[2] eq $real[2] || $alias[2] eq 'any' and $alias[3] eq $real[3] || $alias[3] eq 'any'

or 2 conditions

line l !l condition
163 2 5 $ENV{'CC'} || 'gcc'
182 0 5 $ENV{'CC'} || 'gcc'

or 3 conditions

line l !l&&r !l&&!r condition
155 17 0 0 Dpkg::Build::Env::get('DEB_BUILD_ARCH') || &get_raw_build_arch()
237 4 51 0 Dpkg::Build::Env::get('DEB_HOST_ARCH') || &get_raw_host_arch()
331 28 0 3647 exists $debarch_to_debtuple{$da} or exists $debtuple_to_debarch{$dt}
516 1 41322 0 $abibits{$abi} // $cpubits{$cpu}
550 2 2 3 scalar @a != 4 or scalar @b != 4
566 72 540 13779 $alias eq $real or $alias eq 'any'
571 2 1 13776 scalar @real != 4 or scalar @alias != 4
573 4070 9706 0 $alias[0] eq $real[0] || $alias[0] eq 'any'
5687 8089 0 $alias[1] eq $real[1] || $alias[1] eq 'any'
6222 7548 6 $alias[2] eq $real[2] || $alias[2] eq 'any'
5930 7547 293 $alias[3] eq $real[3] || $alias[3] eq 'any'