SB_Instagram_Token_Refresher S

Total Complexity 22
Dependencies 2
Dependents 3
Total lines 180
Lines of code 88
Logical lines of code 58
Comment lines 57
Methods 9
Properties 2

Methods 9

Method Rating Maintainability Complexity Lines of code
attempt_token_refresh()
S
54 4 21
should_attempt_refresh()
S
59 3 16
refresh_time_has_passed_threshold()
S
64 3 9
minimum_time_interval_since_last_attempt_has_passed()
S
66 3 8
get_last_error_code()
S
65 3 9
add_renewal_data()
S
61 2 11
update_last_attempt_timestamp()
S
67 2 7
__construct()
S
77 1 4
get_report()
S
82 1 3