KiokuDB/Test/Person.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« KiokuDB/Test/Company.pm ↑ Summary KiokuDB/TypeMap/ClassBuilders.pm »
1 #!/usr/bin/perl
2  
3 package KiokuDB::Test::Person;
4 5 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 5 ▶use namespace::clean -except => 'meta';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 5 has [qw(name age job binary)] => (
9 isa => "Str",
10 is => "rw",
11 );
12  
13 5 has so => (
14 isa => "KiokuDB::Test::Person",
15 is => "rw",
16 weak_ref => 1,
17 );
18  
19 has [qw(parents kids friends)] => (
20 isa => "ArrayRef[KiokuDB::Test::Person]",
21 is => "rw",
22 5453 ▶ default => sub { [] },
Subroutine __ANON__: called CC=1 SCAR=0.0
23 5 );
24  
25 5 __PACKAGE__->meta->make_immutable;
26  
27 5 __PACKAGE__
28  
29 __END__
30  
« KiokuDB/Test/Company.pm ↑ Summary KiokuDB/TypeMap/ClassBuilders.pm »