monarch-initiative/N2V

View on GitHub
embiggen/similarities/dag_resnik.py

Summary

Maintainability
C
1 day
Test Coverage

File dag_resnik.py has 399 lines of code (exceeds 250 allowed). Consider refactoring.
Open

from typing import List, Optional, Union, Dict, Tuple
import pandas as pd
import numpy as np
from ensmallen import models, Graph

Severity: Minor
Found in embiggen/similarities/dag_resnik.py - About 5 hrs to fix

    Function get_similarities_from_bipartite_graph_node_ids has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def get_similarities_from_bipartite_graph_node_ids(
    Severity: Minor
    Found in embiggen/similarities/dag_resnik.py - About 35 mins to fix

      Function get_similarities_from_bipartite_graph_node_type_ids has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def get_similarities_from_bipartite_graph_node_type_ids(
      Severity: Minor
      Found in embiggen/similarities/dag_resnik.py - About 35 mins to fix

        Function get_similarities_from_bipartite_graph_node_names has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def get_similarities_from_bipartite_graph_node_names(
        Severity: Minor
        Found in embiggen/similarities/dag_resnik.py - About 35 mins to fix

          Function get_similarities_from_bipartite_graph_node_prefixes has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              def get_similarities_from_bipartite_graph_node_prefixes(
          Severity: Minor
          Found in embiggen/similarities/dag_resnik.py - About 35 mins to fix

            Function get_similarities_from_bipartite_graph_node_type_names has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                def get_similarities_from_bipartite_graph_node_type_names(
            Severity: Minor
            Found in embiggen/similarities/dag_resnik.py - About 35 mins to fix

              There are no issues that match your filters.

              Category
              Status