Subroutine Coverage

blib/lib/Metabase/Fact.pm
Criterion Covered Total %
subroutine 34 45 75.5
pod 32 32 100.0


line count pod subroutine
1 7 n/a BEGIN
2 7 n/a BEGIN
3 7 n/a BEGIN
9 7 n/a BEGIN
10 7 n/a BEGIN
11 7 n/a BEGIN
12 7 n/a BEGIN
23 47 n/a __validate_args
50 45 n/a __validate_guid
58 45 Yes validate_resource
68 31 Yes new
94 35 n/a _zulu_datetime
99 47 n/a _bool
105 45 n/a _init_guts
149 80 Yes content
153 0 Yes creation_time
154 8 Yes guid
155 10 Yes resource
156 0 Yes schema_version
160 31 Yes creator
163 13 Yes set_creator
180 0 Yes update_time
183 0 Yes touch
189 0 Yes valid
192 2 Yes set_valid
199 17 Yes core_metadata
205 0 Yes core_metadata_types
217 0 Yes resource_metadata
223 0 Yes resource_metadata_types
235 13 n/a _load_fact_class
250 15 Yes as_struct
271 10 Yes from_struct
312 1 Yes as_json
317 1 Yes from_json
324 1 Yes save
334 1 Yes load
348 129 Yes type
358 15 Yes class_from_type
374 81 Yes default_schema_version
380 0 Yes content_metadata
382 0 Yes content_metadata_types
385 0 Yes upgrade_fact
391 1 Yes content_as_bytes
396 1 Yes content_from_bytes
401 1 Yes validate_content