Branch Coverage

blib/lib/XAO/DO/Web/Math.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
63 0 1 if $a > $b
71 1 1 if $a < $b
103 1 17 defined $args->{'default'} ? :
115 31 45 if ($part =~ /^\{(\w+)\}$/) { }
118 0 31 unless $value =~ /^([\d\.\+e-]+)$/
123 0 45 unless $part =~ m[^[\s\w\(\)\.\+\*/,-]*$]
126 8 37 if ($part =~ /(\w+)\s*\(/)
127 2 6 unless $functions{$1}
143 4 12 if $@
147 4 8 if ($format)
156 6 0 if ($etext =~ /\{\{(\w+):\s*(.*?)\s*\}\}/) { }
170 4 14 if ($args->{'path'} or $args->{'template'}) { }