bin/teai

filter: Statementstmt 55.5% 5 / 9 Branchbran 25.0% 1 / 4 Conditioncond 50.0% 1 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 50.0% 1 / 2 Podpod n/a totaltotal 44.4% 8 / 18 CC 1 SCAR 4.1
CC
1
Cov
47%
__ANON__
2.0
BEGIN
1.0
CRAP 1.5
« lib/App/teai/Wire.pm ↑ Summary lib/App/teai/Err.pm »
1 #!perl
2 16 ▶use v5.36;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 16 ▶if (($ARGV[0] // '') eq 'hook') {
Branch: 1 branch
BranchTrueFalseTotal
if (($ARGV[0] // "") eq "hook") 0 16 16
Condition50%1/2
$ARGV[0] // ""
l!l
160
MC/DC0%0/1
$ARGV[0] // ""
$ARGV[0]
Truth table50%1/2
A
A= $ARGV[0]
Aresult
11
00
5 0 ▶ local $SIG{__WARN__} = sub { };
Subroutine __ANON__: not called CC=1 SCAR=6.9
6 0 ▶ exit 0 unless eval { require App::teai; App::teai->can('cmd_hook') };
Branch: 1 branch
BranchTrueFalseTotal
unless eval { do { require App::teai; "App::teai"->can("cmd_hook") } } 0 0 0
7 }
8 16 require App::teai;
9 16 exit App::teai::run(@ARGV);
« lib/App/teai/Wire.pm ↑ Summary lib/App/teai/Err.pm »