Subroutine Coverage

blib/lib/ClearPress/model.pm
Criterion Covered Total %
subroutine 47 51 92.1
pod 30 30 100.0


line count pod subroutine
8 7 n/a BEGIN
9 7 n/a BEGIN
10 7 n/a BEGIN
11 7 n/a BEGIN
12 7 n/a BEGIN
13 7 n/a BEGIN
14 7 n/a BEGIN
15 7 n/a BEGIN
16 7 n/a BEGIN
17 7 n/a BEGIN
25 9 Yes fields
28 31 n/a _plfunc
33 201 Yes primary_key
37 83 Yes secondary_key
41 46 Yes table
50 77 Yes init
53 77 Yes new
94 59 Yes util
149 98 Yes get
159 9 Yes gen_getarray
197 6 Yes gen_getall
223 1 Yes gen_getfriends
247 4 Yes gen_getfriends_through
277 1 Yes gen_getobj
289 2 Yes gen_getobj_through
317 0 Yes belongs_to
322 1 Yes hasa
328 9 Yes has_a
354 7 n/a BEGIN
356 0 n/a __ANON__
365 1 Yes hasmany
371 5 Yes has_many
398 7 n/a BEGIN
400 1 n/a __ANON__
409 0 Yes belongs_to_through
414 4 Yes has_a_through
448 7 n/a BEGIN
450 2 n/a __ANON__
459 4 Yes has_many_through
494 7 n/a BEGIN
496 4 n/a __ANON__
506 16 Yes has_all
516 7 n/a BEGIN
518 6 n/a __ANON__
526 16 Yes create
574 25 Yes read
641 4 Yes update
687 1 Yes delete
722 0 Yes save
733 1 Yes zdate
750 3 Yes isodate