mongoid/mongoid

View on GitHub
Branch: master(View all)
NameLines of codeMaintainabilityTest coverage
lib/mongoid/relations/metadata.rb338
D
2 days
perf/profile.rb304
A
3 hrs
lib/mongoid/relations/referenced/many.rb289
C
1 day
perf/benchmark.rb284
A
3 hrs
lib/mongoid/fields.rb256
A
3 hrs
lib/mongoid/contextual/mongo.rb228
B
4 hrs
lib/mongoid/relations/embedded/many.rb213
B
5 hrs
lib/mongoid/criteria.rb186
B
5 hrs
lib/mongoid/relations/referenced/many_to_many.rb179
B
5 hrs
lib/mongoid/contextual/memory.rb168
A
3 hrs
lib/mongoid/relations/targets/enumerable.rb160
A
3 hrs
lib/mongoid/changeable.rb155
A
45 mins
lib/mongoid/attributes.rb146
A
1 hr
lib/mongoid/document.rb141
A
2 hrs
lib/mongoid/atomic.rb137
A
0 mins
lib/mongoid/relations/embedded/batchable.rb133
A
3 hrs
lib/mongoid/relations/macros.rb130
A
35 mins
lib/mongoid/interceptable.rb121
B
4 hrs
lib/mongoid/scopable.rb118
A
0 mins
lib/mongoid/query_cache.rb115
A
45 mins
lib/mongoid/atomic/modifiers.rb107
A
2 hrs
lib/mongoid/contextual/map_reduce.rb107
A
0 mins
lib/mongoid/config.rb102
A
0 mins
lib/mongoid/relations/accessors.rb100
A
55 mins
lib/mongoid/clients/options.rb99
A
0 mins
lib/mongoid/validatable/uniqueness.rb98
A
50 mins
lib/mongoid/contextual/geo_near.rb91
A
0 mins
lib/mongoid/persistable.rb90
A
0 mins
lib/mongoid/relations/proxy.rb87
A
0 mins
lib/mongoid/relations/referenced/in.rb87
A
0 mins
lib/mongoid/extensions/hash.rb85
A
1 hr
lib/mongoid/traversable.rb85
A
0 mins
lib/mongoid/relations/referenced/one.rb83
A
0 mins
lib/mongoid/composable.rb83
A
0 mins
lib/mongoid/threaded.rb80
A
0 mins
lib/mongoid/matchable.rb80
A
1 hr
lib/mongoid/relations/binding.rb79
A
0 mins
lib/mongoid/extensions/object.rb78
A
0 mins
lib/mongoid/relations/builders/nested_attributes/many.rb78
A
1 hr
lib/mongoid/fields/standard.rb76
A
45 mins
lib/mongoid/persistable/creatable.rb73
A
1 hr
lib/mongoid/relations.rb73
A
25 mins
lib/mongoid/tasks/database.rb71
A
3 hrs
lib/mongoid/attributes/dynamic.rb70
A
0 mins
lib/mongoid/relations/embedded/one.rb69
A
2 hrs
lib/mongoid/validatable.rb69
A
0 mins
lib/mongoid/findable.rb68
A
0 mins
lib/mongoid/relations/synchronization.rb67
A
1 hr
lib/mongoid/serializable.rb67
A
35 mins
lib/mongoid/indexable.rb67
A
1 hr