django/django

View on GitHub
django/db/backends/base/base.py

Summary

Maintainability
C
1 day
Test Coverage

File base.py has 616 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import _thread
import copy
import datetime
import logging
import threading
Severity: Major
Found in django/db/backends/base/base.py - About 1 day to fix

    Function __init__ has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        def __init__(self, settings_dict, alias=DEFAULT_DB_ALIAS):
            # Connection related attributes.
            # The underlying database connection.
            self.connection = None
            # `settings_dict` should be a dictionary containing keys such as
    Severity: Minor
    Found in django/db/backends/base/base.py - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status