blib/lib/Acme/Mitey/Cards/Card/Joker.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Acme::Mitey::Cards::Card::Joker; | ||||||
2 | |||||||
3 | our $VERSION = '0.014'; | ||||||
4 | our $AUTHORITY = 'cpan:TOBYINK'; | ||||||
5 | |||||||
6 | 3 | 3 | 887 | use Acme::Mitey::Cards::Mite qw( -all ); | |||
3 | 5 | ||||||
3 | 21 | ||||||
7 | 3 | 3 | 15 | use Acme::Mitey::Cards::Types qw( :types ); | |||
3 | 5 | ||||||
3 | 998 | ||||||
8 | |||||||
9 | extends 'Acme::Mitey::Cards::Card'; | ||||||
10 | |||||||
11 | signature_for '+to_string'; | ||||||
12 | |||||||
13 | sub to_string { | ||||||
14 | my $self = shift; | ||||||
15 | |||||||
16 | return 'J#'; | ||||||
17 | } | ||||||
18 | |||||||
19 | 1; |