blib/lib/App/Netdisco/DB/Result/Statistics.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use utf8;
2 package App::Netdisco::DB::Result::Statistics;
3  
4 use strict;
5 use warnings;
6  
7 use base 'App::Netdisco::DB::Result';
8 __PACKAGE__->table("statistics");
9 __PACKAGE__->add_columns(
10 "day",
11 { data_type => "date", default_value => \"CURRENT_DATE", is_nullable => 0 },
12 "device_count",
13 { data_type => "integer", is_nullable => 0 },
14 "device_ip_count",
15 { data_type => "integer", is_nullable => 0 },
16 "device_link_count",
17 { data_type => "integer", is_nullable => 0 },
18 "device_port_count",
19 { data_type => "integer", is_nullable => 0 },
20 "device_port_up_count",
21 { data_type => "integer", is_nullable => 0 },
22 "ip_table_count",
23 { data_type => "integer", is_nullable => 0 },
24 "ip_active_count",
25 { data_type => "integer", is_nullable => 0 },
26 "node_table_count",
27 { data_type => "integer", is_nullable => 0 },
28 "node_active_count",
29 { data_type => "integer", is_nullable => 0 },
30 "phone_count",
31 { data_type => "integer", is_nullable => 0 },
32 "wap_count",
33 { data_type => "integer", is_nullable => 0 },
34 "netdisco_ver",
35 { data_type => "text", is_nullable => 1 },
36 "snmpinfo_ver",
37 { data_type => "text", is_nullable => 1 },
38 "schema_ver",
39 { data_type => "text", is_nullable => 1 },
40 "perl_ver",
41 { data_type => "text", is_nullable => 1 },
42 "python_ver",
43 { data_type => "text", is_nullable => 1 },
44 "pg_ver",
45 { data_type => "text", is_nullable => 1 },
46 );
47  
48 __PACKAGE__->set_primary_key("day");
49  
50 1;