File Coverage

blib/lib/DBIx/Class/ResultSource/Table.pm
Criterion Covered Total %
statement 11 11 100.0
branch 1 2 50.0
condition n/a
subroutine 4 4 100.0
pod 1 1 100.0
total 17 18 94.4


line stmt bran cond sub pod time code
1             package DBIx::Class::ResultSource::Table;
2              
3 312     312   2232 use strict;
  312         767  
  312         10011  
4 312     312   1757 use warnings;
  312         701  
  312         9794  
5              
6 312     312   1840 use base 'DBIx::Class::ResultSource';
  312         802  
  312         49991  
7              
8             =head1 NAME
9              
10             DBIx::Class::ResultSource::Table - Table object
11              
12             =head1 SYNOPSIS
13              
14             =head1 DESCRIPTION
15              
16             Table object that inherits from L.
17              
18             =head1 METHODS
19              
20             =head2 from
21              
22             Returns the FROM entry for the table (i.e. the table name)
23              
24             =cut
25              
26             sub from {
27 19542 50   19542 1 63989 $_[0]->throw_exception('from() is not a setter method') if @_ > 1;
28 19542         463954 $_[0]->name;
29             }
30              
31             =head1 FURTHER QUESTIONS?
32              
33             Check the list of L.
34              
35             =head1 COPYRIGHT AND LICENSE
36              
37             This module is free software L
38             by the L. You can
39             redistribute it and/or modify it under the same terms as the
40             L.
41              
42             =cut
43              
44             1;