| blib/lib/Mic/Contracts.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 9 | 9 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 3 | 3 | 100.0 |
| pod | n/a | ||
| total | 12 | 12 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Mic::Contracts; | ||||||
| 2 | 11 | 11 | 1247510 | use strict; | |||
| 11 | 136 | ||||||
| 11 | 380 | ||||||
| 3 | 11 | 11 | 4503 | use Mic::ContractConfig; | |||
| 11 | 31 | ||||||
| 11 | 834 | ||||||
| 4 | |||||||
| 5 | sub import { | ||||||
| 6 | 11 | 11 | 138 | my (undef, %contract_for) = @_; | |||
| 7 | |||||||
| 8 | 11 | 47 | Mic::ContractConfig::configure(\ %contract_for); | ||||
| 9 | 11 | 351 | strict->import(); | ||||
| 10 | } | ||||||
| 11 | |||||||
| 12 | 1; | ||||||
| 13 | |||||||
| 14 | __END__ |