blib/lib/Devel/REPL/Profile/TSIBLEY.pm

filter: Statementstmt 66.6% 14 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 0.0% 0 / 2 totaltotal 62.0% 18 / 29 CC 2 SCAR 9.4
CC
2
Cov
67%
apply_profile
6.0
plugins
2.0
BEGIN
1.0
CRAP 2.6
↑ Summary
1 package Devel::REPL::Profile::TSIBLEY;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use 5.008_005;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 our $VERSION = '0.02';
6  
7 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 extends 'Devel::REPL::Profile::Default';
11  
12 0 ▶sub plugins {
Subroutine plugins: not called CC=1 SCAR=6.9
Pod undocumented
13 0 my @default = $_[0]->SUPER::plugins;
14 return (
15 0 grep { not /^(DDS|ReadLineHistory)$/ } @default,
16 "DDP",
17 "ReadLineHistory::WithoutExpansion",
18 );
19 }
20  
21 0 ▶sub apply_profile {
Subroutine apply_profile: not called CC=2 SCAR=17.9
Pod undocumented
22 0 my ($self, $repl) = @_;
23  
24 # The past is the key to the present.
25 0 $ENV{PERLREPL_HISTLEN} = 10_000;
26  
27 0 $repl->load_plugin($_) for $self->plugins;
28  
29 # Turn off green slime from Colors plugin
30 0 $repl->normal_color("reset");
31 }
32  
33 1 1;
34 __END__
↑ Summary