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 | 187 | use strict; | |||
24 | 309 | ||||||
24 | 927 | ||||||
5 | 24 | 24 | 131 | use base qw( Data::ObjectDriver::BaseObject ); | |||
24 | 43 | ||||||
24 | 2378 | ||||||
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; |