line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
3175
|
use 5.008; |
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
44
|
|
2
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
56
|
|
3
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
72
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Class::Value::Contact::Name::Full_TEST; |
6
|
|
|
|
|
|
|
our $VERSION = '1.100840'; |
7
|
|
|
|
|
|
|
# ABSTRACT: Contact-related value objects |
8
|
1
|
|
|
1
|
|
5
|
use Test::More; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
9
|
1
|
|
|
1
|
|
348
|
use parent 'Class::Value::Test'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
8
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
# A name is well-formed if it consists of 2-5 whitespace-separated words, at |
12
|
|
|
|
|
|
|
# least two of which must contain at least two [A-Za-z] characters. |
13
|
1
|
|
|
|
|
78
|
use constant TESTDATA => ( |
14
|
|
|
|
|
|
|
{ args => {}, |
15
|
|
|
|
|
|
|
valid => ['Florian Helmberger'], |
16
|
|
|
|
|
|
|
invalid => [ |
17
|
|
|
|
|
|
|
qw( |
18
|
|
|
|
|
|
|
Borg |
19
|
|
|
|
|
|
|
) |
20
|
|
|
|
|
|
|
], |
21
|
|
|
|
|
|
|
}, |
22
|
1
|
|
|
1
|
|
101
|
); |
|
1
|
|
|
|
|
3
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |