Condition Coverage

blib/lib/Ace.pm
Criterion Covered Total %
condition 10 89 11.2


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'}
367 0 0 0 defined $class and defined $pattern
0 0 0 defined $class and defined $pattern and not $pattern =~ /[\?\*]/
394 0 0 0 not wantarray and $pattern =~ /(?:[^\\]|^)[*?]/
416 0 0 0 $params and not ref $params
445 0 0 0 $class and $pattern
451 0 0 0 defined $r and $r =~ /write access/im
571 0 4 3 defined $param[0] and substr($param[0], 0, 1) eq '-'
623 0 0 0 $class and $name
697 0 0 0 $self->db && $self->db->isa('Ace::SocketServer')
705 0 0 0 ref $arg and $arg->isa('Ace')
730 0 0 0 defined $$self{'active_list'} and defined $$self{'active_list'}{$active_tag}

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 3 0 $Ace::Error ||= q[Couldn't open database]
106 0 0 $objclass || 'Ace::Object'
173 0 0 $selected_class ||= 'Ace::Object'
376 0 0 $pattern ||= '*'
739 0 0 $pattern ||= '*'

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 0 3 $user ||= $u || ''
86 0 0 3 $path ||= $p || ''
87 3 0 0 $port ||= $server_type eq 'Ace::SocketServer' ? 2005 : 200005
120 0 0 0 ref $class || $class
160 0 0 0 $$selector{$class} || $$selector{'_DEFAULT_'}
175 0 0 0 eval "require $selected_class; 1;" or croak($@)
230 0 0 0 $$self{'models'}{$model} ||= eval { do { $self->cache->get($key) } }
247 0 0 0 $self->memory_cache_fetch($class, $name) || $self->file_cache_fetch($class, $name)
625 0 0 0 $obj ||= $self->file_cache_fetch($class, $name)