Condition Coverage

blib/lib/Mason/Test/Class.pm
Criterion Covered Total %
condition 26 55 47.2


or 2 conditions

line l !l condition
58 1 99 delete $params{'mason_root_class'} || 'Mason'
70 303 0 $params{'path'} || die('must pass path')
71 303 0 $params{'src'} || ' '
84 6 0 $params{'path'} || die('must pass path')
98 101 0 $params{'src'} || ' '
116 1 106 $params{'args'} || {}
143 4 0 delete $params{'test'} || die('must pass test')
144 1 3 delete $params{'args'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
72 0 0 303 $params{'v'} || $params{'verbose'}
97 20 81 0 $params{'path'} || $self->_gen_comp_path
99 0 0 101 $params{'v'} || $params{'verbose'}
111 33 74 0 $params{'desc'} || $path
115 0 0 107 $params{'v'} || $params{'verbose'}
123 36 0 0 $desc ||= $expect_error
127 70 0 0 $desc ||= $caller
137 1 0 0 $desc ||= $caller
145 2 2 0 $params{'path'} ||= $self->_gen_comp_path
156 4 0 0 $params{'src'} || croak('must pass src')
159 4 0 0 $expect_list or $expect_error
166 0 0 0 $desc ||= $expect_error
170 0 4 0 $desc ||= $caller