Condition Coverage

blib/lib/App/MigrateToTest2V0/Rule/AvoidNameConflictWithTestDeep.pm
Criterion Covered Total %
condition 8 8 100.0


and 3 conditions

line !l l&&!r l&&r condition
15 332 7 4 $elem->isa('PPI::Statement::Include') && $elem->module eq 'Test::Deep'
21 40 9 4 $elem->isa('PPI::Token::Word') && &any(sub { $elem->content eq $_; } , @{['Isa', 'blessed', 'obj_isa', 'all', 'any', 'array', 'array_each', 'arrayelementsonly', 'arraylength', 'arraylengthonly', 'bag', 'bool', 'cmp_bag', 'cmp_deeply', 'cmp_methods', 'cmp_set', 'code', 'eq_deeply', 'hash', 'hash_each', 'hashkeys', 'hashkeysonly', 'ignore', 'isa', 'listmethods', 'methods', 'noclass', 'none', 'noneof', 'num', 're', 'reftype', 'regexpmatches', 'regexponly', 'regexpref', 'regexprefonly', 'scalarrefonly', 'scalref', 'set', 'shallow', 'str', 'subbagof', 'subhashof', 'subsetof', 'superbagof', 'superhashof', 'supersetof', 'useclass'];})

or 2 conditions

line l !l condition
23 3 1 $tokens ||= []