Smooth/Flatten/DateTime.pm

filter: Statementstmt 89.4% 17 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 1 totaltotal 84.6% 22 / 26 CC 1 SCAR 1.5
CC
1
Cov
89%
smooth__flatten__DateTime
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Smooth/Result.pm ↑ Summary Smooth/Lookup/Operators/gt.pm »
1 1 ▶use 5.20.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package DBIx::Class::Smooth::Flatten::DateTime;
6  
7 # ABSTRACT: Short intro
8 1 our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY
9 1 our $VERSION = '0.0104';
10  
11 1 use parent qw/
12 DBIx::Class::Helper::ResultSet::DateMethods1
13 1 ▶/;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use experimental qw/signatures postderef/;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 ▶sub smooth__flatten__DateTime($self, $dt) {
Subroutine smooth__flatten__DateTime: not called CC=1 SCAR=6.9
Pod undocumented
17 # ->utc() is from ::RS::DateMethods1
18 0 my $datetime_string = $self->utc($dt);
19 0 return $datetime_string;
20 }
21  
22 1 1;
23  
24 __END__
25  
26 =pod
27  
28 =encoding UTF-8
29  
30 =head1 NAME
31  
32 DBIx::Class::Smooth::Flatten::DateTime - Short intro
33  
34 =head1 VERSION
35  
36 Version 0.0104, released 2020-08-30.
37  
38 =head1 SOURCE
39  
40 L<https://github.com/Csson/p5-DBIx-Class-Smooth>
41  
42 =head1 HOMEPAGE
43  
44 L<https://metacpan.org/release/DBIx-Class-Smooth>
45  
46 =head1 AUTHOR
47  
48 Erik Carlsson <info@code301.com>
49  
50 =head1 COPYRIGHT AND LICENSE
51  
52 This software is copyright (c) 2018 by Erik Carlsson.
53  
54 This is free software; you can redistribute it and/or modify it under
55 the same terms as the Perl 5 programming language system itself.
56  
57 =cut
« Smooth/Result.pm ↑ Summary Smooth/Lookup/Operators/gt.pm »