Condition Coverage

blib/lib/WWW/TheMovieDB/Search.pm
Criterion Covered Total %
condition 0 77 0.0


and 3 conditions

line !l l&&!r l&&r condition
99 0 0 0 exists $data{'order'} and $data{'order'} =~ /^(asc|desc)$/
0 0 0 exists $data{'order_by'} and $data{'order_by'} =~ /^(rating|release|title)$/
0 0 0 exists $data{'order'} and $data{'order'} =~ /^(asc|desc)$/ and (exists $data{'order_by'} and $data{'order_by'} =~ /^(rating|release|title)$/)
107 0 0 0 $key eq 'certifications' and $data{'certifications'} ne ''
108 0 0 0 $key eq 'companies' and $data{'companies'} =~ /(\d+,)*\d+$/
109 0 0 0 $key eq 'countries' and $data{'countries'} ne ''
110 0 0 0 $key eq 'genres' and $data{'genres'} =~ /(\d+,)*\d+$/
111 0 0 0 $key eq 'genres_selector' and $data{'genres_selector'} =~ /^(and|or)$/
112 0 0 0 $key eq 'min_votes' and $data{'min_votes'} =~ /^(\d+)$/
113 0 0 0 $key eq 'page' and $data{'page'} =~ /^\d+$/
114 0 0 0 $key eq 'per_page' and $data{'per_page'} =~ /^\d+$/
115 0 0 0 $key eq 'query' and $data{'query'} ne ''
116 0 0 0 $key eq 'rating_max' and $data{'rating_max'} =~ /^\d*\.{0,1}\d+$/
117 0 0 0 $key eq 'rating_min' and $data{'rating_min'} =~ /^\d*\.{0,1}\d+$/
118 0 0 0 $key eq 'release_max' and $data{'release_max'} =~ /^-{0,1}\d+$/
119 0 0 0 $key eq 'release_min' and $data{'release_min'} =~ /^-{0,1}\d+$/
120 0 0 0 $key eq 'year' and $data{'year'} =~ /^\d+$/

or 2 conditions

line l !l condition
124 0 0 get $url || ''
133 0 0 get $url || ''
142 0 0 get $url || ''
153 0 0 get $url || ''
163 0 0 get $url || ''
173 0 0 get $url || ''
183 0 0 get $url || ''
195 0 0 get $url || ''
206 0 0 get $url || ''
217 0 0 get $url || ''
229 0 0 get $url || ''
241 0 0 get $url || ''
251 0 0 get $url || ''