blib/lib/DBIO/Test/DynamicForeignCols/Computer.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 18 / 18 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/Cursor.pm ↑ Summary blib/lib/DBIO/Test/ErrorComponent.pm »
1 package DBIO::Test::DynamicForeignCols::Computer;
2 # ABSTRACT: Test result class for dynamic foreign column resolution
3  
4 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 our $VERSION = '0.900007';
7  
8 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 3 ▶use base 'DBIO::Core';
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 3 __PACKAGE__->table('Computers');
13  
14 3 __PACKAGE__->add_columns('id');
15  
16 3 __PACKAGE__->set_primary_key('id');
17  
18 3 __PACKAGE__->has_many(computer_test_links => 'DBIO::Test::DynamicForeignCols::TestComputer', 'computer_id');
19  
20 3 1;
21  
22 __END__
« blib/lib/DBIO/Test/Cursor.pm ↑ Summary blib/lib/DBIO/Test/ErrorComponent.pm »