Branch Coverage

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


line true false branch
82 7 17 if (/^#(\w+)\r?\n(.+)/s) { }
4 13 elsif ($_ eq '-') { }
92 0 11 if $sname eq 'DELETED'
93 4 7 if ($sname eq 'endfolder')
95 0 4 if $cur_level <= 0
99 4 3 if ($sname eq 'FOLDER') { }
3 0 elsif ($sname eq 'URL') { }
101 0 4 if $name eq 'Trash' and $cur_level == 1
102 2 2 if $name ne 'Trash' and $cur_level == 1
103 4 0 unless ($in_trash and $exclude_trash)
112 3 0 unless ($in_trash and $exclude_trash)
164 0 7 unless ($section =~ /^(\*+) (\w+): ?(.*)/)
169 0 7 if ($type ne 'FOLDER' and $type ne 'URL')
173 4 3 if ($type eq 'FOLDER')
175 1 3 if (defined $prev_level and $level <= $prev_level)
191 1 0 if (defined $prev_level)