Subroutine Coverage
blib/lib/Toggle.pm |
|
Criterion |
Covered |
Total |
% |
subroutine |
45 |
45 |
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 |
199
|
1 |
n/a |
BEGIN |
208
|
1900 |
No |
BUILDARGS |
224
|
114 |
No |
serialize |
234
|
17 |
No |
add_user |
240
|
4 |
No |
remove_user |
246
|
23 |
No |
add_group |
252
|
4 |
No |
remove_group |
258
|
5 |
No |
clear |
267
|
300 |
No |
variant |
283
|
1522 |
No |
is_active |
297
|
1520 |
n/a |
_is_user_in_percentage |
303
|
1255 |
n/a |
_is_user_in_active_users |
309
|
1252 |
n/a |
_is_user_in_active_group |
319
|
3096 |
n/a |
_user_id |