Branch Coverage

blib/lib/CMS/Joomla.pm
Criterion Covered Total %
branch 8 28 28.5


line true false branch
75 2 1 defined $$self{'cfg'} ? :
111 0 0 unless (defined $$self{'cfg'}{'dbtype'})
115 0 0 unless (defined $$self{'cfg'}{'db'})
119 0 0 unless (defined $$self{'cfg'}{'host'})
123 0 0 unless (defined $$self{'cfg'}{'user'})
127 0 0 unless (defined $$self{'cfg'}{'password'})
136 0 0 if defined $$self{'_dbhandle'}
194 0 3 if (defined $r and $r =~ /foobar/)
207 0 0 unless defined $cfgname
219 0 0 unless defined $r and $? == 0
234 0 3 unless defined $cfgname
238 1 2 unless defined $fh
253 3 0 unless (defined $$self{'_phptype'})
257 0 3 if ($$self{'_phptype'} == 1) { }