Subroutine Coverage

lib/Workflow/Factory.pm
Criterion Covered Total %
subroutine 43 50 86.0
pod 17 17 100.0


line count pod subroutine
3 20 n/a BEGIN
4 20 n/a BEGIN
5 20 n/a BEGIN
6 20 n/a BEGIN
7 20 n/a BEGIN
8 20 n/a BEGIN
9 20 n/a BEGIN
10 20 n/a BEGIN
19 95 n/a import
29 20 n/a BEGIN
32 23 n/a __ANON__
59 2 Yes new
68 30 Yes instance
75 46 n/a _initialize_instance
89 0 n/a _delete_instance
105 16 Yes add_config_from_file
113 54 n/a __ANON__
195 25 Yes add_config
207 41 n/a _check_config_keys
220 178 n/a _flatten
228 58 n/a _add_workflow_config
265 42 n/a _load_observers
274 9 n/a __ANON__
283 20 n/a BEGIN
304 1 n/a __ANON__
317 4 n/a _load_class
328 23 Yes create_workflow
379 8 Yes fetch_workflow
412 27 Yes associate_observers_with_workflow
419 3 n/a _initialize_workflow_config
429 163 n/a _get_workflow_config
436 0 n/a _insert_workflow
446 54 Yes save_workflow
476 74 n/a _commit_transaction
486 0 n/a _rollback_transaction
496 4 Yes get_workflow_history
508 52 n/a _add_action_config
553 20 n/a BEGIN
564 60 Yes get_action_config
576 0 Yes get_action
586 41 n/a _add_persister_config
621 188 Yes get_persister
630 0 Yes get_persisters
637 0 Yes get_persister_for_workflow_type
653 51 n/a _add_condition_config
701 232 Yes get_condition
741 42 n/a _add_validator_config
787 13 Yes get_validator
795 0 Yes get_validators
801 139 n/a _validate_action_config