lib/MojoMojo/Schema/ResultSet/Role.pm

filter: Statementstmt 90.9% 10 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 87.5% 14 / 16 CC 1 SCAR 2.2
CC
1
Cov
91%
active_roles
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« lib/MojoMojo/Schema/Result/PageVersion.pm ↑ Summary lib/MojoMojo/Schema/Result/Comment.pm »
1 package MojoMojo::Schema::ResultSet::Role;
2  
3 40 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 40 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 40 ▶use parent qw/MojoMojo::Schema::Base::ResultSet/;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 =head1 NAME
8  
9 MojoMojo::Schema::ResultSet::Role - resultset methods on roles
10  
11 =head1 METHODS
12  
13 =head2 active_roles
14  
15 Filter inactive roles.
16  
17 =cut
18  
19 0 ▶sub active_roles {
Subroutine active_roles: not called CC=1 SCAR=6.9
Pod documented
20 0 shift->search( { active => 1 } );
21 }
22  
23 =head1 AUTHOR
24  
25 Marcus Ramberg <mramberg@cpan.org>
26  
27 =head1 LICENSE
28  
29 This library is free software. You can redistribute it and/or modify
30 it under the same terms as Perl itself.
31  
32 =cut
33  
34 40 1;
« lib/MojoMojo/Schema/Result/PageVersion.pm ↑ Summary lib/MojoMojo/Schema/Result/Comment.pm »