lib/JMAP/Validation/Generators/String.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 16 | 16 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 6 | 6 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 22 | 23 | 95.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package JMAP::Validation::Generators::String; | ||||||
2 | |||||||
3 | 11 | 11 | 771 | use strict; | |||
11 | 12 | ||||||
11 | 244 | ||||||
4 | 11 | 11 | 31 | use warnings; | |||
11 | 14 | ||||||
11 | 219 | ||||||
5 | |||||||
6 | 11 | 11 | 3940 | use Data::Fake::Text; | |||
11 | 19764 | ||||||
11 | 472 | ||||||
7 | 11 | 11 | 6685 | use JSON::PP; | |||
11 | 99481 | ||||||
11 | 650 | ||||||
8 | 11 | 11 | 2464 | use JSON::Typist; | |||
11 | 17404 | ||||||
11 | 538 | ||||||
9 | |||||||
10 | sub generate { | ||||||
11 | 2489475 | 2489475 | 0 | 86389890 | return JSON::Typist::String->new(join '', fake_words(4)->()); | ||
12 | } | ||||||
13 | |||||||
14 | 1; |