lib/Test/Expectation/Negative.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 4 | 4 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 6 | 7 | 85.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Test::Expectation::Negative; | ||||||
2 | |||||||
3 | 2 | 2 | 12 | use base 'Test::Expectation::Base'; | |||
2 | 3 | ||||||
2 | 205 | ||||||
4 | |||||||
5 | sub isMet { | ||||||
6 | 1 | 1 | 0 | 3 | return !shift->{-met}; | ||
7 | } | ||||||
8 | |||||||
9 | 1; | ||||||
10 |