blib/lib/TheSchwartz/ExitStatus.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | # $Id$ | ||||||
2 | |||||||
3 | package TheSchwartz::ExitStatus; | ||||||
4 | 24 | 24 | 174 | use strict; | |||
24 | 315 | ||||||
24 | 951 | ||||||
5 | 24 | 24 | 154 | use base qw( Data::ObjectDriver::BaseObject ); | |||
24 | 50 | ||||||
24 | 2582 | ||||||
6 | |||||||
7 | __PACKAGE__->install_properties( | ||||||
8 | { columns => [ | ||||||
9 | qw( jobid status funcid | ||||||
10 | completion_time delete_after ) | ||||||
11 | ], | ||||||
12 | datasource => 'exitstatus', | ||||||
13 | primary_key => 'jobid', | ||||||
14 | } | ||||||
15 | ); | ||||||
16 | |||||||
17 | 1; |