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 | 753 | use strict; | |||
11 | 14 | ||||||
11 | 253 | ||||||
4 | 11 | 11 | 31 | use warnings; | |||
11 | 15 | ||||||
11 | 222 | ||||||
5 | |||||||
6 | 11 | 11 | 4319 | use Data::Fake::Text; | |||
11 | 20507 | ||||||
11 | 484 | ||||||
7 | 11 | 11 | 6580 | use JSON::PP; | |||
11 | 99634 | ||||||
11 | 823 | ||||||
8 | 11 | 11 | 977 | use JSON::Typist; | |||
11 | 5861 | ||||||
11 | 567 | ||||||
9 | |||||||
10 | sub generate { | ||||||
11 | 2489475 | 2489475 | 0 | 86770609 | return JSON::Typist::String->new(join '', fake_words(4)->()); | ||
12 | } | ||||||
13 | |||||||
14 | 1; |