Condition Coverage

blib/lib/Data/Microformat/hCard.pm
Criterion Covered Total %
condition 36 53 67.9


and 3 conditions

line !l l&&!r l&&r condition
159 105 0 9 $bit->tag eq 'abbr' and $bit->attr('title')
67 0 38 $bit->tag eq 'a' and $bit->attr('href')
65 0 2 $bit->tag eq 'object' and $bit->attr('data')
168 27 0 1 $bit->attr('rel') and $bit->attr('rel') eq 'me'
183 1 0 1 $type =~ /(photo|logo|agent|sound|url)/ and $bit->attr('src')
247 1 13 9 not $card->n and $card->fn
14 9 0 not $card->n and $card->fn and !$card->org || !$card->fn eq $card->org
255 7 0 0 $arr[0] =~ /\,/ and length $arr[1] == 1
270 19 2 2 $card->org and ($card->fn || '') eq $card->org->organization_name
285 8 2 0 $card->org and !$card->org->organization_name eq $card->fn
10 0 0 $card->org and !$card->org->organization_name eq $card->fn and not $card->n
2 0 0 $card->org and !$card->org->organization_name eq $card->fn and not $card->n and scalar @words == 1
315 0 2 3 $card->url and $card->uid
2 2 1 $card->url and $card->uid and $card->url eq $card->uid
4 0 1 $card->url and $card->uid and $card->url eq $card->uid and _normalize_url($card->url) eq _normalize_url($representative_url)
326 0 3 1 $card->url and $card->url eq $rel_me

or 2 conditions

line l !l condition
270 2 2 $card->fn || ''

or 3 conditions

line l !l&&r !l&&!r condition
247 7 0 2 !$card->org || !$card->fn eq $card->org