Subroutine Coverage

blib/lib/DateTime/Duration.pm
Criterion Covered Total %
subroutine 51 51 100.0
pod 33 33 100.0


line count pod subroutine
3 49 n/a BEGIN
4 49 n/a BEGIN
5 49 n/a BEGIN
9 49 n/a BEGIN
10 49 n/a BEGIN
11 49 n/a BEGIN
12 49 n/a BEGIN
13 49 n/a BEGIN
14 49 n/a BEGIN
23 49 n/a BEGIN
63 32024 Yes new
99 48 n/a _normalize_nanoseconds
112 12 Yes clone
114 4 Yes years
115 4 Yes months
116 4 Yes weeks
117 4 Yes days
118 10 Yes hours
119 7 Yes minutes
120 7 Yes seconds
121 4 Yes nanoseconds
123 8 Yes is_positive
124 10 Yes is_negative
127 18 n/a _has_positive
131 13 n/a _has_negative
135 32690 Yes is_zero
139 30 Yes delta_months
140 36 Yes delta_days
141 29 Yes delta_minutes
142 47 Yes delta_seconds
143 33 Yes delta_nanoseconds
146 63897 Yes deltas
150 64 Yes in_units
199 541 Yes is_wrap_mode
200 3 Yes is_limit_mode
201 1081 Yes is_preserve_mode
203 2 Yes end_of_month_mode
206 3 Yes calendar_duration
213 3 Yes clock_duration
221 22890 Yes inverse
239 17 Yes add_duration
251 5 Yes add
257 5 Yes subtract
265 10 n/a _duration_object_from_args
273 11 Yes subtract_duration
285 4 Yes multiply
299 5 Yes compare
310 1 n/a _add_overload
324 6 n/a _subtract_overload
336 3 n/a _multiply_overload
344 1 n/a _compare_overload