GP_Translation B

Total Complexity 89
Dependencies 3
Dependents 2
Total lines 711
Lines of code 311
Logical lines of code 202
Comment lines 257
Methods 17
Properties 23

Methods 17

Method Rating Maintainability Complexity Lines of code
for_translation()
D
22
41 171
can_set_status()
A
54 10 19
normalize_fields()
A
54 8 20
set_status()
S
60 4 14
create()
S
68 4 7
set_as_current()
S
63 4 10
last_modified()
S
61 3 12
translations()
S
66 3 7
prepare_fields_for_save()
S
68 2 7
set_fields()
S
71 2 6
for_export()
S
77 2 3
restrict_fields()
S
62 1 13
fix_translation()
S
68 1 7
reject()
S
81 1 3
after_create()
S
76 1 4
after_save()
S
76 1 4
after_delete()
S
76 1 4