tensorflow/tensorflow

View on GitHub
tensorflow/python/ops/lookup_ops.py

Summary

Maintainability
F
6 days
Test Coverage

File lookup_ops.py has 1964 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Severity: Major
Found in tensorflow/python/ops/lookup_ops.py - About 5 days to fix

    Function __init__ has 10 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      def __init__(self,
    Severity: Major
    Found in tensorflow/python/ops/lookup_ops.py - About 1 hr to fix

      Function index_table_from_file has 10 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      def index_table_from_file(vocabulary_file=None,
      Severity: Major
      Found in tensorflow/python/ops/lookup_ops.py - About 1 hr to fix

        Function __init__ has 10 arguments (exceeds 4 allowed). Consider refactoring.
        Open

          def __init__(self,
        Severity: Major
        Found in tensorflow/python/ops/lookup_ops.py - About 1 hr to fix

          Function __init__ has 8 arguments (exceeds 4 allowed). Consider refactoring.
          Open

            def __init__(self,
          Severity: Major
          Found in tensorflow/python/ops/lookup_ops.py - About 1 hr to fix

            Function __init__ has 7 arguments (exceeds 4 allowed). Consider refactoring.
            Open

              def __init__(self,
            Severity: Major
            Found in tensorflow/python/ops/lookup_ops.py - About 50 mins to fix

              Function index_to_string_table_from_file has 7 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              def index_to_string_table_from_file(vocabulary_file,
              Severity: Major
              Found in tensorflow/python/ops/lookup_ops.py - About 50 mins to fix

                Function __init__ has 7 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                  def __init__(self,
                Severity: Major
                Found in tensorflow/python/ops/lookup_ops.py - About 50 mins to fix

                  Function __init__ has 6 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                    def __init__(self,
                  Severity: Minor
                  Found in tensorflow/python/ops/lookup_ops.py - About 45 mins to fix

                    Function index_table_from_tensor has 6 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    def index_table_from_tensor(vocabulary_list,
                    Severity: Minor
                    Found in tensorflow/python/ops/lookup_ops.py - About 45 mins to fix

                      Function __init__ has 6 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                        def __init__(self,
                      Severity: Minor
                      Found in tensorflow/python/ops/lookup_ops.py - About 45 mins to fix

                        Function __init__ has 6 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                          def __init__(self, keys, values, key_dtype=None, value_dtype=None, name=None):
                        Severity: Minor
                        Found in tensorflow/python/ops/lookup_ops.py - About 45 mins to fix

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

                            def __init__(self,
                          Severity: Minor
                          Found in tensorflow/python/ops/lookup_ops.py - About 35 mins to fix

                            There are no issues that match your filters.

                            Category
                            Status