-
Home
-
WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager
-
2.1.7
-
Code
-
Classes
- WPCode_File_Logger
| Total Complexity |
48 |
| Dependencies |
1 |
| Dependents |
1 |
| Total lines |
369 |
| Lines of code |
175 |
| Logical lines of code |
94 |
| Comment lines |
149 |
| Methods |
18 |
| Properties |
4 |
Methods 18
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| open() |
S |
53 |
7 |
23 |
| increment_log_infix() |
S |
55 |
4 |
19 |
| should_rotate() |
S |
59 |
4 |
15 |
| write() |
S |
61 |
4 |
12 |
| delete_log() |
S |
61 |
4 |
11 |
| get_logs() |
S |
59 |
3 |
14 |
| __destruct() |
S |
70 |
3 |
7 |
| __construct() |
S |
67 |
2 |
7 |
| write_cached_logs() |
S |
72 |
2 |
5 |
| handle() |
S |
68 |
2 |
7 |
| log_rotate() |
S |
70 |
2 |
6 |
| close() |
S |
71 |
2 |
6 |
| is_open() |
S |
78 |
2 |
3 |
| get_log_dir() |
S |
64 |
2 |
10 |
| is_enabled() |
S |
70 |
2 |
6 |
| format_entry() |
S |
62 |
1 |
12 |
| get_file_path() |
S |
68 |
1 |
6 |
| cache_log() |
S |
71 |
1 |
6 |