script/build_selenium_spec.pl untested

filter: Statementstmt 0.0% 0 / 31 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 9 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 45 CC 2 SCAR 10.3
CC
2
Cov
0%
main
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.8
1 #!/usr/local/bin/perl
2  
3 package Bin::build_selenium_spec;
4 $Bin::build_selenium_spec::VERSION = '2.01';
5 #ABSTRACT: Convenience script to fetch the selenium specification from WC3
6  
7 use strict;
8 use warnings;
9  
10 use v5.28;
11  
12 no warnings 'experimental';
13 use feature qw/signatures/;
14  
15 use Getopt::Long qw{GetOptionsFromArray};
16 use Pod::Usage;
17  
18 use Selenium::Specification;
19  
20 exit main(@ARGV) unless caller;
21  
22 sub main(@args) {
23 my %options;
24 GetOptionsFromArray(\@args,
25 'verbose' => \$options{verbose},
26 'dir=s' => \$options{dir},
27 'force' => \$options{force},
28 'help' => \$options{help},
29 );
30 return pod2usage(verbose => 2, noperldoc => 1) if $options{help};
31 Selenium::Specification::fetch(%options);
32 }
33  
34 1;
35  
36 __END__