Branch Coverage

bin/vcardtidy
Criterion Covered Total %
branch 13 36 36.1


line true false branch
85 0 1 if ($opts->{'input'} eq '-') { }
100 0 0 if $opts->{'debug'}
106 0 0 if $@
110 0 0 if $@
111 0 0 if $opts->{'debug'}
117 0 1 if ($@)
123 0 1 if (0 == @vcards)
146 0 1 unless ($vcard->get("FN"))
147 0 0 if ($opts->{'force'}) { }
158 0 1 unless ($vcard->get("N"))
159 0 0 if ($opts->{'force'}) { }
176 0 1 if (not length $v) { }
0 1 elsif ($v ne $opts->{'vcard_version'} and $opts->{'force'}) { }
187 1 0 unless $opts->{'no_rev'}
199 1 13 $seen ? :
205 0 1 if ($opts->{'debug'})
210 0 1 if ($opts->{'input'} eq '-') { }
225 1 0 unless $opts->{'nothing'} or $data2 eq $tidy2 and not $opts->{'force'}