| 1 | package WebService::SOS::Exception; | ||||||||||
| 2 | 1 | ▶ | use XML::Rabbit::Root 0.1.0; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | 1 | has 'exception' => ( | |||||||||
| 5 | is => 'ro', | ||||||||||
| 6 | isa => 'Bool', | ||||||||||
| 7 | lazy_build => 1, | ||||||||||
| 8 | ); | ||||||||||
| 9 | |||||||||||
| 10 | 0 | ▶ | sub _build_exception { | ||||||||
|
Subroutine
_build_exception: not called CC=2 SCAR=17.9
| |||||||||||
| 11 | 0 | my ($self) = @_; | |||||||||
| 12 | 0 | ▶ | return if $self->exceptionCode eq ''; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | 0 | return 1; | |||||||||
| 14 | } | ||||||||||
| 15 | |||||||||||
| 16 | 1 | has_xpath_value 'exceptionCode' => '/ows:ExceptionReport/ows:Exception/@exceptionCode'; | |||||||||
| 17 | 1 | has_xpath_value 'locator' => '/ows:ExceptionReport/ows:Exception/@locator'; | |||||||||
| 18 | 1 | has_xpath_value 'exceptionText' => '/ows:ExceptionReport/ows:Exception/ows:ExceptionText'; | |||||||||
| 19 | |||||||||||
| 20 | 1 | finalize_class(); | |||||||||