File Coverage

blib/lib/KiokuDB/Test/Person.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2              
3             package KiokuDB::Test::Person;
4 5     5   525 use Moose;
  5         10  
  5         28  
5              
6 5     5   26399 use namespace::clean -except => 'meta';
  5         22  
  5         45  
7              
8             has [qw(name age job binary)] => (
9             isa => "Str",
10             is => "rw",
11             );
12              
13             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             default => sub { [] },
23             );
24              
25             __PACKAGE__->meta->make_immutable;
26              
27             __PACKAGE__
28              
29             __END__
30