Condition Coverage

blib/lib/WebService/MoviePosterDB.pm
Criterion Covered Total %
condition 18 26 69.2


and 3 conditions

line !l l&&!r l&&r condition
90 1 2 2 !(exists $args{'api_version'} && defined $args{'api_version'}) || $args{'api_version'} == 1 and not exists $args{'api_key'}
99 1 4 0 defined $$self{'api_key'} and defined $$self{'api_secret'}
170 4 0 1 exists $_args{'title'} and $$self{'api_key'} eq 'demo'
4 0 1 exists $_args{'title'} and $$self{'api_key'} eq 'demo' and $$self{'api_secret'} eq 'demo'
191 0 0 5 $$self{'api_key'} eq 'demo' and $$self{'api_secret'} eq 'demo'

or 2 conditions

line l !l condition
104 0 3 $args{'cache_exp'} || '1h'

or 3 conditions

line l !l&&r !l&&!r condition
90 3 1 1 !(exists $args{'api_version'} && defined $args{'api_version'}) || $args{'api_version'} == 1
103 0 3 0 $args{'cache_root'} || tmpdir()
159 1 2 1 exists $args{'tconst'} or exists $args{'imdbid'}