jeanlescure/hipster_sql_to_hbase

View on GitHub
lib/adapter/hbase/hbase.rb

Summary

Maintainability
F
3 wks
Test Coverage

File hbase.rb has 2210 lines of code (exceeds 250 allowed). Consider refactoring.
Open

module Apache
  module Hadoop
    module Hbase
      module Thrift
        module Hbase
Severity: Major
Found in lib/adapter/hbase/hbase.rb - About 6 days to fix

    Class Client has 129 methods (exceeds 20 allowed). Consider refactoring.
    Open

              class Client
                include ::Thrift::Client
    
                def enableTable(tableName)
                  send_enableTable(tableName)
    Severity: Major
    Found in lib/adapter/hbase/hbase.rb - About 2 days to fix

      Class Processor has 43 methods (exceeds 20 allowed). Consider refactoring.
      Open

                class Processor
                  include ::Thrift::Processor
      
                  def process_enableTable(seqid, iprot, oprot)
                    args = read_args(iprot, EnableTable_args)
      Severity: Minor
      Found in lib/adapter/hbase/hbase.rb - About 5 hrs to fix

        Method scannerOpenWithStopTs has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Open

                    def scannerOpenWithStopTs(tableName, startRow, stopRow, columns, timestamp, attributes)
        Severity: Minor
        Found in lib/adapter/hbase/hbase.rb - About 45 mins to fix

          Method send_getVerTs has 6 arguments (exceeds 4 allowed). Consider refactoring.
          Open

                      def send_getVerTs(tableName, row, column, timestamp, numVersions, attributes)
          Severity: Minor
          Found in lib/adapter/hbase/hbase.rb - About 45 mins to fix

            Method getVerTs has 6 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                        def getVerTs(tableName, row, column, timestamp, numVersions, attributes)
            Severity: Minor
            Found in lib/adapter/hbase/hbase.rb - About 45 mins to fix

              Method send_scannerOpenWithStopTs has 6 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                          def send_scannerOpenWithStopTs(tableName, startRow, stopRow, columns, timestamp, attributes)
              Severity: Minor
              Found in lib/adapter/hbase/hbase.rb - About 45 mins to fix

                Method send_getRowsWithColumnsTs has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                            def send_getRowsWithColumnsTs(tableName, rows, columns, timestamp, attributes)
                Severity: Minor
                Found in lib/adapter/hbase/hbase.rb - About 35 mins to fix

                  Method send_scannerOpenWithStop has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                              def send_scannerOpenWithStop(tableName, startRow, stopRow, columns, attributes)
                  Severity: Minor
                  Found in lib/adapter/hbase/hbase.rb - About 35 mins to fix

                    Method getRowsWithColumnsTs has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                                def getRowsWithColumnsTs(tableName, rows, columns, timestamp, attributes)
                    Severity: Minor
                    Found in lib/adapter/hbase/hbase.rb - About 35 mins to fix

                      Method getVer has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                                  def getVer(tableName, row, column, numVersions, attributes)
                      Severity: Minor
                      Found in lib/adapter/hbase/hbase.rb - About 35 mins to fix

                        Method deleteAllTs has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                                    def deleteAllTs(tableName, row, column, timestamp, attributes)
                        Severity: Minor
                        Found in lib/adapter/hbase/hbase.rb - About 35 mins to fix

                          Method mutateRowTs has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                                      def mutateRowTs(tableName, row, mutations, timestamp, attributes)
                          Severity: Minor
                          Found in lib/adapter/hbase/hbase.rb - About 35 mins to fix

                            Method getRowWithColumnsTs has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                        def getRowWithColumnsTs(tableName, row, columns, timestamp, attributes)
                            Severity: Minor
                            Found in lib/adapter/hbase/hbase.rb - About 35 mins to fix

                              Method send_mutateRowTs has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                          def send_mutateRowTs(tableName, row, mutations, timestamp, attributes)
                              Severity: Minor
                              Found in lib/adapter/hbase/hbase.rb - About 35 mins to fix

                                Method send_getRowWithColumnsTs has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                            def send_getRowWithColumnsTs(tableName, row, columns, timestamp, attributes)
                                Severity: Minor
                                Found in lib/adapter/hbase/hbase.rb - About 35 mins to fix

                                  Method send_deleteAllTs has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                              def send_deleteAllTs(tableName, row, column, timestamp, attributes)
                                  Severity: Minor
                                  Found in lib/adapter/hbase/hbase.rb - About 35 mins to fix

                                    Method send_getVer has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                                def send_getVer(tableName, row, column, numVersions, attributes)
                                    Severity: Minor
                                    Found in lib/adapter/hbase/hbase.rb - About 35 mins to fix

                                      Method send_scannerOpenTs has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                                  def send_scannerOpenTs(tableName, startRow, columns, timestamp, attributes)
                                      Severity: Minor
                                      Found in lib/adapter/hbase/hbase.rb - About 35 mins to fix

                                        Method scannerOpenWithStop has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                                    def scannerOpenWithStop(tableName, startRow, stopRow, columns, attributes)
                                        Severity: Minor
                                        Found in lib/adapter/hbase/hbase.rb - About 35 mins to fix

                                          Method scannerOpenTs has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                          Open

                                                      def scannerOpenTs(tableName, startRow, columns, timestamp, attributes)
                                          Severity: Minor
                                          Found in lib/adapter/hbase/hbase.rb - About 35 mins to fix

                                            Method recv_atomicIncrement has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
                                            Open

                                                        def recv_atomicIncrement()
                                                          result = receive_message(AtomicIncrement_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise result.ia unless result.ia.nil?
                                            Severity: Minor
                                            Found in lib/adapter/hbase/hbase.rb - About 25 mins to fix

                                            Cognitive Complexity

                                            Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                            A method's cognitive complexity is based on a few simple rules:

                                            • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                            • Code is considered more complex for each "break in the linear flow of the code"
                                            • Code is considered more complex when "flow breaking structures are nested"

                                            Further reading

                                            Method recv_scannerGetList has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
                                            Open

                                                        def recv_scannerGetList()
                                                          result = receive_message(ScannerGetList_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise result.ia unless result.ia.nil?
                                            Severity: Minor
                                            Found in lib/adapter/hbase/hbase.rb - About 25 mins to fix

                                            Cognitive Complexity

                                            Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                            A method's cognitive complexity is based on a few simple rules:

                                            • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                            • Code is considered more complex for each "break in the linear flow of the code"
                                            • Code is considered more complex when "flow breaking structures are nested"

                                            Further reading

                                            Method recv_createTable has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
                                            Open

                                                        def recv_createTable()
                                                          result = receive_message(CreateTable_result)
                                                          raise result.io unless result.io.nil?
                                                          raise result.ia unless result.ia.nil?
                                                          raise result.exist unless result.exist.nil?
                                            Severity: Minor
                                            Found in lib/adapter/hbase/hbase.rb - About 25 mins to fix

                                            Cognitive Complexity

                                            Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                            A method's cognitive complexity is based on a few simple rules:

                                            • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                            • Code is considered more complex for each "break in the linear flow of the code"
                                            • Code is considered more complex when "flow breaking structures are nested"

                                            Further reading

                                            Method recv_scannerGet has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
                                            Open

                                                        def recv_scannerGet()
                                                          result = receive_message(ScannerGet_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise result.ia unless result.ia.nil?
                                            Severity: Minor
                                            Found in lib/adapter/hbase/hbase.rb - About 25 mins to fix

                                            Cognitive Complexity

                                            Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                            A method's cognitive complexity is based on a few simple rules:

                                            • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                            • Code is considered more complex for each "break in the linear flow of the code"
                                            • Code is considered more complex when "flow breaking structures are nested"

                                            Further reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                      class ScannerOpenTs_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                                        STARTROW = 2
                                                        COLUMNS = 3
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 2 hrs to fix
                                            lib/adapter/hbase/hbase.rb on lines 1809..1834

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 96.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                      class GetRowWithColumnsTs_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                                        ROW = 2
                                                        COLUMNS = 3
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 2 hrs to fix
                                            lib/adapter/hbase/hbase.rb on lines 2669..2698

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 96.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                      class DeleteAllTs_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                                        ROW = 2
                                                        COLUMN = 3
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 2 hrs to fix
                                            lib/adapter/hbase/hbase.rb on lines 1583..1609

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 90.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                      class GetVer_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                                        ROW = 2
                                                        COLUMN = 3
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 2 hrs to fix
                                            lib/adapter/hbase/hbase.rb on lines 2294..2320

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 90.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 3 locations. Consider refactoring.
                                            Open

                                                      class GetRowWithColumns_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                                        ROW = 2
                                                        COLUMNS = 3
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 2 other locations - About 2 hrs to fix
                                            lib/adapter/hbase/hbase.rb on lines 2527..2553
                                            lib/adapter/hbase/hbase.rb on lines 2625..2648

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 86.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 3 locations. Consider refactoring.
                                            Open

                                                      class ScannerOpenWithPrefix_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                                        STARTANDPREFIX = 2
                                                        COLUMNS = 3
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 2 other locations - About 2 hrs to fix
                                            lib/adapter/hbase/hbase.rb on lines 1721..1744
                                            lib/adapter/hbase/hbase.rb on lines 2527..2553

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 86.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 3 locations. Consider refactoring.
                                            Open

                                                      class ScannerOpen_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                                        STARTROW = 2
                                                        COLUMNS = 3
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 2 other locations - About 2 hrs to fix
                                            lib/adapter/hbase/hbase.rb on lines 1721..1744
                                            lib/adapter/hbase/hbase.rb on lines 2625..2648

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 86.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                      class DeleteAll_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                                        ROW = 2
                                                        COLUMN = 3
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 2 hrs to fix
                                            lib/adapter/hbase/hbase.rb on lines 1539..1562

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 80.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                      class Get_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                                        ROW = 2
                                                        COLUMN = 3
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 2 hrs to fix
                                            lib/adapter/hbase/hbase.rb on lines 2252..2275

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 80.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                      class GetRowTs_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                                        ROW = 2
                                                        TIMESTAMP = 3
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 2 hrs to fix
                                            lib/adapter/hbase/hbase.rb on lines 2444..2467

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 78.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                      class DeleteAllRowTs_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                                        ROW = 2
                                                        TIMESTAMP = 3
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 2 hrs to fix
                                            lib/adapter/hbase/hbase.rb on lines 1765..1788

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 78.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                      class ScannerGet_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                                        IA = 2
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 2830..2847

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 72.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                      class ScannerGetList_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                                        IA = 2
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 2790..2807

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 72.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                      class GetRow_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                                        ROW = 2
                                                        ATTRIBUTES = 3
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 2339..2359

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 68.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                      class DeleteAllRow_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                                        ROW = 2
                                                        ATTRIBUTES = 3
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 1680..1700

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 68.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                      class AtomicIncrement_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                                        ROW = 2
                                                        COLUMN = 3
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 1 hr to fix
                                            lib/adapter/hbase/hbase_types.rb on lines 141..160

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 64.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 13 locations. Consider refactoring.
                                            Open

                                                      class Get_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 12 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 1448..1463
                                            lib/adapter/hbase/hbase.rb on lines 1612..1627
                                            lib/adapter/hbase/hbase.rb on lines 1662..1677
                                            lib/adapter/hbase/hbase.rb on lines 1703..1718
                                            lib/adapter/hbase/hbase.rb on lines 1747..1762
                                            lib/adapter/hbase/hbase.rb on lines 1791..1806
                                            lib/adapter/hbase/hbase.rb on lines 1837..1852
                                            lib/adapter/hbase/hbase.rb on lines 1878..1893
                                            lib/adapter/hbase/hbase.rb on lines 1922..1937
                                            lib/adapter/hbase/hbase.rb on lines 1966..1981
                                            lib/adapter/hbase/hbase.rb on lines 2012..2027
                                            lib/adapter/hbase/hbase.rb on lines 2908..2923

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 56.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 13 locations. Consider refactoring.
                                            Open

                                                      class GetRowsWithColumnsTs_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 12 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 1448..1463
                                            lib/adapter/hbase/hbase.rb on lines 1565..1580
                                            lib/adapter/hbase/hbase.rb on lines 1612..1627
                                            lib/adapter/hbase/hbase.rb on lines 1662..1677
                                            lib/adapter/hbase/hbase.rb on lines 1703..1718
                                            lib/adapter/hbase/hbase.rb on lines 1747..1762
                                            lib/adapter/hbase/hbase.rb on lines 1791..1806
                                            lib/adapter/hbase/hbase.rb on lines 1837..1852
                                            lib/adapter/hbase/hbase.rb on lines 1878..1893
                                            lib/adapter/hbase/hbase.rb on lines 1922..1937
                                            lib/adapter/hbase/hbase.rb on lines 1966..1981
                                            lib/adapter/hbase/hbase.rb on lines 2908..2923

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 56.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 13 locations. Consider refactoring.
                                            Open

                                                      class GetRowOrBefore_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 12 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 1448..1463
                                            lib/adapter/hbase/hbase.rb on lines 1565..1580
                                            lib/adapter/hbase/hbase.rb on lines 1612..1627
                                            lib/adapter/hbase/hbase.rb on lines 1662..1677
                                            lib/adapter/hbase/hbase.rb on lines 1703..1718
                                            lib/adapter/hbase/hbase.rb on lines 1747..1762
                                            lib/adapter/hbase/hbase.rb on lines 1791..1806
                                            lib/adapter/hbase/hbase.rb on lines 1837..1852
                                            lib/adapter/hbase/hbase.rb on lines 1878..1893
                                            lib/adapter/hbase/hbase.rb on lines 1922..1937
                                            lib/adapter/hbase/hbase.rb on lines 1966..1981
                                            lib/adapter/hbase/hbase.rb on lines 2012..2027

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 56.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 13 locations. Consider refactoring.
                                            Open

                                                      class GetVerTs_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 12 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 1448..1463
                                            lib/adapter/hbase/hbase.rb on lines 1565..1580
                                            lib/adapter/hbase/hbase.rb on lines 1612..1627
                                            lib/adapter/hbase/hbase.rb on lines 1703..1718
                                            lib/adapter/hbase/hbase.rb on lines 1747..1762
                                            lib/adapter/hbase/hbase.rb on lines 1791..1806
                                            lib/adapter/hbase/hbase.rb on lines 1837..1852
                                            lib/adapter/hbase/hbase.rb on lines 1878..1893
                                            lib/adapter/hbase/hbase.rb on lines 1922..1937
                                            lib/adapter/hbase/hbase.rb on lines 1966..1981
                                            lib/adapter/hbase/hbase.rb on lines 2012..2027
                                            lib/adapter/hbase/hbase.rb on lines 2908..2923

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 56.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 13 locations. Consider refactoring.
                                            Open

                                                      class GetRowWithColumns_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 12 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 1448..1463
                                            lib/adapter/hbase/hbase.rb on lines 1565..1580
                                            lib/adapter/hbase/hbase.rb on lines 1612..1627
                                            lib/adapter/hbase/hbase.rb on lines 1662..1677
                                            lib/adapter/hbase/hbase.rb on lines 1703..1718
                                            lib/adapter/hbase/hbase.rb on lines 1791..1806
                                            lib/adapter/hbase/hbase.rb on lines 1837..1852
                                            lib/adapter/hbase/hbase.rb on lines 1878..1893
                                            lib/adapter/hbase/hbase.rb on lines 1922..1937
                                            lib/adapter/hbase/hbase.rb on lines 1966..1981
                                            lib/adapter/hbase/hbase.rb on lines 2012..2027
                                            lib/adapter/hbase/hbase.rb on lines 2908..2923

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 56.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 13 locations. Consider refactoring.
                                            Open

                                                      class GetRow_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 12 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 1448..1463
                                            lib/adapter/hbase/hbase.rb on lines 1565..1580
                                            lib/adapter/hbase/hbase.rb on lines 1612..1627
                                            lib/adapter/hbase/hbase.rb on lines 1662..1677
                                            lib/adapter/hbase/hbase.rb on lines 1747..1762
                                            lib/adapter/hbase/hbase.rb on lines 1791..1806
                                            lib/adapter/hbase/hbase.rb on lines 1837..1852
                                            lib/adapter/hbase/hbase.rb on lines 1878..1893
                                            lib/adapter/hbase/hbase.rb on lines 1922..1937
                                            lib/adapter/hbase/hbase.rb on lines 1966..1981
                                            lib/adapter/hbase/hbase.rb on lines 2012..2027
                                            lib/adapter/hbase/hbase.rb on lines 2908..2923

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 56.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 13 locations. Consider refactoring.
                                            Open

                                                      class GetRowTs_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 12 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 1448..1463
                                            lib/adapter/hbase/hbase.rb on lines 1565..1580
                                            lib/adapter/hbase/hbase.rb on lines 1612..1627
                                            lib/adapter/hbase/hbase.rb on lines 1662..1677
                                            lib/adapter/hbase/hbase.rb on lines 1703..1718
                                            lib/adapter/hbase/hbase.rb on lines 1747..1762
                                            lib/adapter/hbase/hbase.rb on lines 1837..1852
                                            lib/adapter/hbase/hbase.rb on lines 1878..1893
                                            lib/adapter/hbase/hbase.rb on lines 1922..1937
                                            lib/adapter/hbase/hbase.rb on lines 1966..1981
                                            lib/adapter/hbase/hbase.rb on lines 2012..2027
                                            lib/adapter/hbase/hbase.rb on lines 2908..2923

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 56.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 13 locations. Consider refactoring.
                                            Open

                                                      class GetRowsWithColumns_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 12 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 1448..1463
                                            lib/adapter/hbase/hbase.rb on lines 1565..1580
                                            lib/adapter/hbase/hbase.rb on lines 1612..1627
                                            lib/adapter/hbase/hbase.rb on lines 1662..1677
                                            lib/adapter/hbase/hbase.rb on lines 1703..1718
                                            lib/adapter/hbase/hbase.rb on lines 1747..1762
                                            lib/adapter/hbase/hbase.rb on lines 1791..1806
                                            lib/adapter/hbase/hbase.rb on lines 1837..1852
                                            lib/adapter/hbase/hbase.rb on lines 1878..1893
                                            lib/adapter/hbase/hbase.rb on lines 1966..1981
                                            lib/adapter/hbase/hbase.rb on lines 2012..2027
                                            lib/adapter/hbase/hbase.rb on lines 2908..2923

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 56.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 13 locations. Consider refactoring.
                                            Open

                                                      class GetRowsTs_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 12 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 1448..1463
                                            lib/adapter/hbase/hbase.rb on lines 1565..1580
                                            lib/adapter/hbase/hbase.rb on lines 1612..1627
                                            lib/adapter/hbase/hbase.rb on lines 1662..1677
                                            lib/adapter/hbase/hbase.rb on lines 1703..1718
                                            lib/adapter/hbase/hbase.rb on lines 1747..1762
                                            lib/adapter/hbase/hbase.rb on lines 1791..1806
                                            lib/adapter/hbase/hbase.rb on lines 1837..1852
                                            lib/adapter/hbase/hbase.rb on lines 1878..1893
                                            lib/adapter/hbase/hbase.rb on lines 1922..1937
                                            lib/adapter/hbase/hbase.rb on lines 2012..2027
                                            lib/adapter/hbase/hbase.rb on lines 2908..2923

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 56.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 13 locations. Consider refactoring.
                                            Open

                                                      class GetTableRegions_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 12 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 1565..1580
                                            lib/adapter/hbase/hbase.rb on lines 1612..1627
                                            lib/adapter/hbase/hbase.rb on lines 1662..1677
                                            lib/adapter/hbase/hbase.rb on lines 1703..1718
                                            lib/adapter/hbase/hbase.rb on lines 1747..1762
                                            lib/adapter/hbase/hbase.rb on lines 1791..1806
                                            lib/adapter/hbase/hbase.rb on lines 1837..1852
                                            lib/adapter/hbase/hbase.rb on lines 1878..1893
                                            lib/adapter/hbase/hbase.rb on lines 1922..1937
                                            lib/adapter/hbase/hbase.rb on lines 1966..1981
                                            lib/adapter/hbase/hbase.rb on lines 2012..2027
                                            lib/adapter/hbase/hbase.rb on lines 2908..2923

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 56.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 13 locations. Consider refactoring.
                                            Open

                                                      class GetVer_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 12 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 1448..1463
                                            lib/adapter/hbase/hbase.rb on lines 1565..1580
                                            lib/adapter/hbase/hbase.rb on lines 1662..1677
                                            lib/adapter/hbase/hbase.rb on lines 1703..1718
                                            lib/adapter/hbase/hbase.rb on lines 1747..1762
                                            lib/adapter/hbase/hbase.rb on lines 1791..1806
                                            lib/adapter/hbase/hbase.rb on lines 1837..1852
                                            lib/adapter/hbase/hbase.rb on lines 1878..1893
                                            lib/adapter/hbase/hbase.rb on lines 1922..1937
                                            lib/adapter/hbase/hbase.rb on lines 1966..1981
                                            lib/adapter/hbase/hbase.rb on lines 2012..2027
                                            lib/adapter/hbase/hbase.rb on lines 2908..2923

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 56.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 13 locations. Consider refactoring.
                                            Open

                                                      class GetRowWithColumnsTs_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 12 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 1448..1463
                                            lib/adapter/hbase/hbase.rb on lines 1565..1580
                                            lib/adapter/hbase/hbase.rb on lines 1612..1627
                                            lib/adapter/hbase/hbase.rb on lines 1662..1677
                                            lib/adapter/hbase/hbase.rb on lines 1703..1718
                                            lib/adapter/hbase/hbase.rb on lines 1747..1762
                                            lib/adapter/hbase/hbase.rb on lines 1791..1806
                                            lib/adapter/hbase/hbase.rb on lines 1878..1893
                                            lib/adapter/hbase/hbase.rb on lines 1922..1937
                                            lib/adapter/hbase/hbase.rb on lines 1966..1981
                                            lib/adapter/hbase/hbase.rb on lines 2012..2027
                                            lib/adapter/hbase/hbase.rb on lines 2908..2923

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 56.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 13 locations. Consider refactoring.
                                            Open

                                                      class GetRows_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 12 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 1448..1463
                                            lib/adapter/hbase/hbase.rb on lines 1565..1580
                                            lib/adapter/hbase/hbase.rb on lines 1612..1627
                                            lib/adapter/hbase/hbase.rb on lines 1662..1677
                                            lib/adapter/hbase/hbase.rb on lines 1703..1718
                                            lib/adapter/hbase/hbase.rb on lines 1747..1762
                                            lib/adapter/hbase/hbase.rb on lines 1791..1806
                                            lib/adapter/hbase/hbase.rb on lines 1837..1852
                                            lib/adapter/hbase/hbase.rb on lines 1922..1937
                                            lib/adapter/hbase/hbase.rb on lines 1966..1981
                                            lib/adapter/hbase/hbase.rb on lines 2012..2027
                                            lib/adapter/hbase/hbase.rb on lines 2908..2923

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 56.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                      class CreateTable_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                                        COLUMNFAMILIES = 2
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 1 hr to fix
                                            lib/adapter/hbase/hbase_types.rb on lines 121..136

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 52.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 6 locations. Consider refactoring.
                                            Open

                                                      class GetRegionInfo_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 5 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 2056..2071
                                            lib/adapter/hbase/hbase.rb on lines 2103..2118
                                            lib/adapter/hbase/hbase.rb on lines 2144..2159
                                            lib/adapter/hbase/hbase.rb on lines 2188..2203
                                            lib/adapter/hbase/hbase.rb on lines 2867..2882

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 50.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 6 locations. Consider refactoring.
                                            Open

                                                      class MutateRowsTs_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        IO = 1
                                                        IA = 2
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 5 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 2056..2071
                                            lib/adapter/hbase/hbase.rb on lines 2103..2118
                                            lib/adapter/hbase/hbase.rb on lines 2144..2159
                                            lib/adapter/hbase/hbase.rb on lines 2867..2882
                                            lib/adapter/hbase/hbase.rb on lines 2943..2958

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 50.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 6 locations. Consider refactoring.
                                            Open

                                                      class MutateRow_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        IO = 1
                                                        IA = 2
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 5 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 2103..2118
                                            lib/adapter/hbase/hbase.rb on lines 2144..2159
                                            lib/adapter/hbase/hbase.rb on lines 2188..2203
                                            lib/adapter/hbase/hbase.rb on lines 2867..2882
                                            lib/adapter/hbase/hbase.rb on lines 2943..2958

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 50.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 6 locations. Consider refactoring.
                                            Open

                                                      class MutateRowTs_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        IO = 1
                                                        IA = 2
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 5 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 2056..2071
                                            lib/adapter/hbase/hbase.rb on lines 2144..2159
                                            lib/adapter/hbase/hbase.rb on lines 2188..2203
                                            lib/adapter/hbase/hbase.rb on lines 2867..2882
                                            lib/adapter/hbase/hbase.rb on lines 2943..2958

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 50.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 6 locations. Consider refactoring.
                                            Open

                                                      class ScannerClose_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        IO = 1
                                                        IA = 2
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 5 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 2056..2071
                                            lib/adapter/hbase/hbase.rb on lines 2103..2118
                                            lib/adapter/hbase/hbase.rb on lines 2144..2159
                                            lib/adapter/hbase/hbase.rb on lines 2188..2203
                                            lib/adapter/hbase/hbase.rb on lines 2943..2958

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 50.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 6 locations. Consider refactoring.
                                            Open

                                                      class MutateRows_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        IO = 1
                                                        IA = 2
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 5 other locations - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 2056..2071
                                            lib/adapter/hbase/hbase.rb on lines 2103..2118
                                            lib/adapter/hbase/hbase.rb on lines 2188..2203
                                            lib/adapter/hbase/hbase.rb on lines 2867..2882
                                            lib/adapter/hbase/hbase.rb on lines 2943..2958

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 50.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                        def process_mutateRowsTs(seqid, iprot, oprot)
                                                          args = read_args(iprot, MutateRowsTs_args)
                                                          result = MutateRowsTs_result.new()
                                                          begin
                                                            @handler.mutateRowsTs(args.tableName, args.rowBatches, args.timestamp, args.attributes)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 936..946

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 49.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                        def process_mutateRow(seqid, iprot, oprot)
                                                          args = read_args(iprot, MutateRow_args)
                                                          result = MutateRow_result.new()
                                                          begin
                                                            @handler.mutateRow(args.tableName, args.row, args.mutations, args.attributes)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 1 hr to fix
                                            lib/adapter/hbase/hbase.rb on lines 975..985

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 49.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                      class ScannerOpenWithPrefix_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 55 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1281..1296
                                            lib/adapter/hbase/hbase.rb on lines 2509..2524
                                            lib/adapter/hbase/hbase.rb on lines 2556..2571
                                            lib/adapter/hbase/hbase.rb on lines 2607..2622
                                            lib/adapter/hbase/hbase.rb on lines 2701..2716
                                            lib/adapter/hbase/hbase.rb on lines 2755..2770

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 44.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                      class IsTableEnabled_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 55 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 2509..2524
                                            lib/adapter/hbase/hbase.rb on lines 2556..2571
                                            lib/adapter/hbase/hbase.rb on lines 2607..2622
                                            lib/adapter/hbase/hbase.rb on lines 2651..2666
                                            lib/adapter/hbase/hbase.rb on lines 2701..2716
                                            lib/adapter/hbase/hbase.rb on lines 2755..2770

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 44.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                      class ScannerOpenTs_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 55 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1281..1296
                                            lib/adapter/hbase/hbase.rb on lines 2509..2524
                                            lib/adapter/hbase/hbase.rb on lines 2556..2571
                                            lib/adapter/hbase/hbase.rb on lines 2607..2622
                                            lib/adapter/hbase/hbase.rb on lines 2651..2666
                                            lib/adapter/hbase/hbase.rb on lines 2755..2770

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 44.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                      class ScannerOpen_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 55 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1281..1296
                                            lib/adapter/hbase/hbase.rb on lines 2509..2524
                                            lib/adapter/hbase/hbase.rb on lines 2607..2622
                                            lib/adapter/hbase/hbase.rb on lines 2651..2666
                                            lib/adapter/hbase/hbase.rb on lines 2701..2716
                                            lib/adapter/hbase/hbase.rb on lines 2755..2770

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 44.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                      class ScannerOpenWithScan_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 55 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1281..1296
                                            lib/adapter/hbase/hbase.rb on lines 2556..2571
                                            lib/adapter/hbase/hbase.rb on lines 2607..2622
                                            lib/adapter/hbase/hbase.rb on lines 2651..2666
                                            lib/adapter/hbase/hbase.rb on lines 2701..2716
                                            lib/adapter/hbase/hbase.rb on lines 2755..2770

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 44.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                      class ScannerOpenWithStopTs_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 55 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1281..1296
                                            lib/adapter/hbase/hbase.rb on lines 2509..2524
                                            lib/adapter/hbase/hbase.rb on lines 2556..2571
                                            lib/adapter/hbase/hbase.rb on lines 2607..2622
                                            lib/adapter/hbase/hbase.rb on lines 2651..2666
                                            lib/adapter/hbase/hbase.rb on lines 2701..2716

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 44.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                      class ScannerOpenWithStop_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        SUCCESS = 0
                                                        IO = 1
                                            
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 55 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1281..1296
                                            lib/adapter/hbase/hbase.rb on lines 2509..2524
                                            lib/adapter/hbase/hbase.rb on lines 2556..2571
                                            lib/adapter/hbase/hbase.rb on lines 2651..2666
                                            lib/adapter/hbase/hbase.rb on lines 2701..2716
                                            lib/adapter/hbase/hbase.rb on lines 2755..2770

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 44.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                        def process_scannerOpenWithStopTs(seqid, iprot, oprot)
                                                          args = read_args(iprot, ScannerOpenWithStopTs_args)
                                                          result = ScannerOpenWithStopTs_result.new()
                                                          begin
                                                            result.success = @handler.scannerOpenWithStopTs(args.tableName, args.startRow, args.stopRow, args.columns, args.timestamp, args.attributes)
                                            Severity: Minor
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 50 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 837..845

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 43.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                        def process_getVerTs(seqid, iprot, oprot)
                                                          args = read_args(iprot, GetVerTs_args)
                                                          result = GetVerTs_result.new()
                                                          begin
                                                            result.success = @handler.getVerTs(args.tableName, args.row, args.column, args.timestamp, args.numVersions, args.attributes)
                                            Severity: Minor
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 50 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1122..1130

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 43.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 5 locations. Consider refactoring.
                                            Open

                                                        def process_getRowWithColumnsTs(seqid, iprot, oprot)
                                                          args = read_args(iprot, GetRowWithColumnsTs_args)
                                                          result = GetRowWithColumnsTs_result.new()
                                                          begin
                                                            result.success = @handler.getRowWithColumnsTs(args.tableName, args.row, args.columns, args.timestamp, args.attributes)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 4 other locations - About 45 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 826..834
                                            lib/adapter/hbase/hbase.rb on lines 925..933
                                            lib/adapter/hbase/hbase.rb on lines 1089..1097
                                            lib/adapter/hbase/hbase.rb on lines 1111..1119

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 41.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 5 locations. Consider refactoring.
                                            Open

                                                        def process_scannerOpenWithStop(seqid, iprot, oprot)
                                                          args = read_args(iprot, ScannerOpenWithStop_args)
                                                          result = ScannerOpenWithStop_result.new()
                                                          begin
                                                            result.success = @handler.scannerOpenWithStop(args.tableName, args.startRow, args.stopRow, args.columns, args.attributes)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 4 other locations - About 45 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 826..834
                                            lib/adapter/hbase/hbase.rb on lines 881..889
                                            lib/adapter/hbase/hbase.rb on lines 925..933
                                            lib/adapter/hbase/hbase.rb on lines 1111..1119

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 41.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 5 locations. Consider refactoring.
                                            Open

                                                        def process_getVer(seqid, iprot, oprot)
                                                          args = read_args(iprot, GetVer_args)
                                                          result = GetVer_result.new()
                                                          begin
                                                            result.success = @handler.getVer(args.tableName, args.row, args.column, args.numVersions, args.attributes)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 4 other locations - About 45 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 881..889
                                            lib/adapter/hbase/hbase.rb on lines 925..933
                                            lib/adapter/hbase/hbase.rb on lines 1089..1097
                                            lib/adapter/hbase/hbase.rb on lines 1111..1119

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 41.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 5 locations. Consider refactoring.
                                            Open

                                                        def process_getRowsWithColumnsTs(seqid, iprot, oprot)
                                                          args = read_args(iprot, GetRowsWithColumnsTs_args)
                                                          result = GetRowsWithColumnsTs_result.new()
                                                          begin
                                                            result.success = @handler.getRowsWithColumnsTs(args.tableName, args.rows, args.columns, args.timestamp, args.attributes)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 4 other locations - About 45 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 826..834
                                            lib/adapter/hbase/hbase.rb on lines 881..889
                                            lib/adapter/hbase/hbase.rb on lines 1089..1097
                                            lib/adapter/hbase/hbase.rb on lines 1111..1119

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 41.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 5 locations. Consider refactoring.
                                            Open

                                                        def process_scannerOpenTs(seqid, iprot, oprot)
                                                          args = read_args(iprot, ScannerOpenTs_args)
                                                          result = ScannerOpenTs_result.new()
                                                          begin
                                                            result.success = @handler.scannerOpenTs(args.tableName, args.startRow, args.columns, args.timestamp, args.attributes)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 4 other locations - About 45 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 826..834
                                            lib/adapter/hbase/hbase.rb on lines 881..889
                                            lib/adapter/hbase/hbase.rb on lines 925..933
                                            lib/adapter/hbase/hbase.rb on lines 1089..1097

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 41.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                        def process_getRowWithColumns(seqid, iprot, oprot)
                                                          args = read_args(iprot, GetRowWithColumns_args)
                                                          result = GetRowWithColumns_result.new()
                                                          begin
                                                            result.success = @handler.getRowWithColumns(args.tableName, args.row, args.columns, args.attributes)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 45 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 815..823
                                            lib/adapter/hbase/hbase.rb on lines 870..878
                                            lib/adapter/hbase/hbase.rb on lines 903..911
                                            lib/adapter/hbase/hbase.rb on lines 914..922
                                            lib/adapter/hbase/hbase.rb on lines 1078..1086
                                            lib/adapter/hbase/hbase.rb on lines 1100..1108

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 39.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                        def process_getRowsTs(seqid, iprot, oprot)
                                                          args = read_args(iprot, GetRowsTs_args)
                                                          result = GetRowsTs_result.new()
                                                          begin
                                                            result.success = @handler.getRowsTs(args.tableName, args.rows, args.timestamp, args.attributes)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 45 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 815..823
                                            lib/adapter/hbase/hbase.rb on lines 859..867
                                            lib/adapter/hbase/hbase.rb on lines 870..878
                                            lib/adapter/hbase/hbase.rb on lines 903..911
                                            lib/adapter/hbase/hbase.rb on lines 1078..1086
                                            lib/adapter/hbase/hbase.rb on lines 1100..1108

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 39.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                        def process_scannerOpen(seqid, iprot, oprot)
                                                          args = read_args(iprot, ScannerOpen_args)
                                                          result = ScannerOpen_result.new()
                                                          begin
                                                            result.success = @handler.scannerOpen(args.tableName, args.startRow, args.columns, args.attributes)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 45 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 815..823
                                            lib/adapter/hbase/hbase.rb on lines 859..867
                                            lib/adapter/hbase/hbase.rb on lines 870..878
                                            lib/adapter/hbase/hbase.rb on lines 903..911
                                            lib/adapter/hbase/hbase.rb on lines 914..922
                                            lib/adapter/hbase/hbase.rb on lines 1100..1108

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 39.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                        def process_getRowsWithColumns(seqid, iprot, oprot)
                                                          args = read_args(iprot, GetRowsWithColumns_args)
                                                          result = GetRowsWithColumns_result.new()
                                                          begin
                                                            result.success = @handler.getRowsWithColumns(args.tableName, args.rows, args.columns, args.attributes)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 45 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 815..823
                                            lib/adapter/hbase/hbase.rb on lines 859..867
                                            lib/adapter/hbase/hbase.rb on lines 870..878
                                            lib/adapter/hbase/hbase.rb on lines 914..922
                                            lib/adapter/hbase/hbase.rb on lines 1078..1086
                                            lib/adapter/hbase/hbase.rb on lines 1100..1108

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 39.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                        def process_get(seqid, iprot, oprot)
                                                          args = read_args(iprot, Get_args)
                                                          result = Get_result.new()
                                                          begin
                                                            result.success = @handler.get(args.tableName, args.row, args.column, args.attributes)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 45 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 859..867
                                            lib/adapter/hbase/hbase.rb on lines 870..878
                                            lib/adapter/hbase/hbase.rb on lines 903..911
                                            lib/adapter/hbase/hbase.rb on lines 914..922
                                            lib/adapter/hbase/hbase.rb on lines 1078..1086
                                            lib/adapter/hbase/hbase.rb on lines 1100..1108

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 39.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                        def process_getRowTs(seqid, iprot, oprot)
                                                          args = read_args(iprot, GetRowTs_args)
                                                          result = GetRowTs_result.new()
                                                          begin
                                                            result.success = @handler.getRowTs(args.tableName, args.row, args.timestamp, args.attributes)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 45 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 815..823
                                            lib/adapter/hbase/hbase.rb on lines 859..867
                                            lib/adapter/hbase/hbase.rb on lines 903..911
                                            lib/adapter/hbase/hbase.rb on lines 914..922
                                            lib/adapter/hbase/hbase.rb on lines 1078..1086
                                            lib/adapter/hbase/hbase.rb on lines 1100..1108

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 39.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                        def process_scannerOpenWithPrefix(seqid, iprot, oprot)
                                                          args = read_args(iprot, ScannerOpenWithPrefix_args)
                                                          result = ScannerOpenWithPrefix_result.new()
                                                          begin
                                                            result.success = @handler.scannerOpenWithPrefix(args.tableName, args.startAndPrefix, args.columns, args.attributes)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 45 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 815..823
                                            lib/adapter/hbase/hbase.rb on lines 859..867
                                            lib/adapter/hbase/hbase.rb on lines 870..878
                                            lib/adapter/hbase/hbase.rb on lines 903..911
                                            lib/adapter/hbase/hbase.rb on lines 914..922
                                            lib/adapter/hbase/hbase.rb on lines 1078..1086

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 39.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                            Open

                                                        def process_scannerOpenWithScan(seqid, iprot, oprot)
                                                          args = read_args(iprot, ScannerOpenWithScan_args)
                                                          result = ScannerOpenWithScan_result.new()
                                                          begin
                                                            result.success = @handler.scannerOpenWithScan(args.tableName, args.scan, args.attributes)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 3 other locations - About 40 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 848..856
                                            lib/adapter/hbase/hbase.rb on lines 892..900
                                            lib/adapter/hbase/hbase.rb on lines 1172..1180

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 37.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                            Open

                                                        def process_getRows(seqid, iprot, oprot)
                                                          args = read_args(iprot, GetRows_args)
                                                          result = GetRows_result.new()
                                                          begin
                                                            result.success = @handler.getRows(args.tableName, args.rows, args.attributes)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 3 other locations - About 40 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 848..856
                                            lib/adapter/hbase/hbase.rb on lines 1067..1075
                                            lib/adapter/hbase/hbase.rb on lines 1172..1180

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 37.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                            Open

                                                        def process_getRowOrBefore(seqid, iprot, oprot)
                                                          args = read_args(iprot, GetRowOrBefore_args)
                                                          result = GetRowOrBefore_result.new()
                                                          begin
                                                            result.success = @handler.getRowOrBefore(args.tableName, args.row, args.family)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 3 other locations - About 40 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 848..856
                                            lib/adapter/hbase/hbase.rb on lines 892..900
                                            lib/adapter/hbase/hbase.rb on lines 1067..1075

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 37.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                            Open

                                                        def process_getRow(seqid, iprot, oprot)
                                                          args = read_args(iprot, GetRow_args)
                                                          result = GetRow_result.new()
                                                          begin
                                                            result.success = @handler.getRow(args.tableName, args.row, args.attributes)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 3 other locations - About 40 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 892..900
                                            lib/adapter/hbase/hbase.rb on lines 1067..1075
                                            lib/adapter/hbase/hbase.rb on lines 1172..1180

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 37.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                        def process_deleteAllRowTs(seqid, iprot, oprot)
                                                          args = read_args(iprot, DeleteAllRowTs_args)
                                                          result = DeleteAllRowTs_result.new()
                                                          begin
                                                            @handler.deleteAllRowTs(args.tableName, args.row, args.timestamp, args.attributes)
                                            Severity: Minor
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 40 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1001..1009

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 37.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                        def process_deleteAll(seqid, iprot, oprot)
                                                          args = read_args(iprot, DeleteAll_args)
                                                          result = DeleteAll_result.new()
                                                          begin
                                                            @handler.deleteAll(args.tableName, args.row, args.column, args.attributes)
                                            Severity: Minor
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 40 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1056..1064

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 37.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 3 locations. Consider refactoring.
                                            Open

                                                        def recv_atomicIncrement()
                                                          result = receive_message(AtomicIncrement_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise result.ia unless result.ia.nil?
                                            Severity: Minor
                                            Found in lib/adapter/hbase/hbase.rb and 2 other locations - About 35 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 623..628
                                            lib/adapter/hbase/hbase.rb on lines 640..645

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 34.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 12 locations. Consider refactoring.
                                            Open

                                                      class EnableTable_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        IO = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 11 other locations - About 35 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1248..1261
                                            lib/adapter/hbase/hbase.rb on lines 1315..1328
                                            lib/adapter/hbase/hbase.rb on lines 1347..1360
                                            lib/adapter/hbase/hbase.rb on lines 1523..1536
                                            lib/adapter/hbase/hbase.rb on lines 2278..2291
                                            lib/adapter/hbase/hbase.rb on lines 2323..2336
                                            lib/adapter/hbase/hbase.rb on lines 2362..2375
                                            lib/adapter/hbase/hbase.rb on lines 2378..2392
                                            lib/adapter/hbase/hbase.rb on lines 2395..2408
                                            lib/adapter/hbase/hbase.rb on lines 2428..2441
                                            lib/adapter/hbase/hbase.rb on lines 2470..2483

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 34.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 12 locations. Consider refactoring.
                                            Open

                                                      class Compact_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        IO = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 11 other locations - About 35 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1215..1228
                                            lib/adapter/hbase/hbase.rb on lines 1248..1261
                                            lib/adapter/hbase/hbase.rb on lines 1347..1360
                                            lib/adapter/hbase/hbase.rb on lines 1523..1536
                                            lib/adapter/hbase/hbase.rb on lines 2278..2291
                                            lib/adapter/hbase/hbase.rb on lines 2323..2336
                                            lib/adapter/hbase/hbase.rb on lines 2362..2375
                                            lib/adapter/hbase/hbase.rb on lines 2378..2392
                                            lib/adapter/hbase/hbase.rb on lines 2395..2408
                                            lib/adapter/hbase/hbase.rb on lines 2428..2441
                                            lib/adapter/hbase/hbase.rb on lines 2470..2483

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 34.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 12 locations. Consider refactoring.
                                            Open

                                                      class DeleteTable_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        IO = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 11 other locations - About 35 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1215..1228
                                            lib/adapter/hbase/hbase.rb on lines 1248..1261
                                            lib/adapter/hbase/hbase.rb on lines 1315..1328
                                            lib/adapter/hbase/hbase.rb on lines 1347..1360
                                            lib/adapter/hbase/hbase.rb on lines 2278..2291
                                            lib/adapter/hbase/hbase.rb on lines 2323..2336
                                            lib/adapter/hbase/hbase.rb on lines 2362..2375
                                            lib/adapter/hbase/hbase.rb on lines 2378..2392
                                            lib/adapter/hbase/hbase.rb on lines 2395..2408
                                            lib/adapter/hbase/hbase.rb on lines 2428..2441
                                            lib/adapter/hbase/hbase.rb on lines 2470..2483

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 34.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 12 locations. Consider refactoring.
                                            Open

                                                      class DeleteAllRow_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        IO = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 11 other locations - About 35 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1215..1228
                                            lib/adapter/hbase/hbase.rb on lines 1248..1261
                                            lib/adapter/hbase/hbase.rb on lines 1315..1328
                                            lib/adapter/hbase/hbase.rb on lines 1347..1360
                                            lib/adapter/hbase/hbase.rb on lines 1523..1536
                                            lib/adapter/hbase/hbase.rb on lines 2278..2291
                                            lib/adapter/hbase/hbase.rb on lines 2323..2336
                                            lib/adapter/hbase/hbase.rb on lines 2378..2392
                                            lib/adapter/hbase/hbase.rb on lines 2395..2408
                                            lib/adapter/hbase/hbase.rb on lines 2428..2441
                                            lib/adapter/hbase/hbase.rb on lines 2470..2483

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 34.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 3 locations. Consider refactoring.
                                            Open

                                                        def recv_scannerGet()
                                                          result = receive_message(ScannerGet_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise result.ia unless result.ia.nil?
                                            Severity: Minor
                                            Found in lib/adapter/hbase/hbase.rb and 2 other locations - About 35 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 420..425
                                            lib/adapter/hbase/hbase.rb on lines 640..645

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 34.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 12 locations. Consider refactoring.
                                            Open

                                                      class DisableTable_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        IO = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 11 other locations - About 35 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1215..1228
                                            lib/adapter/hbase/hbase.rb on lines 1315..1328
                                            lib/adapter/hbase/hbase.rb on lines 1347..1360
                                            lib/adapter/hbase/hbase.rb on lines 1523..1536
                                            lib/adapter/hbase/hbase.rb on lines 2278..2291
                                            lib/adapter/hbase/hbase.rb on lines 2323..2336
                                            lib/adapter/hbase/hbase.rb on lines 2362..2375
                                            lib/adapter/hbase/hbase.rb on lines 2378..2392
                                            lib/adapter/hbase/hbase.rb on lines 2395..2408
                                            lib/adapter/hbase/hbase.rb on lines 2428..2441
                                            lib/adapter/hbase/hbase.rb on lines 2470..2483

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 34.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 12 locations. Consider refactoring.
                                            Open

                                                      class DeleteAll_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        IO = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 11 other locations - About 35 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1215..1228
                                            lib/adapter/hbase/hbase.rb on lines 1248..1261
                                            lib/adapter/hbase/hbase.rb on lines 1315..1328
                                            lib/adapter/hbase/hbase.rb on lines 1347..1360
                                            lib/adapter/hbase/hbase.rb on lines 1523..1536
                                            lib/adapter/hbase/hbase.rb on lines 2323..2336
                                            lib/adapter/hbase/hbase.rb on lines 2362..2375
                                            lib/adapter/hbase/hbase.rb on lines 2378..2392
                                            lib/adapter/hbase/hbase.rb on lines 2395..2408
                                            lib/adapter/hbase/hbase.rb on lines 2428..2441
                                            lib/adapter/hbase/hbase.rb on lines 2470..2483

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 34.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 12 locations. Consider refactoring.
                                            Open

                                                      class MajorCompact_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        IO = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 11 other locations - About 35 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1215..1228
                                            lib/adapter/hbase/hbase.rb on lines 1248..1261
                                            lib/adapter/hbase/hbase.rb on lines 1315..1328
                                            lib/adapter/hbase/hbase.rb on lines 1523..1536
                                            lib/adapter/hbase/hbase.rb on lines 2278..2291
                                            lib/adapter/hbase/hbase.rb on lines 2323..2336
                                            lib/adapter/hbase/hbase.rb on lines 2362..2375
                                            lib/adapter/hbase/hbase.rb on lines 2378..2392
                                            lib/adapter/hbase/hbase.rb on lines 2395..2408
                                            lib/adapter/hbase/hbase.rb on lines 2428..2441
                                            lib/adapter/hbase/hbase.rb on lines 2470..2483

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 34.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 12 locations. Consider refactoring.
                                            Open

                                                      class DeleteAllTs_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        IO = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 11 other locations - About 35 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1215..1228
                                            lib/adapter/hbase/hbase.rb on lines 1248..1261
                                            lib/adapter/hbase/hbase.rb on lines 1315..1328
                                            lib/adapter/hbase/hbase.rb on lines 1347..1360
                                            lib/adapter/hbase/hbase.rb on lines 1523..1536
                                            lib/adapter/hbase/hbase.rb on lines 2278..2291
                                            lib/adapter/hbase/hbase.rb on lines 2362..2375
                                            lib/adapter/hbase/hbase.rb on lines 2378..2392
                                            lib/adapter/hbase/hbase.rb on lines 2395..2408
                                            lib/adapter/hbase/hbase.rb on lines 2428..2441
                                            lib/adapter/hbase/hbase.rb on lines 2470..2483

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 34.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 12 locations. Consider refactoring.
                                            Open

                                                      class DeleteAllRowTs_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        IO = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 11 other locations - About 35 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1215..1228
                                            lib/adapter/hbase/hbase.rb on lines 1248..1261
                                            lib/adapter/hbase/hbase.rb on lines 1315..1328
                                            lib/adapter/hbase/hbase.rb on lines 1347..1360
                                            lib/adapter/hbase/hbase.rb on lines 1523..1536
                                            lib/adapter/hbase/hbase.rb on lines 2278..2291
                                            lib/adapter/hbase/hbase.rb on lines 2323..2336
                                            lib/adapter/hbase/hbase.rb on lines 2362..2375
                                            lib/adapter/hbase/hbase.rb on lines 2378..2392
                                            lib/adapter/hbase/hbase.rb on lines 2395..2408
                                            lib/adapter/hbase/hbase.rb on lines 2428..2441

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 34.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 12 locations. Consider refactoring.
                                            Open

                                                      class Increment_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        IO = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 11 other locations - About 35 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1215..1228
                                            lib/adapter/hbase/hbase.rb on lines 1248..1261
                                            lib/adapter/hbase/hbase.rb on lines 1315..1328
                                            lib/adapter/hbase/hbase.rb on lines 1347..1360
                                            lib/adapter/hbase/hbase.rb on lines 1523..1536
                                            lib/adapter/hbase/hbase.rb on lines 2278..2291
                                            lib/adapter/hbase/hbase.rb on lines 2323..2336
                                            lib/adapter/hbase/hbase.rb on lines 2362..2375
                                            lib/adapter/hbase/hbase.rb on lines 2378..2392
                                            lib/adapter/hbase/hbase.rb on lines 2428..2441
                                            lib/adapter/hbase/hbase.rb on lines 2470..2483

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 34.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 12 locations. Consider refactoring.
                                            Open

                                                      class Increment_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        INCREMENT = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 11 other locations - About 35 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1215..1228
                                            lib/adapter/hbase/hbase.rb on lines 1248..1261
                                            lib/adapter/hbase/hbase.rb on lines 1315..1328
                                            lib/adapter/hbase/hbase.rb on lines 1347..1360
                                            lib/adapter/hbase/hbase.rb on lines 1523..1536
                                            lib/adapter/hbase/hbase.rb on lines 2278..2291
                                            lib/adapter/hbase/hbase.rb on lines 2323..2336
                                            lib/adapter/hbase/hbase.rb on lines 2362..2375
                                            lib/adapter/hbase/hbase.rb on lines 2395..2408
                                            lib/adapter/hbase/hbase.rb on lines 2428..2441
                                            lib/adapter/hbase/hbase.rb on lines 2470..2483

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 34.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 12 locations. Consider refactoring.
                                            Open

                                                      class IncrementRows_result
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        IO = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 11 other locations - About 35 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1215..1228
                                            lib/adapter/hbase/hbase.rb on lines 1248..1261
                                            lib/adapter/hbase/hbase.rb on lines 1315..1328
                                            lib/adapter/hbase/hbase.rb on lines 1347..1360
                                            lib/adapter/hbase/hbase.rb on lines 1523..1536
                                            lib/adapter/hbase/hbase.rb on lines 2278..2291
                                            lib/adapter/hbase/hbase.rb on lines 2323..2336
                                            lib/adapter/hbase/hbase.rb on lines 2362..2375
                                            lib/adapter/hbase/hbase.rb on lines 2378..2392
                                            lib/adapter/hbase/hbase.rb on lines 2395..2408
                                            lib/adapter/hbase/hbase.rb on lines 2470..2483

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 34.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 3 locations. Consider refactoring.
                                            Open

                                                        def recv_scannerGetList()
                                                          result = receive_message(ScannerGetList_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise result.ia unless result.ia.nil?
                                            Severity: Minor
                                            Found in lib/adapter/hbase/hbase.rb and 2 other locations - About 35 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 420..425
                                            lib/adapter/hbase/hbase.rb on lines 623..628

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 34.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                            Open

                                                        def process_isTableEnabled(seqid, iprot, oprot)
                                                          args = read_args(iprot, IsTableEnabled_args)
                                                          result = IsTableEnabled_result.new()
                                                          begin
                                                            result.success = @handler.isTableEnabled(args.tableName)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 3 other locations - About 30 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 767..775
                                            lib/adapter/hbase/hbase.rb on lines 778..786
                                            lib/adapter/hbase/hbase.rb on lines 1183..1191

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 33.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                            Open

                                                        def process_getRegionInfo(seqid, iprot, oprot)
                                                          args = read_args(iprot, GetRegionInfo_args)
                                                          result = GetRegionInfo_result.new()
                                                          begin
                                                            result.success = @handler.getRegionInfo(args.row)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 3 other locations - About 30 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 723..731
                                            lib/adapter/hbase/hbase.rb on lines 767..775
                                            lib/adapter/hbase/hbase.rb on lines 778..786

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 33.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                            Open

                                                        def process_getColumnDescriptors(seqid, iprot, oprot)
                                                          args = read_args(iprot, GetColumnDescriptors_args)
                                                          result = GetColumnDescriptors_result.new()
                                                          begin
                                                            result.success = @handler.getColumnDescriptors(args.tableName)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 3 other locations - About 30 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 723..731
                                            lib/adapter/hbase/hbase.rb on lines 778..786
                                            lib/adapter/hbase/hbase.rb on lines 1183..1191

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 33.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 4 locations. Consider refactoring.
                                            Open

                                                        def process_getTableRegions(seqid, iprot, oprot)
                                                          args = read_args(iprot, GetTableRegions_args)
                                                          result = GetTableRegions_result.new()
                                                          begin
                                                            result.success = @handler.getTableRegions(args.tableName)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 3 other locations - About 30 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 723..731
                                            lib/adapter/hbase/hbase.rb on lines 767..775
                                            lib/adapter/hbase/hbase.rb on lines 1183..1191

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 33.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                        def process_incrementRows(seqid, iprot, oprot)
                                                          args = read_args(iprot, IncrementRows_args)
                                                          result = IncrementRows_result.new()
                                                          begin
                                                            @handler.incrementRows(args.increments)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 25 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 701..709
                                            lib/adapter/hbase/hbase.rb on lines 712..720
                                            lib/adapter/hbase/hbase.rb on lines 734..742
                                            lib/adapter/hbase/hbase.rb on lines 745..753
                                            lib/adapter/hbase/hbase.rb on lines 804..812
                                            lib/adapter/hbase/hbase.rb on lines 1034..1042

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 31.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                        def process_compact(seqid, iprot, oprot)
                                                          args = read_args(iprot, Compact_args)
                                                          result = Compact_result.new()
                                                          begin
                                                            @handler.compact(args.tableNameOrRegionName)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 25 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 701..709
                                            lib/adapter/hbase/hbase.rb on lines 712..720
                                            lib/adapter/hbase/hbase.rb on lines 745..753
                                            lib/adapter/hbase/hbase.rb on lines 804..812
                                            lib/adapter/hbase/hbase.rb on lines 1034..1042
                                            lib/adapter/hbase/hbase.rb on lines 1045..1053

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 31.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                        def process_majorCompact(seqid, iprot, oprot)
                                                          args = read_args(iprot, MajorCompact_args)
                                                          result = MajorCompact_result.new()
                                                          begin
                                                            @handler.majorCompact(args.tableNameOrRegionName)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 25 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 701..709
                                            lib/adapter/hbase/hbase.rb on lines 712..720
                                            lib/adapter/hbase/hbase.rb on lines 734..742
                                            lib/adapter/hbase/hbase.rb on lines 804..812
                                            lib/adapter/hbase/hbase.rb on lines 1034..1042
                                            lib/adapter/hbase/hbase.rb on lines 1045..1053

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 31.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                        def process_deleteTable(seqid, iprot, oprot)
                                                          args = read_args(iprot, DeleteTable_args)
                                                          result = DeleteTable_result.new()
                                                          begin
                                                            @handler.deleteTable(args.tableName)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 25 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 701..709
                                            lib/adapter/hbase/hbase.rb on lines 712..720
                                            lib/adapter/hbase/hbase.rb on lines 734..742
                                            lib/adapter/hbase/hbase.rb on lines 745..753
                                            lib/adapter/hbase/hbase.rb on lines 1034..1042
                                            lib/adapter/hbase/hbase.rb on lines 1045..1053

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 31.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                        def process_increment(seqid, iprot, oprot)
                                                          args = read_args(iprot, Increment_args)
                                                          result = Increment_result.new()
                                                          begin
                                                            @handler.increment(args.increment)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 25 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 701..709
                                            lib/adapter/hbase/hbase.rb on lines 712..720
                                            lib/adapter/hbase/hbase.rb on lines 734..742
                                            lib/adapter/hbase/hbase.rb on lines 745..753
                                            lib/adapter/hbase/hbase.rb on lines 804..812
                                            lib/adapter/hbase/hbase.rb on lines 1045..1053

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 31.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                        def process_disableTable(seqid, iprot, oprot)
                                                          args = read_args(iprot, DisableTable_args)
                                                          result = DisableTable_result.new()
                                                          begin
                                                            @handler.disableTable(args.tableName)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 25 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 701..709
                                            lib/adapter/hbase/hbase.rb on lines 734..742
                                            lib/adapter/hbase/hbase.rb on lines 745..753
                                            lib/adapter/hbase/hbase.rb on lines 804..812
                                            lib/adapter/hbase/hbase.rb on lines 1034..1042
                                            lib/adapter/hbase/hbase.rb on lines 1045..1053

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 31.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 7 locations. Consider refactoring.
                                            Open

                                                        def process_enableTable(seqid, iprot, oprot)
                                                          args = read_args(iprot, EnableTable_args)
                                                          result = EnableTable_result.new()
                                                          begin
                                                            @handler.enableTable(args.tableName)
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 6 other locations - About 25 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 712..720
                                            lib/adapter/hbase/hbase.rb on lines 734..742
                                            lib/adapter/hbase/hbase.rb on lines 745..753
                                            lib/adapter/hbase/hbase.rb on lines 804..812
                                            lib/adapter/hbase/hbase.rb on lines 1034..1042
                                            lib/adapter/hbase/hbase.rb on lines 1045..1053

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 31.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 9 locations. Consider refactoring.
                                            Open

                                                      class MajorCompact_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAMEORREGIONNAME = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 8 other locations - About 25 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1198..1212
                                            lib/adapter/hbase/hbase.rb on lines 1231..1245
                                            lib/adapter/hbase/hbase.rb on lines 1264..1278
                                            lib/adapter/hbase/hbase.rb on lines 1299..1312
                                            lib/adapter/hbase/hbase.rb on lines 1396..1410
                                            lib/adapter/hbase/hbase.rb on lines 1431..1445
                                            lib/adapter/hbase/hbase.rb on lines 1506..1520
                                            lib/adapter/hbase/hbase.rb on lines 2926..2940

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 30.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 9 locations. Consider refactoring.
                                            Open

                                                      class GetColumnDescriptors_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 8 other locations - About 25 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1198..1212
                                            lib/adapter/hbase/hbase.rb on lines 1231..1245
                                            lib/adapter/hbase/hbase.rb on lines 1264..1278
                                            lib/adapter/hbase/hbase.rb on lines 1299..1312
                                            lib/adapter/hbase/hbase.rb on lines 1331..1344
                                            lib/adapter/hbase/hbase.rb on lines 1431..1445
                                            lib/adapter/hbase/hbase.rb on lines 1506..1520
                                            lib/adapter/hbase/hbase.rb on lines 2926..2940

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 30.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 9 locations. Consider refactoring.
                                            Open

                                                      class GetTableRegions_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 8 other locations - About 25 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1198..1212
                                            lib/adapter/hbase/hbase.rb on lines 1231..1245
                                            lib/adapter/hbase/hbase.rb on lines 1264..1278
                                            lib/adapter/hbase/hbase.rb on lines 1299..1312
                                            lib/adapter/hbase/hbase.rb on lines 1331..1344
                                            lib/adapter/hbase/hbase.rb on lines 1396..1410
                                            lib/adapter/hbase/hbase.rb on lines 1506..1520
                                            lib/adapter/hbase/hbase.rb on lines 2926..2940

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 30.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 9 locations. Consider refactoring.
                                            Open

                                                      class IsTableEnabled_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 8 other locations - About 25 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1198..1212
                                            lib/adapter/hbase/hbase.rb on lines 1231..1245
                                            lib/adapter/hbase/hbase.rb on lines 1299..1312
                                            lib/adapter/hbase/hbase.rb on lines 1331..1344
                                            lib/adapter/hbase/hbase.rb on lines 1396..1410
                                            lib/adapter/hbase/hbase.rb on lines 1431..1445
                                            lib/adapter/hbase/hbase.rb on lines 1506..1520
                                            lib/adapter/hbase/hbase.rb on lines 2926..2940

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 30.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 9 locations. Consider refactoring.
                                            Open

                                                      class GetRegionInfo_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        ROW = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 8 other locations - About 25 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1198..1212
                                            lib/adapter/hbase/hbase.rb on lines 1231..1245
                                            lib/adapter/hbase/hbase.rb on lines 1264..1278
                                            lib/adapter/hbase/hbase.rb on lines 1299..1312
                                            lib/adapter/hbase/hbase.rb on lines 1331..1344
                                            lib/adapter/hbase/hbase.rb on lines 1396..1410
                                            lib/adapter/hbase/hbase.rb on lines 1431..1445
                                            lib/adapter/hbase/hbase.rb on lines 1506..1520

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 30.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 9 locations. Consider refactoring.
                                            Open

                                                      class DisableTable_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 8 other locations - About 25 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1198..1212
                                            lib/adapter/hbase/hbase.rb on lines 1264..1278
                                            lib/adapter/hbase/hbase.rb on lines 1299..1312
                                            lib/adapter/hbase/hbase.rb on lines 1331..1344
                                            lib/adapter/hbase/hbase.rb on lines 1396..1410
                                            lib/adapter/hbase/hbase.rb on lines 1431..1445
                                            lib/adapter/hbase/hbase.rb on lines 1506..1520
                                            lib/adapter/hbase/hbase.rb on lines 2926..2940

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 30.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 9 locations. Consider refactoring.
                                            Open

                                                      class EnableTable_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 8 other locations - About 25 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1231..1245
                                            lib/adapter/hbase/hbase.rb on lines 1264..1278
                                            lib/adapter/hbase/hbase.rb on lines 1299..1312
                                            lib/adapter/hbase/hbase.rb on lines 1331..1344
                                            lib/adapter/hbase/hbase.rb on lines 1396..1410
                                            lib/adapter/hbase/hbase.rb on lines 1431..1445
                                            lib/adapter/hbase/hbase.rb on lines 1506..1520
                                            lib/adapter/hbase/hbase.rb on lines 2926..2940

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 30.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 9 locations. Consider refactoring.
                                            Open

                                                      class DeleteTable_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAME = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 8 other locations - About 25 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1198..1212
                                            lib/adapter/hbase/hbase.rb on lines 1231..1245
                                            lib/adapter/hbase/hbase.rb on lines 1264..1278
                                            lib/adapter/hbase/hbase.rb on lines 1299..1312
                                            lib/adapter/hbase/hbase.rb on lines 1331..1344
                                            lib/adapter/hbase/hbase.rb on lines 1396..1410
                                            lib/adapter/hbase/hbase.rb on lines 1431..1445
                                            lib/adapter/hbase/hbase.rb on lines 2926..2940

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 30.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 9 locations. Consider refactoring.
                                            Open

                                                      class Compact_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        TABLENAMEORREGIONNAME = 1
                                            
                                                        FIELDS = {
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 8 other locations - About 25 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 1198..1212
                                            lib/adapter/hbase/hbase.rb on lines 1231..1245
                                            lib/adapter/hbase/hbase.rb on lines 1264..1278
                                            lib/adapter/hbase/hbase.rb on lines 1331..1344
                                            lib/adapter/hbase/hbase.rb on lines 1396..1410
                                            lib/adapter/hbase/hbase.rb on lines 1431..1445
                                            lib/adapter/hbase/hbase.rb on lines 1506..1520
                                            lib/adapter/hbase/hbase.rb on lines 2926..2940

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 30.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                      class ScannerClose_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        ID = 1
                                            
                                                        FIELDS = {
                                            Severity: Minor
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 2773..2787

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 28.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                      class ScannerGet_args
                                                        include ::Thrift::Struct, ::Thrift::Struct_Union
                                                        ID = 1
                                            
                                                        FIELDS = {
                                            Severity: Minor
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 2850..2864

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 28.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_get()
                                                          result = receive_message(Get_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_getVerTs()
                                                          result = receive_message(GetVerTs_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getVerTs failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_isTableEnabled()
                                                          result = receive_message(IsTableEnabled_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'isTableEnabled failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_getTableRegions()
                                                          result = receive_message(GetTableRegions_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTableRegions failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_scannerOpenWithStop()
                                                          result = receive_message(ScannerOpenWithStop_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'scannerOpenWithStop failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_getRowOrBefore()
                                                          result = receive_message(GetRowOrBefore_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRowOrBefore failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_getVer()
                                                          result = receive_message(GetVer_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getVer failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_scannerOpen()
                                                          result = receive_message(ScannerOpen_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'scannerOpen failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_scannerOpenWithPrefix()
                                                          result = receive_message(ScannerOpenWithPrefix_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'scannerOpenWithPrefix failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_getRowsWithColumns()
                                                          result = receive_message(GetRowsWithColumns_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRowsWithColumns failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_getColumnDescriptors()
                                                          result = receive_message(GetColumnDescriptors_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getColumnDescriptors failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_getRows()
                                                          result = receive_message(GetRows_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRows failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_scannerOpenTs()
                                                          result = receive_message(ScannerOpenTs_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'scannerOpenTs failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_getRowsWithColumnsTs()
                                                          result = receive_message(GetRowsWithColumnsTs_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRowsWithColumnsTs failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_scannerOpenWithStopTs()
                                                          result = receive_message(ScannerOpenWithStopTs_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'scannerOpenWithStopTs failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_getRowWithColumns()
                                                          result = receive_message(GetRowWithColumns_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRowWithColumns failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_getRegionInfo()
                                                          result = receive_message(GetRegionInfo_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRegionInfo failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_getRowsTs()
                                                          result = receive_message(GetRowsTs_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRowsTs failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_scannerOpenWithScan()
                                                          result = receive_message(ScannerOpenWithScan_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'scannerOpenWithScan failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_getTableNames()
                                                          result = receive_message(GetTableNames_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTableNames failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_getRow()
                                                          result = receive_message(GetRow_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRow failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_getRowTs()
                                                          result = receive_message(GetRowTs_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRowTs failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 276..280
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 23 locations. Consider refactoring.
                                            Open

                                                        def recv_getRowWithColumnsTs()
                                                          result = receive_message(GetRowWithColumnsTs_result)
                                                          return result.success unless result.success.nil?
                                                          raise result.io unless result.io.nil?
                                                          raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRowWithColumnsTs failed: unknown result')
                                            Severity: Major
                                            Found in lib/adapter/hbase/hbase.rb and 22 other locations - About 20 mins to fix
                                            lib/adapter/hbase/hbase.rb on lines 54..58
                                            lib/adapter/hbase/hbase.rb on lines 100..104
                                            lib/adapter/hbase/hbase.rb on lines 116..120
                                            lib/adapter/hbase/hbase.rb on lines 132..136
                                            lib/adapter/hbase/hbase.rb on lines 180..184
                                            lib/adapter/hbase/hbase.rb on lines 196..200
                                            lib/adapter/hbase/hbase.rb on lines 212..216
                                            lib/adapter/hbase/hbase.rb on lines 228..232
                                            lib/adapter/hbase/hbase.rb on lines 244..248
                                            lib/adapter/hbase/hbase.rb on lines 260..264
                                            lib/adapter/hbase/hbase.rb on lines 292..296
                                            lib/adapter/hbase/hbase.rb on lines 308..312
                                            lib/adapter/hbase/hbase.rb on lines 324..328
                                            lib/adapter/hbase/hbase.rb on lines 340..344
                                            lib/adapter/hbase/hbase.rb on lines 527..531
                                            lib/adapter/hbase/hbase.rb on lines 543..547
                                            lib/adapter/hbase/hbase.rb on lines 559..563
                                            lib/adapter/hbase/hbase.rb on lines 575..579
                                            lib/adapter/hbase/hbase.rb on lines 591..595
                                            lib/adapter/hbase/hbase.rb on lines 607..611
                                            lib/adapter/hbase/hbase.rb on lines 673..677
                                            lib/adapter/hbase/hbase.rb on lines 689..693

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            Similar blocks of code found in 2 locations. Consider refactoring.
                                            Open

                                                          SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift::ColumnDescriptor}},
                                            Severity: Minor
                                            Found in lib/adapter/hbase/hbase.rb and 1 other location - About 20 mins to fix
                                            lib/adapter/hbase/hbase_types.rb on lines 171..171

                                            Duplicated Code

                                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                            Tuning

                                            This issue has a mass of 27.

                                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                            Refactorings

                                            Further Reading

                                            There are no issues that match your filters.

                                            Category
                                            Status