blib/lib/Tinker.pm

filter: Statementstmt 100% 28 / 28 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod n/a totaltotal 100% 36 / 36 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 package Tinker;
2 2 our $VERSION = '0.0.3';
3  
4 #------------------------------------------------------------------------------
5 # App subclass:
6 #------------------------------------------------------------------------------
7 package Tinker::App;
8 2 ▶use Mo;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 2 extends 'Cog::App';
10  
11 2 ▶use constant webapp_class => 'Tinker::WebApp';
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 #------------------------------------------------------------------------------
14 # WebApp subclass:
15 #------------------------------------------------------------------------------
16 package Tinker::WebApp;
17 2 ▶use Mo;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 2 extends 'Cog::WebApp';
19  
20 2 ▶use IO::All;
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 2 ▶use constant rewrite => [
Subroutine BEGIN: called CC=1 SCAR=0.0
23 ['^/css/images/', '/image/'],
24 2 ];
25  
26 2 ▶use constant css_files => [qw<
Subroutine BEGIN: called CC=1 SCAR=0.0
27 ()
28 reset.css
29 layout-table.css
30 tinker.css
31 2 >];
32 # jquery-ui.css
33 # theme.css
34  
35 2 ▶use constant js_files => [qw(
Subroutine BEGIN: called CC=1 SCAR=0.0
36 colResizable.js
37 2 )];
38 # tinker-resize.js
39  
40 2 ▶use constant url_map => [
Subroutine BEGIN: called CC=1 SCAR=0.0
41 ['/' => 'tinker'],
42 2 ];
43  
44 2 1;
↑ Summary