Faker/Plugin/PersonName.pm

filter: Statementstmt 86.2% 25 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 87.5% 7 / 8 Podpod 100% 1 / 1 totaltotal 86.8% 33 / 38 CC 1 SCAR 1.2
CC
1
Cov
86%
execute
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« Faker/Plugin/PersonUsername.pm ↑ Summary
1 package Faker::Plugin::PersonName;
2  
3 1 ▶use 5.014;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶use registry;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use routines;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 ▶use Data::Object::Class;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use Data::Object::ClassHas;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 1 extends 'Data::Object::Plugin';
15  
16 1 our $VERSION = '1.04'; # VERSION
17  
18 # ATTRIBUTES
19  
20 1 has 'faker' => (
21 is => 'ro',
22 isa => 'ConsumerOf["Faker::Maker"]',
23 req => 1,
24 );
25  
26 # METHODS
27  
28 0 ▶method execute() {
Subroutine execute: not called CC=1 SCAR=6.9
Pod documented
29 0 my $faker = $self->faker;
30  
31 0 return $faker->process(['person', 'name']);
32 1 }
33  
34 1 1;
« Faker/Plugin/PersonUsername.pm ↑ Summary