hackedteam/core-android-market

View on GitHub

Showing 566 of 566 total issues

Method InitializeComponent has 726 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        private void InitializeComponent()
        {
          this.components = new System.ComponentModel.Container();
          System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DistexForm));
          this.modeLabel = new System.Windows.Forms.Label();

    File project.ann.py has 996 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    f049766b (vladimir_prus 2007-10-10 09:31:06 +0000   1) # Status: being ported by Vladimir Prus
    ddc17f01 (vladimir_prus 2007-10-26 14:57:56 +0000   2) # Base revision: 40480
    f049766b (vladimir_prus 2007-10-10 09:31:06 +0000   3) 
    f049766b (vladimir_prus 2007-10-10 09:31:06 +0000   4) # Copyright 2002, 2003 Dave Abrahams 
    f049766b (vladimir_prus 2007-10-10 09:31:06 +0000   5) # Copyright 2002, 2005, 2006 Rene Rivera 
    Severity: Major
    Found in src/libbson/boost/boost_1_53_0/tools/build/v2/build/project.ann.py - About 2 days to fix

      File DistexForm.Designer.cs has 827 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      namespace distribution_explorer
      {
          partial class DistexForm
          {
              /// <summary>

        File targets.py has 818 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        # Status: ported.
        # Base revision: 64488
        
        # Copyright Vladimir Prus 2002-2007.
        # Copyright Rene Rivera 2006.
        Severity: Major
        Found in src/libbson/boost/boost_1_53_0/tools/build/v2/build/targets.py - About 1 day to fix

          Function configure_really has a Cognitive Complexity of 92 (exceeds 5 allowed). Consider refactoring.
          Open

          def configure_really(version=None, options=[]):
              v = version
              if not v:
                  # Take the first registered (i.e. auto-detected) version.
                  version = __versions.first()
          Severity: Minor
          Found in src/libbson/boost/boost_1_53_0/tools/build/v2/tools/msvc.py - About 1 day 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

          File regression.py has 748 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          #!/usr/bin/python
          
          # Copyright MetaCommunications, Inc. 2003-2007
          # Copyright Redshift Software, Inc. 2007
          #
          Severity: Major
          Found in src/libbson/boost/boost_1_53_0/tools/regression/src/regression.py - About 1 day to fix

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

            def get_date( words ):
                date = words[ 5: -1 ]
                t = time.localtime()
            
                month_names = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ]
            src/libbson/boost/boost_1_53_0/tools/regression/xsl_reports/boostbook_report.py on lines 15..33

            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 192.

            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

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

            def get_date( words ):
                date = words[ 5: -1 ]
                t = time.localtime()
            
                month_names = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ]
            src/libbson/boost/boost_1_53_0/tools/regression/xsl_reports/boost_wide_report.py on lines 51..69

            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 192.

            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

            File project.py has 695 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            # Status: ported.
            # Base revision: 64488
            
            # Copyright 2002, 2003 Dave Abrahams 
            # Copyright 2002, 2005, 2006 Rene Rivera 
            Severity: Major
            Found in src/libbson/boost/boost_1_53_0/tools/build/v2/build/project.py - About 1 day to fix

              File virtual_target.py has 684 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              # Status: ported.
              # Base revision: 64488.
              # 
              #  Copyright (C) Vladimir Prus 2002. Permission to copy, use, modify, sell and
              #  distribute this software is granted provided this copyright notice appears in
              Severity: Major
              Found in src/libbson/boost/boost_1_53_0/tools/build/v2/build/virtual_target.py - About 1 day to fix

                File boost_wide_report.py has 673 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                # Copyright (c) MetaCommunications, Inc. 2003-2007
                #
                # Distributed under the Boost Software License, Version 1.0. 
                # (See accompanying file LICENSE_1_0.txt or copy at 
                # http://www.boost.org/LICENSE_1_0.txt)

                  File msvc.py has 673 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  # Copyright (c) 2003 David Abrahams.
                  # Copyright (c) 2005 Vladimir Prus.
                  # Copyright (c) 2005 Alexey Pakhunov.
                  # Copyright (c) 2006 Bojan Resnik.
                  # Copyright (c) 2006 Ilya Sokolov.
                  Severity: Major
                  Found in src/libbson/boost/boost_1_53_0/tools/build/v2/tools/msvc.py - About 1 day to fix

                    File email_maintainers.py has 666 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    #
                    # Copyright (C) 2005, 2007 The Trustees of Indiana University 
                    # Author: Douglas Gregor
                    #
                    # Distributed under the Boost Software License, Version 1.0. (See

                      File generators.py has 649 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      # Status: being ported by Vladimir Prus
                      # Base revision: 48649
                      # TODO: replace the logging with dout
                      
                      # Copyright Vladimir Prus 2002.
                      Severity: Major
                      Found in src/libbson/boost/boost_1_53_0/tools/build/v2/build/generators.py - About 1 day to fix

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

                                if self.user and self.user != '':
                                    os.chdir( os.path.dirname(self.tools_bb_root) )
                                    self.svn_command( 'co %s %s' % (
                                        self.svn_repository_url(repo_path['build']),
                                        os.path.basename(self.tools_bb_root) ) )
                        src/libbson/boost/boost_1_53_0/tools/regression/src/regression.py on lines 245..256
                        src/libbson/boost/boost_1_53_0/tools/regression/src/regression.py on lines 259..270

                        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 155.

                        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

                                if self.user and self.user != '':
                                    os.chdir( os.path.dirname(self.tools_bjam_root) )
                                    self.svn_command( 'co %s %s' % (
                                        self.svn_repository_url(repo_path['jam']),
                                        os.path.basename(self.tools_bjam_root) ) )
                        src/libbson/boost/boost_1_53_0/tools/regression/src/regression.py on lines 231..242
                        src/libbson/boost/boost_1_53_0/tools/regression/src/regression.py on lines 259..270

                        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 155.

                        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

                                if self.user and self.user != '':
                                    os.chdir( os.path.dirname(self.tools_regression_root) )
                                    self.svn_command( 'co %s %s' % (
                                        self.svn_repository_url(repo_path['regression']),
                                        os.path.basename(self.tools_regression_root) ) )
                        src/libbson/boost/boost_1_53_0/tools/regression/src/regression.py on lines 231..242
                        src/libbson/boost/boost_1_53_0/tools/regression/src/regression.py on lines 245..256

                        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 155.

                        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

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

                                try:
                                    import zipfile
                                    z = zipfile.ZipFile( archive_path, 'w', zipfile.ZIP_DEFLATED )
                                    z.write( file_path, os.path.basename( file_path ) )
                                    z.close()
                        src/libbson/boost/boost_1_53_0/tools/regression/src/collect_and_upload_logs.py on lines 266..285

                        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 153.

                        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

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

                            try:
                                z = zipfile.ZipFile( archive_path, 'w', zipfile.ZIP_DEFLATED )
                                z.write( file_path, os.path.basename( file_path ) )
                                z.close()
                                utils.log( 'Done writing "%s".'% archive_path )
                        src/libbson/boost/boost_1_53_0/tools/regression/src/regression.py on lines 753..774

                        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 153.

                        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

                        File feature.py has 600 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        # Status: ported, except for unit tests.
                        # Base revision: 64488
                        #
                        # Copyright 2001, 2002, 2003 Dave Abrahams 
                        # Copyright 2002, 2006 Rene Rivera 
                        Severity: Major
                        Found in src/libbson/boost/boost_1_53_0/tools/build/v2/build/feature.py - About 1 day to fix
                          Severity
                          Category
                          Status
                          Source
                          Language