Subroutine Coverage

blib/lib/Toggle.pm
Criterion Covered Total %
subroutine 43 43 100.0
pod 15 26 57.6


line count pod subroutine
4 1 n/a BEGIN
17 10 Yes activate
23 5 Yes deactivate
28 5 n/a __ANON__
34 23 Yes activate_group
39 23 n/a __ANON__
45 4 Yes deactivate_group
50 4 n/a __ANON__
56 17 Yes activate_user
61 17 n/a __ANON__
67 4 Yes deactivate_user
72 4 n/a __ANON__
78 10 Yes define_group
84 1522 Yes is_active
91 23 Yes activate_percentage
96 23 n/a __ANON__
102 1 Yes deactivate_percentage
108 6 No is_active_in_group
110 1 n/a __ANON__
115 1900 No get
130 118 Yes add_feature
141 2 Yes remove_feature
150 131 Yes features
156 2 Yes set_variants
166 300 Yes variant
172 2016 n/a _key
177 251 n/a _features_key
181 76 n/a _with_feature
189 114 n/a _save
197 1 n/a BEGIN
198 1 n/a BEGIN
207 1900 No BUILDARGS
223 114 No serialize
233 17 No add_user
239 4 No remove_user
245 23 No add_group
251 4 No remove_group
257 5 No clear
266 300 No variant
282 1522 No is_active
296 1520 n/a _is_user_in_percentage
302 1255 n/a _is_user_in_active_users
308 1252 n/a _is_user_in_active_group