File Coverage

bin/ubic-admin
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             #!/usr/bin/env perl
2             package ubic_admin;
3             $ubic_admin::VERSION = '1.59';
4 1     1   795 use strict;
  1         1  
  1         25  
5 1     1   4 use warnings;
  1         1  
  1         24  
6              
7             # ABSTRACT: ubic administration script
8              
9              
10 1     1   3 use Pod::Usage;
  1         1  
  1         62  
11 1     1   5 use Ubic::Admin::Setup;
  1         1  
  1         53  
12              
13             return 1 if caller;
14              
15             my $command = shift @ARGV;
16              
17             if (not defined $command or $command ne 'setup') {
18             pod2usage(2);
19             }
20              
21             Ubic::Admin::Setup::setup();
22              
23             __END__