bin/filesync-admin

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 100% 29 / 29 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« bin/filesync ↑ Summary bin/filesync-server »
1 #!/usr/bin/env perl
2  
3 # Thin wrapper: everything, including error reporting and the exit code,
4 # lives in App::FileSync::CLI so it can be tested without a subprocess.
5  
6 44 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 44 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 44 ▶use autodie qw(:all);
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 44 ▶use FindBin qw($Bin);
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 # A checkout's lib/ first, so bin/ runs the code beside it; an installed
13 # copy finds the modules on @INC as usual.
14 44 ▶use lib "$Bin/../lib";
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 44 ▶use App::FileSync::Platform;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 44 ▶use App::FileSync::CLI;
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19 44 exit App::FileSync::CLI::run_admin(@ARGV);
20  
21 __END__
« bin/filesync ↑ Summary bin/filesync-server »