Branch Coverage

blib/lib/Telegram/BotKit/Keyboards.pm
Criterion Covered Total %
branch 6 18 33.3


line true false branch
19 0 0 unless (defined $k_per_row)
20 0 0 if ($is_inline_flag) { }
28 0 0 if ($i % $k_per_row == 0 or $i == scalar @$keys)
44 0 1 unless (defined $k_per_row)
45 0 0 if ($is_inline_flag) { }
52 2 3 if ($i % $k_per_row == 0 or $i == scalar @$keys)
81 0 2 if (defined $data_structure->{'inline_keyboard'}) { }
2 0 elsif (defined $data_structure->{'keyboard'}) { }
93 0 6 if ($is_inline_flag) { }