KiokuDB/Role/Immutable/Transitive.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« KiokuDB/Role/Immutable.pm ↑ Summary KiokuDB/Role/Intrinsic.pm »
1 package KiokuDB::Role::Immutable::Transitive;
2 3 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 3 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 with qw(
7 KiokuDB::Role::Immutable
8 KiokuDB::Role::Cacheable
9 );
10  
11  
12 # ex: set sw=4 et:
13  
14 3 __PACKAGE__
15  
16 __END__
17  
18 =pod
19  
20 =head1 NAME
21  
22 KiokuDB::Role::Immutable::Transitive - A role for immutable objects that only
23 point at other such objects.
24  
25 =head1 SYNOPSIS
26  
27 with qw(KiokuDB::Role::Immutable::Transitive);
28  
29 =head1 DESCRIPTION
30  
31 This role makes a stronger promise than L<KiokuDB::Role::Immutable>, namely
32 that this object and all objects it points to are immutable.
33  
34 These objects can be freely cached as live instances, since none of the data
35 they keep live is ever updated.
36  
37 =cut
38  
39  
40  
« KiokuDB/Role/Immutable.pm ↑ Summary KiokuDB/Role/Intrinsic.pm »