File Coverage

blib/lib/WebService/GData/Node/PointEntity.pm
Criterion Covered Total %
statement 19 19 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 24 24 100.0


line stmt bran cond sub pod time code
1             package WebService::GData::Node::PointEntity;
2 8     8   63779 use base 'WebService::GData::Node::AbstractEntity';
  8         18  
  8         9845  
3 8     8   4780 use WebService::GData::Node::GeoRSS::Where;
  8         24  
  8         63  
4 8     8   5214 use WebService::GData::Node::GML::Point;
  8         24  
  8         65  
5 8     8   4847 use WebService::GData::Node::GML::Pos;
  8         22  
  8         69  
6              
7             our $VERSION = 0.01_01;
8              
9             sub __init {
10 2     2   7 my ($this,$params) = @_;
11 2         24 $this->SUPER::__init($params);
12 2         32 $this->_entity(new WebService::GData::Node::GeoRSS::Where());
13 2         30 $this->{_point} = new WebService::GData::Node::GML::Point();
14 2         29 $this->{_pos} = new WebService::GData::Node::GML::Pos($params);
15 2         20 $this->{_point}->child($this->{_pos});
16 2         8 $this->_entity->child($this->{_point});
17             }
18              
19              
20             1;