OpenGbg/Service/Bridge/GetOpenedStatus.pm

filter: Statementstmt 100% 24 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 30 / 30 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« OpenGbg/Service/Bridge/BridgeOpenings.pm ↑ Summary OpenGbg/Service/TrafficCamera/GetTrafficCameras.pm »
1 7 ▶use 5.10.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 7 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 7 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package OpenGbg::Service::Bridge::GetOpenedStatus;
6  
7 # ABSTRACT: A list of bridge openings
8 7 our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY
9 7 our $VERSION = '0.1404';
10  
11 7 ▶use XML::Rabbit::Root;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 7 ▶use MooseX::AttributeShortcuts;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 7 ▶use Types::Standard qw/Str/;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 7 has xml => (
16 is => 'ro',
17 isa => Str,
18 required => 1,
19 );
20  
21 7 add_xpath_namespace 'x' => 'TK.DevServer.Services.BridgeService';
22  
23 7 has_xpath_object bridge_openings => '/x:BridgeOpenings' => 'OpenGbg::Service::Bridge::BridgeOpenings';
24  
25 7 finalize_class();
26  
27 7 1;
28  
29 __END__
« OpenGbg/Service/Bridge/BridgeOpenings.pm ↑ Summary OpenGbg/Service/TrafficCamera/GetTrafficCameras.pm »