Branch Coverage

blib/lib/Org/Element/Setting.pm
Criterion Covered Total %
branch 39 46 84.7


line true false branch
125 2 52 if ($name eq 'DRAWERS') { }
5 47 elsif ($name eq 'FILETAGS') { }
8 39 elsif ($name eq 'PRIORITIES') { }
4 35 elsif ($name eq 'PROPERTY') { }
26 9 elsif ($name =~ /^(SEQ_TODO|TODO|TYP_TODO)$/l) { }
126 1 1 if ($pass == 1)
129 2 0 unless $_ ~~ \@{$doc->drawer_names;}
133 3 2 if ($pass == 1)
135 1 2 unless $args->[0] =~ /^$Org::Document::tags_re$/l
138 2 5 unless length $_
140 5 0 unless $_ ~~ \@{$doc->tags;}
144 4 4 if ($pass == 1)
150 2 2 if ($pass == 1)
151 0 2 unless @$args >= 2
153 0 2 @$args > 1 ? :
156 13 13 if ($pass == 1)
160 12 38 if ($arg eq "|")
161 1 22 if not $done and @$args > 1 and $i == @$args - 1
162 16 22 $done ? :
163 38 0 unless $arg ~~ \@$ary
167 9 0 unless ($self->document->ignore_unknown_settings)
168 1 8 unless $name ~~ \@known_settings
178 2 0 $self->args && @{$self->args;} ? :