Filename | /home/ss5/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/Data/DPath/Point.pm |
Statements | Executed 10 statements in 678µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 47µs | 1.05ms | BEGIN@14 | Data::DPath::Point::
1 | 1 | 1 | 36µs | 52µs | BEGIN@10 | Data::DPath::Point::
1 | 1 | 1 | 34µs | 34µs | BEGIN@2 | Data::DPath::Point::
1 | 1 | 1 | 27µs | 54µs | BEGIN@11 | Data::DPath::Point::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Data::DPath::Point; | ||||
2 | # spent 34µs within Data::DPath::Point::BEGIN@2 which was called:
# once (34µs+0s) by Data::DPath::Path::BEGIN@1.1 at line 4 | ||||
3 | 1 | 20µs | $Data::DPath::Point::AUTHORITY = 'cpan:SCHWIGON'; | ||
4 | 1 | 122µs | 1 | 34µs | } # spent 34µs making 1 call to Data::DPath::Point::BEGIN@2 |
5 | { | ||||
6 | 2 | 4µs | $Data::DPath::Point::VERSION = '0.48'; | ||
7 | } | ||||
8 | # ABSTRACT: Abstraction for a single reference (a "point") in the datastructure | ||||
9 | |||||
10 | 2 | 92µs | 2 | 68µs | # spent 52µs (36+16) within Data::DPath::Point::BEGIN@10 which was called:
# once (36µs+16µs) by Data::DPath::Path::BEGIN@1.1 at line 10 # spent 52µs making 1 call to Data::DPath::Point::BEGIN@10
# spent 16µs making 1 call to strict::import |
11 | 2 | 163µs | 2 | 80µs | # spent 54µs (27+27) within Data::DPath::Point::BEGIN@11 which was called:
# once (27µs+27µs) by Data::DPath::Path::BEGIN@1.1 at line 11 # spent 54µs making 1 call to Data::DPath::Point::BEGIN@11
# spent 27µs making 1 call to warnings::import |
12 | |||||
13 | use Class::XSAccessor # ::Array | ||||
14 | 1 | 25µs | 1 | 1000µs | # spent 1.05ms (47µs+1000µs) within Data::DPath::Point::BEGIN@14 which was called:
# once (47µs+1000µs) by Data::DPath::Path::BEGIN@1.1 at line 19 # spent 1000µs making 1 call to Class::XSAccessor::import |
15 | constructor => 'new', | ||||
16 | accessors => [qw( parent | ||||
17 | attrs | ||||
18 | ref | ||||
19 | 1 | 240µs | 1 | 1.05ms | )]; # spent 1.05ms making 1 call to Data::DPath::Point::BEGIN@14 |
20 | |||||
21 | 1 | 12µs | 1; | ||
22 | |||||
- - | |||||
25 | =pod | ||||
26 | |||||
27 | =encoding utf-8 | ||||
28 | |||||
29 | =head1 NAME | ||||
30 | |||||
31 | Data::DPath::Point - Abstraction for a single reference (a "point") in the datastructure | ||||
32 | |||||
33 | =head1 ABOUT | ||||
34 | |||||
35 | Intermediate steps during execution are lists of currently covered | ||||
36 | references in the data structure, i.e., lists of such B<Point>s. The | ||||
37 | remaining B<Point>s at the end just need to be dereferenced and form | ||||
38 | the result. | ||||
39 | |||||
40 | =head1 INTERNAL METHODS | ||||
41 | |||||
42 | =head2 new | ||||
43 | |||||
44 | Constructor. | ||||
45 | |||||
46 | =head2 parent | ||||
47 | |||||
48 | Attribute / accessor. | ||||
49 | |||||
50 | =head2 ref | ||||
51 | |||||
52 | Attribute / accessor. | ||||
53 | |||||
54 | =head2 attrs | ||||
55 | |||||
56 | Attribute / accessor. | ||||
57 | |||||
58 | =head1 AUTHOR | ||||
59 | |||||
60 | Steffen Schwigon <ss5@renormalist.net> | ||||
61 | |||||
62 | =head1 COPYRIGHT AND LICENSE | ||||
63 | |||||
64 | This software is copyright (c) 2012 by Steffen Schwigon. | ||||
65 | |||||
66 | This is free software; you can redistribute it and/or modify it under | ||||
67 | the same terms as the Perl 5 programming language system itself. | ||||
68 | |||||
69 | =cut | ||||
70 | |||||
71 | |||||
72 | __END__ |