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 | 371 | use 5.008001; | |||
20 | 73 | ||||||
3 | 20 | 20 | 104 | use strict; | |||
20 | 37 | ||||||
20 | 414 | ||||||
4 | 20 | 20 | 94 | use warnings; | |||
20 | 38 | ||||||
20 | 554 | ||||||
5 | 20 | 20 | 102 | use Carp; | |||
20 | 39 | ||||||
20 | 2334 | ||||||
6 | |||||||
7 | our $VERSION = "0.10"; | ||||||
8 | |||||||
9 | sub set_value { | ||||||
10 | 94 | 94 | 1 | 165 | my $self = shift; | ||
11 | 94 | 192 | my ($value) = @_; | ||||
12 | |||||||
13 | 94 | 266 | return $value; | ||||
14 | } | ||||||
15 | |||||||
16 | 1; | ||||||
17 | __END__ |