-
Home
-
RSFirewall!
-
1.1.44 (latest)
-
Code
-
Classes
- RSFirewall_Model_Configuration
| Total Complexity |
154 |
| Dependencies |
8 |
| Dependents |
0 |
| Total lines |
760 |
| Lines of code |
526 |
| Logical lines of code |
306 |
| Comment lines |
110 |
| Methods |
21 |
| Properties |
0 |
Methods 21
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| validate() |
D |
25 |
46 |
137 |
| init_config() |
B |
36 |
21 |
75 |
| process_import_cfg_file() |
B |
39 |
16 |
61 |
| harden_editors() |
B |
43 |
17 |
44 |
| add_whitelisted() |
A |
47 |
9 |
34 |
| handle_upload_file_errors() |
A |
50 |
9 |
32 |
| get_extension() |
S |
57 |
4 |
16 |
| export_configuration() |
S |
59 |
4 |
15 |
| handle_uploads() |
S |
60 |
4 |
13 |
| get_administrator_users() |
S |
60 |
3 |
13 |
| delete_file() |
S |
65 |
3 |
9 |
| remove_whitelisted() |
S |
65 |
3 |
8 |
| get_users_roles() |
S |
60 |
2 |
13 |
| mime_types() |
S |
71 |
2 |
6 |
| harden_uploads() |
S |
67 |
2 |
8 |
| harden_wp_content() |
S |
69 |
2 |
7 |
| harden_wp_includes() |
S |
69 |
2 |
7 |
| admin_notice() |
S |
64 |
2 |
10 |
| __construct() |
S |
72 |
1 |
5 |
| strip_ext() |
S |
79 |
1 |
3 |
| only_pro_version() |
S |
63 |
1 |
10 |