Bencher/Scenario/Example/CommandNotFound.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« Bencher/Scenario/Example/CmdLineTemplate.pm ↑ Summary Bencher/Scenario/Example/MultipleArgValues/Array.pm »
1 package Bencher::Scenario::Example::CommandNotFound;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
6 1 our $DATE = '2023-07-08'; # DATE
7 1 our $DIST = 'Bencher-Backend'; # DIST
8 1 our $VERSION = '1.063'; # VERSION
9  
10 1 our $scenario = {
11 participants => [
12 {name=>'found-array' , cmdline=>['true']},
13 {name=>'found-string' , cmdline=>'true'},
14 {name=>'notfound-array' , cmdline=>['foo1']},
15 {name=>'notfound-string', cmdline=>'foo2'},
16 ],
17 #on_failure => 'skip',
18 };
19  
20 1 1;
21 # ABSTRACT: An example scenario: command not found
22  
23 __END__
« Bencher/Scenario/Example/CmdLineTemplate.pm ↑ Summary Bencher/Scenario/Example/MultipleArgValues/Array.pm »