BjornFJohansson/pydna

View on GitHub
src/pydna/tm.py

Summary

Maintainability
C
1 day
Test Coverage

Function tm_default has 27 arguments (exceeds 4 allowed). Consider refactoring.
Open

def tm_default(
Severity: Major
Found in src/pydna/tm.py - About 3 hrs to fix

    Function tm_dbd has 19 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    def tm_dbd(
    Severity: Major
    Found in src/pydna/tm.py - About 2 hrs to fix

      File tm.py has 255 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      #!/usr/bin/env python3
      # -*- coding: utf-8 -*-
      # Copyright 2013-2023 by Björn Johansson.  All rights reserved.
      # This code is part of the Python-dna distribution and governed by its
      # license.  Please see the LICENSE.txt file that should have been included
      Severity: Minor
      Found in src/pydna/tm.py - About 2 hrs to fix

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

        def ta_default(fp: str, rp: str, seq: str, tm=tm_default, tm_product=tm_product):
        Severity: Minor
        Found in src/pydna/tm.py - About 35 mins to fix

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

          def ta_dbd(fp, rp, seq, tm=tm_dbd, tm_product=None):
          Severity: Minor
          Found in src/pydna/tm.py - About 35 mins to fix

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

            def tmbresluc(primer: str, *args, primerc=500.0, saltc=50, **kwargs):
            Severity: Minor
            Found in src/pydna/tm.py - About 35 mins to fix

              There are no issues that match your filters.

              Category
              Status