| lib/Spreadsheet/Engine/Fn/depreciation.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 11 | 11 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 5 | 5 | 100.0 |
| pod | 2 | 2 | 100.0 |
| total | 18 | 18 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Spreadsheet::Engine::Fn::depreciation; | ||||||
| 2 | |||||||
| 3 | 28 | 28 | 172 | use strict; | |||
| 28 | 58 | ||||||
| 28 | 936 | ||||||
| 4 | 28 | 28 | 146 | use warnings; | |||
| 28 | 54 | ||||||
| 28 | 950 | ||||||
| 5 | |||||||
| 6 | 28 | 28 | 143 | use base 'Spreadsheet::Engine::Fn::math'; | |||
| 28 | 54 | ||||||
| 28 | 7054 | ||||||
| 7 | |||||||
| 8 | 8 | 8 | 1 | 29 | sub signature { 'n', 'n', '>=1' } | ||
| 9 | 88 | 88 | 1 | 2053 | sub result_type { Spreadsheet::Engine::Value->new(type => 'n$') } | ||
| 10 | |||||||
| 11 | 1; | ||||||
| 12 | |||||||
| 13 | __END__ |