-
Home
-
RSFirewall!
-
1.1.44 (latest)
-
Code
-
Classes
- RSFirewall_Core
| Total Complexity |
121 |
| Dependencies |
10 |
| Dependents |
0 |
| Total lines |
964 |
| Lines of code |
542 |
| Logical lines of code |
278 |
| Comment lines |
248 |
| Methods |
31 |
| Properties |
12 |
Methods 31
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| is_user_agent_blacklisted() |
C |
35 |
24 |
87 |
| is_referer_blacklisted() |
A |
44 |
10 |
45 |
| is_listed() |
A |
41 |
7 |
61 |
| is_geo_ip_blacklisted() |
A |
50 |
8 |
27 |
| get_current_url() |
A |
51 |
8 |
26 |
| is_blacklisted() |
S |
56 |
6 |
17 |
| clear_log_history() |
S |
52 |
5 |
24 |
| is_bot() |
S |
54 |
5 |
19 |
| is_plugin_active() |
S |
60 |
5 |
13 |
| call_method() |
S |
60 |
4 |
13 |
| decode_data() |
S |
53 |
3 |
25 |
| clear_offender() |
S |
60 |
3 |
14 |
| get_host_by_addr() |
S |
59 |
3 |
14 |
| get_addr_by_host() |
S |
59 |
3 |
14 |
| __construct() |
S |
60 |
3 |
12 |
| get_hashes() |
S |
57 |
2 |
18 |
| decode_files() |
S |
58 |
2 |
17 |
| capture_offender() |
S |
58 |
2 |
16 |
| add_checked_status() |
S |
59 |
2 |
14 |
| get_config() |
S |
72 |
2 |
6 |
| count_autoban() |
S |
68 |
2 |
7 |
| count_offenders() |
S |
71 |
2 |
6 |
| add_to_blacklist() |
S |
68 |
2 |
7 |
| add_to_list() |
S |
61 |
1 |
13 |
| get_referer() |
S |
82 |
1 |
3 |
| get_agent() |
S |
82 |
1 |
3 |
| get_reason() |
S |
82 |
1 |
3 |
| set_reason() |
S |
81 |
1 |
3 |
| clear_old_offenders() |
S |
64 |
1 |
9 |
| is_whitelisted() |
S |
79 |
1 |
3 |
| preg_quote_array() |
S |
79 |
1 |
3 |