blib/lib/DateTimeX/Lite.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
subroutine | 106 | 109 | 97.2 |
pod | 70 | 78 | 89.7 |
line | count | pod | subroutine |
---|---|---|---|
2 | 56 | n/a | BEGIN |
3 | 56 | n/a | BEGIN |
4 | 56 | n/a | BEGIN |
11 | 56 | n/a | BEGIN |
13 | 56 | n/a | BEGIN |
15 | 56 | n/a | BEGIN |
16 | 56 | n/a | BEGIN |
17 | 56 | n/a | BEGIN |
18 | 56 | n/a | BEGIN |
19 | 56 | n/a | BEGIN |
20 | 56 | n/a | BEGIN |
21 | 56 | n/a | BEGIN |
24 | 56 | n/a | BEGIN |
33 | 56 | n/a | BEGIN |
35 | 56 | n/a | BEGIN |
36 | 128911 | n/a | __ANON__ |
43 | 55 | n/a | import |
50 | 8275 | Yes | utc_rd_values |
51 | 12 | Yes | local_rd_values |
54 | 4859 | Yes | utc_rd_as_seconds |
57 | 270 | Yes | local_rd_as_seconds |
62 | 24 | Yes | jd |
74 | 10 | Yes | mjd |
76 | 5649 | Yes | clone |
79 | 0 | Yes | to_datetime |
89 | 6468 | Yes | set_time_zone |
117 | 27757 | Yes | new |
195 | 37393 | n/a | _calc_utc_rd |
217 | 39830 | n/a | _handle_offset_modifier |
285 | 27983 | n/a | _calc_local_rd |
313 | 27978 | n/a | _calc_local_components |
325 | 6322 | Yes | from_object |
369 | 74 | Yes | last_day_of_month |
377 | 589 | Yes | offset |
378 | 25109 | n/a | _offset_for_local_datetime |
381 | 17220 | Yes | nanosecond |
382 | 3 | Yes | fractional_second |
384 | 8 | Yes | millisecond |
386 | 7 | Yes | microsecond |
390 | 15 | n/a | _round |
397 | 20 | Yes | ce_year |
401 | 2 | No | era_name |
403 | 10 | No | era_abbr |
405 | 13 | n/a | _era_index |
407 | 4 | No | christian_era |
408 | 4 | No | secular_era |
410 | 2 | No | year_with_era |
411 | 2 | No | year_with_christian_era |
412 | 2 | No | year_with_secular_era |
415 | 6 | Yes | month_name |
417 | 10 | Yes | month_abbr |
419 | 56 | Yes | BEGIN |
419 | 4 | n/a | weekday_of_month |
421 | 2 | Yes | quarter_name |
422 | 2 | Yes | quarter_abbr |
424 | 11938 | Yes | day_of_week |
428 | 4 | Yes | local_day_of_week |
440 | 5 | Yes | hour_1 |
442 | 30 | Yes | hour_12 |
444 | 6 | Yes | day_name |
446 | 8 | Yes | day_abbr |
448 | 8 | Yes | day_of_quarter |
450 | 70 | Yes | day_of_year |
452 | 23 | Yes | am_or_pm |
459 | 4 | Yes | week_of_month |
467 | 37 | Yes | week |
503 | 11 | n/a | _weeks_in_year |
515 | 5 | Yes | week_year |
516 | 6 | Yes | week_number |
520 | 730 | Yes | ymd |
531 | 3 | Yes | mdy |
542 | 3 | Yes | dmy |
553 | 178 | Yes | hms |
562 | 174 | Yes | iso8601 |
564 | 2 | Yes | is_leap_year |
566 | 31865 | Yes | time_zone |
569 | 56 | Yes | is_dst |
571 | 3 | Yes | time_zone_long_name |
572 | 8 | Yes | time_zone_short_name |
574 | 17083 | Yes | locale |
580 | 17073 | n/a | _new_from_self |
593 | 17055 | Yes | set |
602 | 1 | Yes | set_year |
603 | 1 | Yes | set_month |
604 | 1 | Yes | set_day |
605 | 1 | Yes | set_hour |
606 | 1 | Yes | set_minute |
607 | 1 | Yes | set_second |
608 | 1 | Yes | set_nanosecond |
610 | 1 | Yes | set_locale |
612 | 0 | Yes | set_formatter |
615 | 17073 | Yes | formatter |
619 | 28 | Yes | from_epoch |
644 | 16 | n/a | _utc_ymd |
653 | 16 | n/a | _utc_hms |
661 | 17 | Yes | now |
663 | 2 | Yes | today |
675 | 26 | Yes | truncate |
709 | 17 | Yes | epoch |
730 | 1 | Yes | hires_epoch |
741 | 0 | Yes | is_finite |
742 | 6318 | Yes | is_infinite |
745 | 15 | No | utc_year |
750 | 3 | Yes | leap_seconds |
759 | 16 | n/a | _calc_utc_components |
773 | 966 | Yes | compare |
778 | 1 | Yes | compare_ignore_floating |
783 | 967 | n/a | _compare |
834 | 1122 | Yes | from_day_of_year |