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
107 64 14 0 defined $param->{'add_date'} and $param->{'add_date'} =~ /\D/
367 33 0 4 defined $desc && $desc ne ''
507 0 0 0 defined $sub and not ref $sub eq 'CODE'
553 1 0 1 $self->mozilla and $desc eq "\n"

or 2 conditions

line l !l condition
399 0 0 shift() || 0
445 4 1 shift() || 0
537 1 1 $self->description || "\n"

or 3 conditions

line l !l&&r !l&&!r condition
101 0 66 12 exists $Netscape::Bookmarks::Category::IDS{$param->{'id'}} or $param->{'id'} =~ /\D/
146 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'
576 228 1 2 ref $obj eq 'Netscape::Bookmarks::Link' or ref $obj eq 'Netscape::Bookmarks::Alias'