Condition Coverage

blib/lib/Ace.pm
Criterion Covered Total %
condition 42 100 42.0


and 3 conditions

line !l l&&!r l&&r condition
264 0 0 0 defined $filltag and $filltag eq '1'
317 0 0 0 $obj and not exists $$obj{'.root'}
365 1 0 11 defined $class and defined $pattern
1 3 8 defined $class and defined $pattern and not $pattern =~ /[\?\*]/
392 3 0 1 not wantarray and $pattern =~ /(?:[^\\]|^)[*?]/
414 0 0 0 $params and not ref $params
443 0 0 0 $class and $pattern
449 0 0 0 defined $r and $r =~ /write access/im
569 0 474 45 defined $param[0] and substr($param[0], 0, 1) eq '-'
621 78 0 314 $class and $name
695 0 0 2311 $self->db && $self->db->isa('Ace::SocketServer')
703 0 0 0 ref $arg and $arg->isa('Ace')
728 12 1 1 defined $$self{'active_list'} and defined $$self{'active_list'}{$active_tag}
2113 1 0 0 defined $invisible && $invisible

or 2 conditions

line l !l condition
84 3 0 $host ||= 'localhost'
85 0 3 $u || ''
86 0 3 $p || ''
89 0 3 $server_type ||= 'Ace::SocketServer'
90 0 0 $server_type ||= 'Ace::RPC'
102 0 0 $Error ||= q[Couldn't open database]
106 0 3 $objclass || 'Ace::Object'
173 214 0 $selected_class ||= 'Ace::Object'
374 3 1 $pattern ||= '*'
737 12 0 $pattern ||= '*'
2102 393 79 $class ||= ''
2103 393 79 $id ||= ''
2130 3 0 $pattern ||= '*'
2158 2 1 $$self{'iterator_stack'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
77 0 0 0 ($host, $port, $u, $pass, $p, $server_type) = $class->process_url($url) or croak("Usage: Ace->connect(-host=>\$host,-port=>\$port [,-path=>\$path]\n")
85 0 3 0 $user ||= $u || ''
86 0 3 0 $path ||= $p || ''
87 3 0 0 $port ||= $server_type eq 'Ace::SocketServer' ? 2005 : 200005
120 0 3 0 ref $class || $class
160 0 0 0 $$selector{$class} || $$selector{'_DEFAULT_'}
175 0 0 0 eval "require $selected_class; 1;" or croak($@)
230 19 4 0 $$self{'models'}{$model} ||= eval {
247 3 0 6 $self->memory_cache_fetch($class, $name) || $self->file_cache_fetch($class, $name)
623 120 194 0 $obj ||= $self->file_cache_fetch($class, $name)