Newebpay_Logger S

Total Complexity 35
Dependencies 1
Dependents 1
Total lines 251
Lines of code 131
Logical lines of code 82
Comment lines 68
Methods 16
Properties 3

Methods 16

Method Rating Maintainability Complexity Lines of code
protect_log_directory()
S
55 4 20
read_log()
S
55 4 20
__construct()
S
66 4 8
cleanup_old_backups()
S
61 3 12
clear_logs()
S
61 3 12
rotate_log_if_needed()
S
62 3 11
get_instance()
S
71 2 6
log()
S
63 2 10
format_message()
S
66 2 7
get_log_files()
S
68 2 7
info()
S
79 1 3
error()
S
79 1 3
warning()
S
79 1 3
debug()
S
79 1 3
payment()
S
79 1 3
api()
S
79 1 3