webcomics/dosage

View on GitHub

Showing 581 of 581 total issues

File comicfury.py has 1146 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# -*- coding: utf-8 -*-
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
# Copyright (C) 2012-2014 Bastian Kleineidam
# Copyright (C) 2015-2017 Tobias Gruetzmacher

Severity: Major
Found in dosagelib/plugins/comicfury.py - About 2 days to fix

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

        @classmethod
        def getmodules(cls):
            return (
                # do not edit anything below since these entries are generated from
                # scripts/webcomicfactory.py
    Severity: Major
    Found in dosagelib/plugins/webcomicfactory.py and 1 other location - About 1 day to fix
    dosagelib/plugins/arcamax.py on lines 19..120

    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

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

        @classmethod
        def getmodules(cls):
            return (
                # do not edit anything below since these entries are generated from
                # scripts/arcamax.py
    Severity: Major
    Found in dosagelib/plugins/arcamax.py and 1 other location - About 1 day to fix
    dosagelib/plugins/webcomicfactory.py on lines 21..86

    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 smackjeeves.py has 713 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    # -*- coding: utf-8 -*-
    # Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
    # Copyright (C) 2012-2014 Bastian Kleineidam
    # Copyright (C) 2015-2017 Tobias Gruetzmacher
    
    
    Severity: Major
    Found in dosagelib/plugins/smackjeeves.py - About 1 day to fix

      File old.py has 611 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      # -*- coding: utf-8 -*-
      # Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
      # Copyright (C) 2012-2014 Bastian Kleineidam
      # Copyright (C) 2015-2017 Tobias Gruetzmacher
      
      
      Severity: Major
      Found in dosagelib/plugins/old.py - About 1 day to fix

        File gocomics.py has 566 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        # -*- coding: utf-8 -*-
        # Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
        # Copyright (C) 2012-2014 Bastian Kleineidam
        # Copyright (C) 2015-2018 Tobias Gruetzmacher
        
        
        Severity: Major
        Found in dosagelib/plugins/gocomics.py - About 1 day to fix

          File s.py has 479 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          # -*- coding: utf-8 -*-
          # Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
          # Copyright (C) 2012-2014 Bastian Kleineidam
          # Copyright (C) 2015-2019 Tobias Gruetzmacher
          
          
          Severity: Minor
          Found in dosagelib/plugins/s.py - About 7 hrs to fix

            File scraper.py has 465 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            # -*- coding: utf-8 -*-
            # Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
            # Copyright (C) 2012-2014 Bastian Kleineidam
            # Copyright (C) 2015-2019 Tobias Gruetzmacher
            
            
            Severity: Minor
            Found in dosagelib/scraper.py - About 7 hrs to fix

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

              class CompanyY(_BasicScraper):
                  url = 'http://company-y.com/'
                  rurl = escape(url)
                  stripUrl = url + '%s/'
                  firstStripUrl = stripUrl % '2009/08/14/coming-soon'
              Severity: Major
              Found in dosagelib/plugins/c.py and 1 other location - About 6 hrs to fix
              dosagelib/plugins/o.py on lines 60..68

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

              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 OkCancel(_BasicScraper):
                  url = 'http://okcancel.com/'
                  rurl = escape(url)
                  stripUrl = url + 'comic/%s.html'
                  firstStripUrl = stripUrl % '1'
              Severity: Major
              Found in dosagelib/plugins/o.py and 1 other location - About 6 hrs to fix
              dosagelib/plugins/c.py on lines 238..246

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

              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 util.py has 419 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              # -*- coding: utf-8 -*-
              # Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
              # Copyright (C) 2012-2014 Bastian Kleineidam
              # Copyright (C) 2015-2019 Tobias Gruetzmacher
              
              
              Severity: Minor
              Found in dosagelib/util.py - About 6 hrs to fix

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

                class Galaxion(_BasicScraper):
                    url = 'http://galaxioncomics.com/'
                    rurl = escape(url)
                    stripUrl = url + '%s/'
                    firstStripUrl = stripUrl % '1-comic/the-story-so-far/the-story-so-far'
                Severity: Major
                Found in dosagelib/plugins/g.py and 8 other locations - About 5 hrs to fix
                dosagelib/plugins/a.py on lines 139..146
                dosagelib/plugins/b.py on lines 46..53
                dosagelib/plugins/b.py on lines 187..194
                dosagelib/plugins/b.py on lines 228..235
                dosagelib/plugins/b.py on lines 238..246
                dosagelib/plugins/d.py on lines 82..89
                dosagelib/plugins/f.py on lines 151..158
                dosagelib/plugins/j.py on lines 16..23

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

                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 Brink(_BasicScraper):
                    url = 'http://paperfangs.com/brink/'
                    rurl = escape(url)
                    stripUrl = url + '?p=%s'
                    firstStripUrl = stripUrl % '5'
                Severity: Major
                Found in dosagelib/plugins/b.py and 8 other locations - About 5 hrs to fix
                dosagelib/plugins/a.py on lines 139..146
                dosagelib/plugins/b.py on lines 46..53
                dosagelib/plugins/b.py on lines 228..235
                dosagelib/plugins/b.py on lines 238..246
                dosagelib/plugins/d.py on lines 82..89
                dosagelib/plugins/f.py on lines 151..158
                dosagelib/plugins/g.py on lines 16..23
                dosagelib/plugins/j.py on lines 16..23

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

                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 ButternutSquash(_BasicScraper):
                    url = 'http://www.butternutsquash.net/'
                    rurl = escape(url)
                    stripUrl = url + '%s/'
                    firstStripUrl = stripUrl % '2003/04/16/meet-da-punks'
                Severity: Major
                Found in dosagelib/plugins/b.py and 8 other locations - About 5 hrs to fix
                dosagelib/plugins/a.py on lines 139..146
                dosagelib/plugins/b.py on lines 46..53
                dosagelib/plugins/b.py on lines 187..194
                dosagelib/plugins/b.py on lines 238..246
                dosagelib/plugins/d.py on lines 82..89
                dosagelib/plugins/f.py on lines 151..158
                dosagelib/plugins/g.py on lines 16..23
                dosagelib/plugins/j.py on lines 16..23

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

                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 DeepFried(_BasicScraper):
                    url = 'http://www.whatisdeepfried.com/'
                    rurl = escape(url)
                    stripUrl = url + '%s/'
                    firstStripUrl = stripUrl % '2001/09/16/new-world-out-of-order'
                Severity: Major
                Found in dosagelib/plugins/d.py and 8 other locations - About 5 hrs to fix
                dosagelib/plugins/a.py on lines 139..146
                dosagelib/plugins/b.py on lines 46..53
                dosagelib/plugins/b.py on lines 187..194
                dosagelib/plugins/b.py on lines 228..235
                dosagelib/plugins/b.py on lines 238..246
                dosagelib/plugins/f.py on lines 151..158
                dosagelib/plugins/g.py on lines 16..23
                dosagelib/plugins/j.py on lines 16..23

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

                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 ButterSafe(_BasicScraper):
                    url = 'http://buttersafe.com/'
                    rurl = escape(url)
                    stripUrl = url + '%s/'
                    firstStripUrl = stripUrl % '2007/04/03/breakfast-sad-turtle'
                Severity: Major
                Found in dosagelib/plugins/b.py and 8 other locations - About 5 hrs to fix
                dosagelib/plugins/a.py on lines 139..146
                dosagelib/plugins/b.py on lines 46..53
                dosagelib/plugins/b.py on lines 187..194
                dosagelib/plugins/b.py on lines 228..235
                dosagelib/plugins/d.py on lines 82..89
                dosagelib/plugins/f.py on lines 151..158
                dosagelib/plugins/g.py on lines 16..23
                dosagelib/plugins/j.py on lines 16..23

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

                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 Baroquen(_BasicScraper):
                    url = 'http://www.baroquencomics.com/'
                    rurl = escape(url)
                    stripUrl = url + '%s/'
                    firstStripUrl = stripUrl % '2008/11/05/raise-the-curtains'
                Severity: Major
                Found in dosagelib/plugins/b.py and 8 other locations - About 5 hrs to fix
                dosagelib/plugins/a.py on lines 139..146
                dosagelib/plugins/b.py on lines 187..194
                dosagelib/plugins/b.py on lines 228..235
                dosagelib/plugins/b.py on lines 238..246
                dosagelib/plugins/d.py on lines 82..89
                dosagelib/plugins/f.py on lines 151..158
                dosagelib/plugins/g.py on lines 16..23
                dosagelib/plugins/j.py on lines 16..23

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

                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 JackCannon(_BasicScraper):
                    url = 'http://fancyadventures.com/'
                    rurl = escape(url)
                    stripUrl = url + '%s/'
                    firstStripUrl = stripUrl % '2008/07/07/2008-07-08'
                Severity: Major
                Found in dosagelib/plugins/j.py and 8 other locations - About 5 hrs to fix
                dosagelib/plugins/a.py on lines 139..146
                dosagelib/plugins/b.py on lines 46..53
                dosagelib/plugins/b.py on lines 187..194
                dosagelib/plugins/b.py on lines 228..235
                dosagelib/plugins/b.py on lines 238..246
                dosagelib/plugins/d.py on lines 82..89
                dosagelib/plugins/f.py on lines 151..158
                dosagelib/plugins/g.py on lines 16..23

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

                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 AllTheGrowingThings(_BasicScraper):
                    url = 'http://growingthings.typodmary.com/'
                    rurl = escape(url)
                    stripUrl = url + '%s/'
                    firstStripUrl = stripUrl % '2009/04/21/all-the-growing-things'
                Severity: Major
                Found in dosagelib/plugins/a.py and 8 other locations - About 5 hrs to fix
                dosagelib/plugins/b.py on lines 46..53
                dosagelib/plugins/b.py on lines 187..194
                dosagelib/plugins/b.py on lines 228..235
                dosagelib/plugins/b.py on lines 238..246
                dosagelib/plugins/d.py on lines 82..89
                dosagelib/plugins/f.py on lines 151..158
                dosagelib/plugins/g.py on lines 16..23
                dosagelib/plugins/j.py on lines 16..23

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

                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 FullFrontalNerdity(_BasicScraper):
                    url = 'http://ffn.nodwick.com/'
                    rurl = escape(url)
                    stripUrl = url + '?p=%s'
                    firstStripUrl = stripUrl % '6'
                Severity: Major
                Found in dosagelib/plugins/f.py and 8 other locations - About 5 hrs to fix
                dosagelib/plugins/a.py on lines 139..146
                dosagelib/plugins/b.py on lines 46..53
                dosagelib/plugins/b.py on lines 187..194
                dosagelib/plugins/b.py on lines 228..235
                dosagelib/plugins/b.py on lines 238..246
                dosagelib/plugins/d.py on lines 82..89
                dosagelib/plugins/g.py on lines 16..23
                dosagelib/plugins/j.py on lines 16..23

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

                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