lib/Skilletor/CLI.pm

filter: Statementstmt 100% 12 / 12 Branchbran 100% 4 / 4 Conditioncond 83.3% 10 / 12 MC/DCmcdc 66.6% 4 / 6 Subroutinesub 100% 3 / 3 Podpod 100% 1 / 1 totaltotal 89.4% 34 / 38 CC 7 SCAR 17.4
CC
7
Cov
93%
run
7.1
BEGIN
1.0
BEGIN
1.0
CRAP 5.7
↑ Summary lib/Skilletor.pm »
1 package Skilletor::CLI;
2 # ABSTRACT: Retired stub, see Skilletor
3  
4 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 4 our $VERSION = '0.009000';
8  
9 4 our $NOTICE = q{skilletor's Perl port is retired: the CPAN distribution Skilletor ships only empty stubs now. Install skilletor as the plugin for Claude Code (/plugin marketplace add Getty/marketplace, then /plugin install skilletor@getty), Codex or Hermes Agent, or with install.sh for the command line: https://github.com/Getty/skilletor#install. Then remove this distribution with cpanm --uninstall Skilletor.};
10  
11 11 ▶sub run {
Subroutine run: called CC=7 SCAR=19.5
Pod documented
12 11 ▶ shift if @_ && defined $_[0] && $_[0] eq __PACKAGE__;
Branch: 1 branch
BranchTrueFalseTotal
if @_ and defined $_[0] and $_[0] eq __PACKAGE__ 3 8 11
Condition83%5/6
@_ and defined $_[0] and $_[0] eq __PACKAGE__
!ll&&!rl&&r
263
@_ and defined $_[0]
!ll&&!rl&&r
209
MC/DC66%2/3
@_ and defined $_[0] and $_[0] eq __PACKAGE__
@_ defined $_[0] $_[0] eq __PACKAGE__
Truth table75%3/4
A and B and C
A= @_B= defined $_[0]C= $_[0] eq __PACKAGE__
ABCresult
0XX0
10X0
1100
1111
13 11 print STDERR "$NOTICE\n";
14 11 ▶ return @_ && defined $_[0] && $_[0] eq 'hook' ? 0 : 1;
Branch: 1 branch
BranchTrueFalseTotal
@_ && defined $_[0] && $_[0] eq 'hook' ? : 3 8 11
Condition83%5/6
@_ and defined $_[0] and $_[0] eq "hook"
!ll&&!rl&&r
353
@_ and defined $_[0]
!ll&&!rl&&r
308
MC/DC66%2/3
@_ and defined $_[0] and $_[0] eq "hook"
@_ defined $_[0] $_[0] eq "hook"
Truth table75%3/4
A and B and C
A= @_B= defined $_[0]C= $_[0] eq "hook"
ABCresult
0XX0
10X0
1100
1111
15 }
16  
17  
18 4 1;
19  
20 __END__
↑ Summary lib/Skilletor.pm »