Subroutine Coverage

blib/lib/Test/Mock/Redis.pm
Criterion Covered Total %
subroutine 49 50 98.0
pod 1 5 20.0


line count pod subroutine
3 15 n/a BEGIN
4 15 n/a BEGIN
6 15 n/a BEGIN
7 15 n/a BEGIN
8 15 n/a BEGIN
9 15 n/a BEGIN
10 15 n/a BEGIN
11 15 n/a BEGIN
12 15 n/a BEGIN
93 381 n/a _new_db
99 19 n/a _defaults
116 24 Yes new
152 3 No quit
293 15 n/a BEGIN
603 3593 n/a _stash
907 15 n/a BEGIN
1007 32 n/a _expires_count_and_avg_ttl_for_db
1273 151 n/a _normalize_index
1280 47 n/a _normalize_range
1290 129 n/a _is_list
1298 69 n/a _make_list
1305 112 n/a _is_hash
1313 25 n/a _make_hash
1320 89 n/a _is_set
1328 32 n/a _make_set
1335 20 n/a _is_zset
1343 20 n/a _make_zset
1353 6 No multi
1368 4 No exec
1385 1 n/a __ANON__
1390 0 n/a __ANON__
1405 7 n/a __ANON__
1406 1 n/a __ANON__
1418 3 No discard
1558 11 n/a new
1562 5 n/a new
1566 3 n/a new
1570 7 n/a new
1575 15 n/a BEGIN
1575 15 n/a BEGIN
1576 15 n/a BEGIN
1577 15 n/a BEGIN
1580 21 n/a DELETE
1588 2098 n/a FETCH
1596 3076 n/a EXISTS
1604 3076 n/a _delete_if_expired
1613 13 n/a expire
1619 32 n/a expire_count_and_avg_ttl
1641 1 n/a persist
1647 8 n/a ttl