lib/Perlmazing/Perlmazing/Precompile/is_empty.pm

filter: Statementstmt 100% 4 / 4 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 8 / 8 CC 2 SCAR 5.1
CC
2
Cov
100%
main
2.0
BEGIN
1.0
CRAP 1.7
« lib/Perlmazing/Perlmazing/no_void.pm ↑ Summary lib/Perlmazing/Perlmazing/Precompile/list_context.pm »
1 30 ▶use Perlmazing qw(not_empty);
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 12 ▶sub main ($) {
Subroutine main: called CC=2 SCAR=6.9
4 12 ▶ not_empty($_[0]) ? 0 : 1;
Branch: 1 branch
BranchTrueFalseTotal
&not_empty($_[0]) ? : 8 4 12
5 }
6  
« lib/Perlmazing/Perlmazing/no_void.pm ↑ Summary lib/Perlmazing/Perlmazing/Precompile/list_context.pm »