lib/JMAP/Validation/Generators/String.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 1 totaltotal 95.8% 23 / 24 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/JMAP/Validation/Tests/Object.pm ↑ Summary lib/JMAP/Validation/Checks/ContactInformation.pm »
1 package JMAP::Validation::Generators::String;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use Data::Fake::Text;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use JSON::PP;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use JSON::Typist;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 sub generate {
11 60 ▶ return JSON::Typist::String->new(join '', fake_words(4)->());
Subroutine generate: called CC=1 SCAR=0.0
Pod undocumented
12 }
13  
14 1 1;
« lib/JMAP/Validation/Tests/Object.pm ↑ Summary lib/JMAP/Validation/Checks/ContactInformation.pm »