MvcModel D

Total Complexity 218
Dependencies 8
Dependents 2
Total lines 874
Lines of code 762
Logical lines of code 423
Comment lines 9
Methods 38
Properties 18

Methods 38

Method Rating Maintainability Complexity Lines of code
init_associations()
D
33 36 94
process_objects()
C
34 26 89
__construct()
A
43 15 42
process_find_options()
A
40 12 63
update_has_and_belongs_to_many_associations()
A
44 11 49
validate_all_data()
A
51 11 26
create()
A
51 9 28
save()
A
50 8 31
validate_data()
S
53 7 23
delete_dependent_associations()
S
55 7 20
init_schema()
S
50 6 27
get_keyword_conditions()
S
53 6 22
delete_all()
S
56 6 18
__call()
S
54 5 21
init_properties()
S
57 5 17
update_associations()
S
60 5 14
update_all()
S
64 5 9
check_for_obsolete_functionality()
S
54 3 20
update_has_many_associations()
S
65 4 9
update()
S
62 4 10
paginate()
S
58 3 15
find_by_id()
S
65 2 8
object_to_array()
S
72 2 6
insert()
S
66 2 9
invalidate()
S
64 2 10
has_post()
S
80 2 3
find_one()
S
66 2 8
new_object()
S
67 2 8
find()
S
71 1 6
save_post()
S
80 1 3
delete()
S
71 1 6
get_total_count()
S
66 1 8
process_table_name()
S
72 1 5
average()
S
67 1 7
min()
S
67 1 7
max()
S
67 1 7
count()
S
68 1 7
sum()
S
67 1 7