| lib/UR/Value/SloppyPrimitive.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 | package UR::Value::SloppyPrimitive; | ||||||
| 2 | 136 | 136 | 20385 | use strict; | |||
| 136 | 223 | ||||||
| 136 | 3985 | ||||||
| 3 | 136 | 136 | 526 | use warnings; | |||
| 136 | 169 | ||||||
| 136 | 10288 | ||||||
| 4 | require UR; | ||||||
| 5 | our $VERSION = "0.46"; # UR $VERSION; | ||||||
| 6 | |||||||
| 7 | UR::Object::Type->define( | ||||||
| 8 | class_name => 'UR::Value::SloppyPrimitive', | ||||||
| 9 | is => ['UR::Value'], | ||||||
| 10 | ); | ||||||
| 11 | |||||||
| 12 | # namespaces which have allow_sloppy_primitives() set to true | ||||||
| 13 | # will use this for any unrecognizable data types. | ||||||
| 14 | |||||||
| 15 | 1; | ||||||
| 16 |