Code

Rating   Name Duplication Size Complexity CRAP
F _generate_triggers() 0 129 17 306
F _import_osm_dom() 0 145 33 33.02
F _query_compiling() 0 81 12 156
F monkey_patch_sqlalchemy() 0 37 12 43.1
F _dom_to_relation() 0 43 9 9
C monkey_patch_flask_restless() 0 22 7 56
C _dom_attrs_to_any() 0 13 8 8.06
B _instance_loading() 0 39 4 20
B _dom_to_way() 0 26 4 4
B OSMAlchemyModelTests.test_create_way_with_nodes_and_tags() 0 28 1 ?
B OSMAlchemyModelTests.test_create_relation_with_nodes() 0 27 1 ?
B OSMAlchemyModelTests.test_create_relation_with_nodes_and_ways_and_tags_everywhere() 0 41 1 ?
B OSMAlchemyModelTests.test_create_way_with_nodes_and_tags_and_tags_on_node() 0 33 1 ?
B OSMAlchemyModelTests.test_create_relation_with_nodes_and_ways() 0 33 1 ?
A OSMAlchemyModelTests.test_create_way_with_nodes() 0 23 1 ?