blib/lib/Nephia/Plugin/SocketIO/Assets.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 11 | 81.8 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 0 | 1 | 0.0 |
total | 12 | 16 | 75.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Nephia::Plugin::SocketIO::Assets; | ||||||
2 | 1 | 1 | 5 | use strict; | |||
1 | 2 | ||||||
1 | 30 | ||||||
3 | 1 | 1 | 5 | use warnings; | |||
1 | 2 | ||||||
1 | 24 | ||||||
4 | 1 | 1 | 758 | use Data::Section::Simple; | |||
1 | 529 | ||||||
1 | 101 | ||||||
5 | |||||||
6 | my $READER = Data::Section::Simple->new(__PACKAGE__); | ||||||
7 | |||||||
8 | sub get { | ||||||
9 | 0 | 0 | 0 | my ($class, $filename) = @_; | |||
10 | 0 | $READER->get_data_section($filename); | |||||
11 | } | ||||||
12 | |||||||
13 | 1; | ||||||
14 | __DATA__ |