Snowflake/Dimension.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Snowflake/Fact.pm ↑ Summary Snowflake/ResultSet/Dimension.pm »
1 package DBIx::Class::Snowflake::Dimension;
2 4 our $VERSION = '0.10';
3  
4  
5 =head1 NAME
6  
7 DBIx::Class::Snowflake::Dimension
8  
9 =head1 VERSION
10  
11 version 0.10
12  
13 =head1 ABSTRACT
14  
15 DBIx::Class::Snowflake::Dimension - Load this for any dimension tables.
16  
17 =cut
18  
19 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 4 ▶use diagnostics;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 4 ▶use base 'DBIx::Class::Snowflake';
Subroutine BEGIN: called CC=1 SCAR=0.0
24  
25 =head1 METHODS
26  
27 =head2 attributes
28  
29 If this is a snowflake schema it returns the dimensions and
30 attributes of the dimension, if it is a star schema it returns
31 the attributes of the dimension. This works very similarly
32 to B<DBIx::Class::Snowflake::Fact::dimensions>
33  
34 =cut
35  
36 =head2 attrs
37  
38 Convenience alias to attributes.
39  
40 =cut
41 sub attrs
42 4 ▶{
Subroutine attrs: called CC=1 SCAR=0.0
Pod documented
43 4 my $self = shift;
44 4 return $self->attributes(@_);
45 }
46 4 1;
« Snowflake/Fact.pm ↑ Summary Snowflake/ResultSet/Dimension.pm »