Code

Rating   Name Duplication Size Complexity CRAP
B build.graph.graph.KytosGraph.__init__() 0 45 7 7
B build.tests.helpers.topology_setting() 0 86 1 1
B build.graph.graph.KytosGraph.constrained_k_shortest_paths() 0 41 7 7
B build.main.Main.shortest_path() 0 46 6 6.03
B build.tests.integration.edges_settings.EdgesSettings._add_metadata_to_links() 0 72 1 1
B build.main.Main._find_all_link_ids() 0 16 7 46.83
B build.tests.integration.metadata_settings.MetadataSettings.adding_metadata() 0 69 1 1
B build.tests.integration.test_paths_edges.TestPathsEdges.test_cspf_paths_mandatory_with_flexible() 0 33 6 6
B build.tests.integration.test_paths_metadata.TestPathsMetadata.test_path_constrained_delay() 0 19 6 6
B build.tests.integration.test_paths_metadata.TestPathsMetadata.test_path_constrained_reliability_detailed() 0 18 6 6.07
B build.graph.graph.KytosGraph.update_nodes() 0 13 6 6
B build.tests.helpers.get_topology_with_metadata() 0 29 5 5
B build.tests.helpers.get_topology_with_metadata_mock() 0 27 5 5
B build.tests.integration.edges_settings.EdgesSettings._fill_links() 0 42 2 2
B build.tests.helpers.get_topology_mock() 0 41 1 1