File Coverage

blib/lib/Slovo/Controller.pm
Criterion Covered Total %
statement 3 4 75.0
branch n/a
condition n/a
subroutine 1 2 50.0
pod 0 1 0.0
total 4 7 57.1


line stmt bran cond sub pod time code
1             package Slovo::Controller;
2 14     14   7642 use Mojo::Base 'Mojolicious::Controller', -signatures;
  14         38  
  14         103  
3              
4             has not_found_id => sub { $_[0]->stranici->not_found_id };
5             has not_found_code => 404;
6              
7             has description => 'Slovo is a simple extensible CMS.';
8             has keywords => 'SSOT, CRM, ERP, CMS, Perl, Mojolicious, SQL';
9              
10 0     0 0   sub generator { return 'Slovo ' . $Slovo::VERSION . ' - ' . $Slovo::CODENAME }
11              
12              
13             1;