blib/lib/Text/VCardFast.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 30 | 49 | 61.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
97 | 12 | 157 | 21 | @_ and $_[0] =~ s/^[ \t]// |
115 | 13 | 0 | 0 | $args->{'only_one'} and not @Path |
182 | 116 | 1 | 0 | $Encoding and lc $Encoding eq 'b' |
line | l | !l | condition |
---|---|---|---|
208 | 0 | 223 | $_[1] // "\n" |
212 | 19 | 12 | (shift())->{'objects'} // [] |
224 | 207 | 65 | $PropOutputOrder{$a} // 1000 |
187 | 85 | $PropOutputOrder{$b} // 1000 | |
262 | 0 | 0 | $_->{'params'}{'encoding'} //= [] |
272 | 148 | 83 | $_->{'params'} // {} |
277 | 114 | 0 | $_ // (next) |
294 | 253 | 0 | $V //= '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
161 | 6 | 0 | 0 | $UnescapeMap{$1} // $1 |
185 | 0 | 0 | 0 | $UnescapeMap{$1} // $1 |
192 | 14 | 0 | 7 | $UnescapeMap{$1} // $1 |
229 | 0 | 0 | 16 | $Card->{'groups'} || do { my %Groups; foreach $_ (map {@$_;} values %$Props) { push @{$Groups{$_->{'group'}};}, $_ if $_->{'group'}; }; \%Groups } |
258 | 0 | 0 | 146 | $_->{'deleted'} or $_->{'name'} eq 'online' |
286 | 26 | 0 | 120 | $_->{'values'} || $_->{'value'} |
343 | 22 | 11 | 304 | /\G(.{0,75}?\\n)/cg or /\G(.{60,75})(?<=[^\n\t ])(?=[\n\t ])/cg |
33 | 158 | 146 | /\G(.{0,75}?\\n)/cg or /\G(.{60,75})(?<=[^\n\t ])(?=[\n\t ])/cg or /\G(.{0,74}[^\\])(?![\x80-\xbf])/cg |