Branch Coverage

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


line true false branch
20 0 0 unless (defined $k_per_row)
21 0 0 if ($is_inline_flag) { }
29 0 0 if ($i % $k_per_row == 0 or $i == scalar @$keys)
46 0 1 unless (defined $k_per_row)
47 0 0 if ($is_inline_flag) { }
54 2 3 if ($i % $k_per_row == 0 or $i == scalar @$keys)
84 0 2 if (defined $data_structure->{'inline_keyboard'}) { }
2 0 elsif (defined $data_structure->{'keyboard'}) { }
96 0 6 if ($is_inline_flag) { }