Branch Coverage

blib/lib/App/ConvertOperaBookmarksToOrg.pm
Criterion Covered Total %
branch 23 32 71.8


line true false branch
83 7 17 if (/^#(\w+)\r?\n(.+)/s) { }
4 13 elsif ($_ eq '-') { }
93 0 11 if $sname eq 'DELETED'
94 4 7 if ($sname eq 'endfolder')
96 0 4 if $cur_level <= 0
100 4 3 if ($sname eq 'FOLDER') { }
3 0 elsif ($sname eq 'URL') { }
102 0 4 if $name eq 'Trash' and $cur_level == 1
103 2 2 if $name ne 'Trash' and $cur_level == 1
104 4 0 unless ($in_trash and $exclude_trash)
113 3 0 unless ($in_trash and $exclude_trash)
165 0 7 unless ($section =~ /^(\*+) (\w+): ?(.*)/)
170 0 7 if ($type ne 'FOLDER' and $type ne 'URL')
174 4 3 if ($type eq 'FOLDER')
176 1 3 if (defined $prev_level and $level <= $prev_level)
192 1 0 if (defined $prev_level)