jeanlescure/hipster_sql_to_hbase

View on GitHub

Showing 161 of 161 total issues

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 getRowsByScanner has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          def getRowsByScanner(table,columns,filters,limit,obj={})
                      Severity: Minor
                      Found in lib/adapter/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

                            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

                            Severity
                            Category
                            Status
                            Source
                            Language