Subroutine Coverage

blib/lib/Finance/StockAccount.pm
Criterion Covered Total %
subroutine 41 52 78.8
pod 28 45 62.2


line count pod subroutine
5 5 n/a BEGIN
6 5 n/a BEGIN
8 5 n/a BEGIN
9 5 n/a BEGIN
11 5 n/a BEGIN
12 5 n/a BEGIN
13 5 n/a BEGIN
19 16 Yes new
35 35 No getNewStatsHash
96 281 No stale
122 3 Yes allowZeroPrice
133 949 Yes getSet
143 463 Yes getSetFiltered
165 1 Yes getFilteredSets
175 257 No addToSet
198 1 No addAccountTransactions
214 25 Yes stockTransaction
258 5 Yes skipStocks
273 1 Yes resetSkipStocks
282 35 No staleSets
294 28 No calculateMaxCashInvested
314 19 No calculateStats
411 52 No getStats
421 0 Yes stats
433 1 Yes statsString
445 0 Yes availableAcquisitionsString
463 13 Yes statsForPeriod
506 1 No calculateAnnualStats
544 1 No calculateQuarterlyStats
577 0 No calculateMonthlyStats
610 1 Yes annualStats
621 1 Yes quarterlyStats
632 0 Yes monthlyStats
643 0 No periodicStatsString
680 0 Yes annualStatsString
692 0 Yes quarterlyStatsString
704 0 Yes monthlyStatsString
716 14 Yes profit
722 4 Yes maxCashInvested
728 3 Yes profitOverOutlays
734 3 No profitOverMaxCashInvested
740 3 Yes profitOverYears
746 2 No profitOverMaxCashInvestedOverYears
752 5 Yes commissions
758 0 Yes totalCommissions
762 3 Yes regulatoryFees
768 1 Yes otherFees
774 5 No numberOfTrades
780 6 No numberExcluded
786 0 No totalFees
791 0 Yes summaryByStock
803 1 Yes realizationsString