blib/lib/TM/Synchronizable/Null.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 1 | 3 | 33.3 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 1 | 100.0 |
pod | n/a | ||
total | 2 | 4 | 50.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package TM::Synchronizable::Null; | ||||||
2 | |||||||
3 | 1 | 1 | 1118 | use Class::Trait 'base'; | |||
0 | |||||||
0 | |||||||
4 | use Class::Trait qw(TM::Synchronizable); | ||||||
5 | |||||||
6 | sub source_in { | ||||||
7 | my $self = shift; | ||||||
8 | $self->{_ins}++; | ||||||
9 | } | ||||||
10 | |||||||
11 | sub source_out { | ||||||
12 | my $self = shift; | ||||||
13 | $self->{_outs}++; | ||||||
14 | } | ||||||
15 | |||||||
16 | 1; | ||||||
17 | |||||||
18 |