bin/ubic-update

filter: Statementstmt 85.0% 17 / 20 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 74.1% 23 / 31 SCAR 0.3
CC
1
Cov
69%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Ubic/Daemon/OS.pm ↑ Summary bin/ubic-watchdog »
1 #!/usr/bin/env perl
2 package ubic_update;
3 1 $ubic_update::VERSION = '1.59';
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 # ABSTRACT: update ubic metadata
8  
9  
10 1 ▶use Getopt::Long 2.33;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use Pod::Usage;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 1 ▶return 1 if caller();
Branch: 1 branch
BranchTrueFalseTotal
if caller() 1 0 1
14  
15 0 ▶GetOptions() or pod2usage(2);
Branch: 1 branch
BranchTrueFalseTotal
&GetOptions() or pod2usage(2) 0 0 0
16 0 ▶pod2usage(2) if @ARGV;
Branch: 1 branch
BranchTrueFalseTotal
if @ARGV 0 0 0
17  
18 1 ▶use Ubic::PortMap;
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 0 Ubic::PortMap::update();
21  
22 __END__
« lib/Ubic/Daemon/OS.pm ↑ Summary bin/ubic-watchdog »