blib/lib/Getopt/Kingpin/Type/String.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 14 | 14 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 20 | 20 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Getopt::Kingpin::Type::String; | ||||||
2 | 20 | 20 | 435 | use 5.008001; | |||
20 | 72 | ||||||
3 | 20 | 20 | 122 | use strict; | |||
20 | 40 | ||||||
20 | 472 | ||||||
4 | 20 | 20 | 121 | use warnings; | |||
20 | 46 | ||||||
20 | 611 | ||||||
5 | 20 | 20 | 127 | use Carp; | |||
20 | 50 | ||||||
20 | 3056 | ||||||
6 | |||||||
7 | our $VERSION = "0.11"; | ||||||
8 | |||||||
9 | sub set_value { | ||||||
10 | 94 | 94 | 1 | 193 | my $self = shift; | ||
11 | 94 | 193 | my ($value) = @_; | ||||
12 | |||||||
13 | 94 | 273 | return $value; | ||||
14 | } | ||||||
15 | |||||||
16 | 1; | ||||||
17 | __END__ |