Condition Coverage

blib/lib/Netscape/Bookmarks/Category.pm
Criterion Covered Total %
condition 23 33 69.7


and 3 conditions

line !l l&&!r l&&r condition
104 64 14 0 defined $param->{'add_date'} and $param->{'add_date'} =~ /\D/
364 33 0 4 defined $desc && $desc ne ''
504 0 0 0 defined $sub and not ref $sub eq 'CODE'
550 1 0 1 $self->mozilla and $desc eq "\n"

or 2 conditions

line l !l condition
396 0 0 shift() || 0
442 4 1 shift() || 0
534 1 1 $self->description || "\n"

or 3 conditions

line l !l&&r !l&&!r condition
98 0 66 12 exists $Netscape::Bookmarks::Category::IDS{$param->{'id'}} or $param->{'id'} =~ /\D/
143 456 74 6 ref $thingy eq 'Netscape::Bookmarks::Link' or ref $thingy eq 'Netscape::Bookmarks::Category'
530 4 2 ref $thingy eq 'Netscape::Bookmarks::Link' or ref $thingy eq 'Netscape::Bookmarks::Category' or ref $thingy eq 'Netscape::Bookmarks::Separator'
78 2 0 ref $thingy eq 'Netscape::Bookmarks::Link' or ref $thingy eq 'Netscape::Bookmarks::Category' or ref $thingy eq 'Netscape::Bookmarks::Separator' or ref $thingy eq 'Netscape::Bookmarks::Alias'
573 228 1 2 ref $obj eq 'Netscape::Bookmarks::Link' or ref $obj eq 'Netscape::Bookmarks::Alias'