lib/Mojolicious/Plugin/Fondation/User.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 50.0% 1 / 2 totaltotal 93.7% 15 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
fondation_meta
1.0
CRAP 1.0
« blib/lib/Mojolicious/Plugin/Fondation/User/Schema/ResultSet/User.pm ↑ Summary
1 package Mojolicious::Plugin::Fondation::User;
2 1 $Mojolicious::Plugin::Fondation::User::VERSION = '0.04';
3 # ABSTRACT: User management plugin for Fondation
4  
5 1 ▶use Mojo::Base 'Mojolicious::Plugin', -signatures;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Mojo::JSON qw(true);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶sub fondation_meta {
Subroutine fondation_meta: called CC=1 SCAR=0.0
Pod undocumented
9 return {
10 1 dependencies => [
11 'Fondation::Model::DBIx::Async',
12 'Fondation::MigrationDBIx',
13 ],
14 defaults => {
15 title => 'User Management',
16 models => {
17 user => {
18 source => 'User',
19 backend => undef, # must be set in app config
20 },
21 },
22 },
23 };
24 }
25  
26 1 ▶sub register ($self, $app, $conf) {
Subroutine register: called CC=1 SCAR=0.0
Pod documented
27 # API routes generated by Fondation::OpenAPI.
28 # HTML routes provided by Fondation::User::UI.
29  
30 1 return $self;
31 }
32  
33 1 1;
34  
35 __END__
« blib/lib/Mojolicious/Plugin/Fondation/User/Schema/ResultSet/User.pm ↑ Summary