failmap/admin

View on GitHub
websecmap/map/views.py

Summary

Maintainability
D
1 day
Test Coverage

File views.py has 608 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import json
import logging
from datetime import datetime
from wsgiref.util import FileWrapper

Severity: Major
Found in websecmap/map/views.py - About 1 day to fix

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

    def map_data(
    Severity: Minor
    Found in websecmap/map/views.py - About 35 mins to fix

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

      def ticker(
      Severity: Minor
      Found in websecmap/map/views.py - About 35 mins to fix

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

        def organization_report_by_name(
        Severity: Minor
        Found in websecmap/map/views.py - About 35 mins to fix

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

          def improvements(
          Severity: Minor
          Found in websecmap/map/views.py - About 35 mins to fix

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

            def organization_report_by_id(
            Severity: Minor
            Found in websecmap/map/views.py - About 35 mins to fix

              There are no issues that match your filters.

              Category
              Status