-
Home
-
GlotPress
-
2.3.1
-
Code
-
Classes
- GP_Route
Total Complexity |
52 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
362 |
Lines of code |
177 |
Logical lines of code |
107 |
Comment lines |
122 |
Methods |
23 |
Properties |
17 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
tmpl() |
S |
56 |
6 |
18 |
redirect() |
S |
58 |
4 |
16 |
set_notices_and_errors() |
S |
63 |
4 |
11 |
after_request() |
S |
68 |
3 |
7 |
verify_nonce() |
S |
66 |
3 |
9 |
can_or_forbidden() |
S |
64 |
3 |
9 |
get_http_referer() |
S |
65 |
3 |
10 |
get_raw_referer() |
S |
66 |
3 |
8 |
headers_for_download() |
S |
62 |
2 |
12 |
invalid_and_redirect() |
S |
67 |
2 |
8 |
cannot_and_redirect() |
S |
66 |
2 |
8 |
invalid_nonce_and_redirect() |
S |
68 |
2 |
7 |
logged_in_or_forbidden() |
S |
73 |
2 |
5 |
exit_() |
S |
68 |
2 |
8 |
header() |
S |
66 |
2 |
8 |
status_header() |
S |
70 |
2 |
7 |
__construct() |
S |
91 |
1 |
2 |
die_with_error() |
S |
77 |
1 |
4 |
before_request() |
S |
79 |
1 |
3 |
validate() |
S |
73 |
1 |
5 |
can() |
S |
78 |
1 |
3 |
redirect_with_error() |
S |
76 |
1 |
4 |
die_with_404() |
S |
71 |
1 |
5 |