Hippie/App/JSFiles.pm

filter: Statementstmt 81.2% 13 / 16 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 57.1% 4 / 7 Podpod 50.0% 1 / 2 totaltotal 66.6% 18 / 27 CC 2 SCAR 9.2
CC
2
Cov
72%
root
6.0
__ANON__
2.0
files
2.0
CRAP 2.5
« Hippie/Handle/WebSocket.pm ↑ Summary
1 package Web::Hippie::App::JSFiles;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use Try::Tiny;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use File::ShareDir;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use parent 'Plack::App::File';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 0 ▶sub root {
Subroutine root: not called CC=2 SCAR=17.9
Pod documented
9 0 ▶ try { File::ShareDir::dist_dir('Web-Hippie') } || 'share';
Subroutine __ANON__: not called CC=1 SCAR=6.9
Branch: 1 branch
BranchTrueFalseTotal
&try(sub { File::ShareDir::dist_dir("Web-Hippie"); } ) or "share" 0 0 0
10 }
11  
12 0 ▶sub files {
Subroutine files: not called CC=1 SCAR=6.9
Pod undocumented
13 0 qw(DUI.js
14 Stream.js
15 hippie.js
16 hippie.pipe.js
17 jquery.ev.js
18 json2.js)
19 }
20  
21 1 1;
22  
23 __END__
« Hippie/Handle/WebSocket.pm ↑ Summary