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 | 723 | use strict; | |||
11 | 12 | ||||||
11 | 230 | ||||||
4 | 11 | 11 | 28 | use warnings; | |||
11 | 12 | ||||||
11 | 202 | ||||||
5 | |||||||
6 | 11 | 11 | 3911 | use Data::Fake::Text; | |||
11 | 19575 | ||||||
11 | 492 | ||||||
7 | 11 | 11 | 6367 | use JSON::PP; | |||
11 | 97723 | ||||||
11 | 614 | ||||||
8 | 11 | 11 | 802 | use JSON::Typist; | |||
11 | 5865 | ||||||
11 | 489 | ||||||
9 | |||||||
10 | sub generate { | ||||||
11 | 2489475 | 2489475 | 0 | 82364199 | return JSON::Typist::String->new(join '', fake_words(4)->()); | ||
12 | } | ||||||
13 | |||||||
14 | 1; |