Branch Coverage

blib/lib/Data/Petitcom/QRCode.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
78 6 6 @_ > 1 ? :
6 6 @_ > 1 ? :
6 6 @_ > 1 ? :
81 0 6 ref $_[0] ? :
83 6 0 if $self->can('init')
91 18 0 $self->can($_) ? :
119 1 4 $plot_type eq 'image' ? :
165 0 5 unless my $deflater = &Compress::Zlib::deflateInit()
195 2 15 if $version < 1 or $version > 24
197 0 15 if $ecc < 0 or $ecc > 3
199 1 14 if [[0, 0, 0, 0], [17, 14, 11, 7], [32, 26, 20, 14], [53, 42, 32, 24], [78, 62, 46, 34], [106, 84, 60, 44], [134, 106, 74, 58], [154, 122, 86, 64], [192, 152, 108, 84], [230, 180, 130, 98], [271, 213, 151, 119], [321, 251, 177, 137], [367, 287, 203, 155], [425, 331, 241, 177], [458, 362, 258, 194], [520, 412, 292, 220], [586, 450, 322, 250], [644, 504, 364, 280], [718, 560, 394, 310], [792, 624, 442, 338], [858, 666, 482, 382], [929, 711, 509, 403], [1003, 779, 565, 439], [1091, 857, 611, 461], [1171, 911, 661, 511], [1273, 997, 715, 535], [1367, 1059, 751, 593], [1465, 1125, 805, 625], [1528, 1190, 868, 658], [1628, 1264, 908, 698], [1732, 1370, 982, 742], [1840, 1452, 1030, 790], [1952, 1538, 1112, 842], [2068, 1628, 1168, 898], [2188, 1722, 1228, 958], [2303, 1809, 1283, 983], [2431, 1911, 1351, 1051], [2563, 1989, 1423, 1093], [2699, 2099, 1499, 1139], [2809, 2213, 1579, 1219], [2953, 2331, 1663, 1273]]->[$version][$ecc] <= 36
237 4629 5172 $module ? :
9801 99 $module =~ /^[01]$/ ? :