django/django

View on GitHub
django/contrib/sessions/backends/base.py

Summary

Maintainability
C
1 day
Test Coverage

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

import logging
import string
from datetime import datetime, timedelta

from asgiref.sync import sync_to_async
Severity: Minor
Found in django/contrib/sessions/backends/base.py - About 6 hrs to fix

    SessionBase has 40 functions (exceeds 20 allowed). Consider refactoring.
    Open

    class SessionBase:
        """
        Base class for all Session classes.
        """
    
    
    Severity: Minor
    Found in django/contrib/sessions/backends/base.py - About 5 hrs to fix

      There are no issues that match your filters.

      Category
      Status