blib/lib/DBIO/Test/MooSchema.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/DBIO/Test/MooCakeSchema/Result/Artist.pm ↑ Summary blib/lib/DBIO/Test/MooSchema/Result/Artist.pm »
1 package DBIO::Test::MooSchema;
2 # ABSTRACT: Test schema with Moo-enabled result classes
3  
4 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 4 our $VERSION = '0.900007';
8  
9 4 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 4 extends 'DBIO::Schema';
11  
12 # Schema-level Moo attribute — demonstrates Moo on the schema class itself
13 1 ▶has verbose => ( is => 'rw', lazy => 1, default => sub { 0 } );
Subroutine __ANON__: called CC=1 SCAR=0.0
14  
15 4 __PACKAGE__->load_classes(
16 { 'DBIO::Test::MooSchema' => [qw( Result::Artist Result::CD )] }
17 );
18  
19 4 1;
20  
21 __END__
« blib/lib/DBIO/Test/MooCakeSchema/Result/Artist.pm ↑ Summary blib/lib/DBIO/Test/MooSchema/Result/Artist.pm »