SPC_Session S

Total Complexity 50
Dependencies 1
Dependents 1
Total lines 291
Lines of code 198
Logical lines of code 106
Comment lines 11
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
get()
S
53 6 24
__construct()
S
52 5 25
should_start_session()
S
56 5 18
read_data()
S
57 4 18
get_blacklist()
S
56 3 20
maybe_start_session()
S
68 4 8
write_data()
S
61 3 12
cleanup()
S
62 3 11
delete()
S
70 2 6
set()
S
65 2 9
regenerate_id()
S
66 2 8
get_by_id()
S
66 2 8
json_in()
S
67 2 8
reset()
S
81 1 3
get_id()
S
82 1 3
json_out()
S
80 1 3
is_valid_md5()
S
79 1 3
generate_id()
S
71 1 5
set_cookie()
S
77 1 3
set_expiration()
S
77 1 3