| 1 | package WWW::Ohloh::API::Role::LoadXML; | ||||||||||
| 2 | |||||||||||
| 3 | 16 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 16 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 16 | ▶ | use Object::InsideOut; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 9 | my %init_args : InitArgs = ( 'xml' => '', ); | |||||||||
| 9 | |||||||||||
| 10 | sub _init : Init { | ||||||||||
| 11 | 12 | ▶ | my ( $self, $args ) = @_; | ||||||||
|
Subroutine
_init: called CC=2 SCAR=7.2
| |||||||||||
| 12 | |||||||||||
| 13 | 12 | ▶ | $self->load_xml( $args->{xml} ) if $args->{xml}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 14 | 16 | ▶ | } | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 15 | |||||||||||
| 16 | 9 | 1; | |||||||||