Branch Coverage

blib/lib/Catmandu/Exporter/Atom.pm
Criterion Covered Total %
branch 37 72 51.3


line true false branch
46 1 0 if (@args > 0 and @args % 2 == 0)
49 13 1 unless /^[^:]+:/
61 1 0 if (defined $self->author)
64 1 0 if defined $_->{'name'}
65 1 0 if defined $_->{'email'}
66 0 1 if defined $_->{'uri'}
67 0 1 if defined $_->{'url'}
68 0 1 if defined $_->{'homepage'}
73 1 0 if (defined $self->category)
76 1 0 if defined $_->{'term'}
77 1 0 if defined $_->{'label'}
78 1 0 if defined $_->{'scheme'}
83 1 0 if (defined $self->contributor)
86 1 0 if defined $_->{'name'}
87 1 0 if defined $_->{'email'}
88 0 1 if defined $_->{'uri'}
89 0 1 if defined $_->{'url'}
90 0 1 if defined $_->{'homepage'}
95 1 0 if defined $self->generator
96 1 0 if defined $self->icon
97 1 0 if defined $self->id
99 1 0 if (defined $self->link)
102 1 0 if defined $_->{'type'}
103 1 0 if defined $_->{'rel'}
104 1 0 if defined $_->{'href'}
105 0 1 if defined $_->{'hreflang'}
106 0 1 if defined $_->{'title'}
107 0 1 if defined $_->{'length'}
112 1 0 if defined $self->logo
113 1 0 if defined $self->rights
114 1 0 if defined $self->subtitle
115 1 0 if defined $self->title
117 0 1 $self->updated ? :
120 1 0 if (defined $self->ns)
122 0 1 unless $key =~ /^([^:]+):(\S+)/
125 0 1 unless defined $url