blib/lib/Jedi/App.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 100% 29 / 29 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Jedi/Helpers/Scalar.pm ↑ Summary
1 #
2 # This file is part of Jedi
3 #
4 # This software is copyright (c) 2013 by celogeek <me@celogeek.com>.
5 #
6 # This is free software; you can redistribute it and/or modify it under
7 # the same terms as the Perl 5 programming language system itself.
8 #
9 package Jedi::App;
10  
11 # ABSTRACT: to define your application
12  
13 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 6 our $VERSION = '1.007'; # VERSION
17  
18 6 ▶use Import::Into;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 6 ▶use Module::Runtime qw/use_module/;
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 6 ▶use B::Hooks::EndOfScope;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 sub import {
24 17 ▶ my $target = caller;
Subroutine import: called CC=1 SCAR=0.0
25 17 use_module('Moo')->import::into($target);
26 on_scope_end {
27 17 ▶ $target->can('with')->('Jedi::Role::App');
Subroutine __ANON__: called CC=1 SCAR=0.0
28 17 };
29 17 return;
30 }
31  
32 6 1;
33  
34 __END__
« blib/lib/Jedi/Helpers/Scalar.pm ↑ Summary