Preferences/Schema/ResultSet/PrfDefaultValues.pm

filter: Statementstmt 71.4% 5 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 1 / 2 Podpod 100% 1 / 1 totaltotal 70.0% 7 / 10 CC 1 SCAR 4.1
CC
1
Cov
71%
sorted
2.0
BEGIN
1.0
CRAP 1.5
« Preferences/RolesFor/Schema.pm ↑ Summary Preferences/Schema/Result/PrfOwner.pm »
1 package OpusVL::Preferences::Schema::ResultSet::PrfDefaultValues;
2  
3 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 extends 'DBIx::Class::ResultSet';
5  
6 sub sorted
7 0 ▶{
Subroutine sorted: not called CC=1 SCAR=6.9
Pod documented
8 0 my $self = shift;
9 0 return $self->search(undef, { order_by => ['display_order', 'value'] });
10 }
11  
12 1 1;
13  
14 =head1 DESCRIPTION
15  
16 =head1 METHODS
17  
18 =head2 sorted
19  
20 =head1 ATTRIBUTES
21  
22  
23 =head1 LICENSE AND COPYRIGHT
24  
25 Copyright 2012 OpusVL.
26  
27 This software is licensed according to the "IP Assignment Schedule" provided with the development project.
28  
29 =cut
« Preferences/RolesFor/Schema.pm ↑ Summary Preferences/Schema/Result/PrfOwner.pm »