Showing 305 of 1,497 total issues
File fields.py
has 2644 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""Definitions relating to fields."""
from qgis.PyQt.QtCore import QVariant
File impact_function.py
has 2411 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""Impact Function."""
File hazard_classifications.py
has 1902 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""Definitions relating to hazards classifications.
See https://github.com/inasafe/inasafe/issues/2920#issuecomment-229874044
to have a table showing you classes of each kind of hazard.
File dock.py
has 1321 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""InaSAFE Dock."""
import codecs
File definitions_help.py
has 1243 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""Help text for the dock widget."""
import copy
File multi_exposure_wrapper.py
has 1192 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""
Multi-exposure wrapper.
File step_kw33_multi_classifications.py
has 970 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""InaSAFE Wizard Step Multi Classifications."""
import logging
File components.py
has 875 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""Contains definitions about Report components.
"""
File plugin.py
has 850 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""InaSAFE Plugin."""
import sys
import os
File shake_grid.py
has 833 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""A converter for USGS shakemap grid.xml files."""
import codecs
File exposure_classifications.py
has 828 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""Definitions relating to exposure classifications."""
from safe.utilities.i18n import tr
File population_post_processors.py
has 811 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""Postprocessors about population and demographics."""
from collections import OrderedDict
File options_dialog.py
has 760 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""InaSAFE Options Dialog."""
import logging
File concepts.py
has 736 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""Concepts used in various places in InaSAFE.
Where possible please supply citations. Concepts are used in reporting display
and in other places like the wizard to ensure that the user will have adequate
File batch_dialog.py
has 721 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""
InaSAFE Disaster risk assessment tool developed by AusAid -
**Script runner dialog.**
File wizard_dialog.py
has 710 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""Wizard Dialog."""
import logging
File needs_manager_dialog.py
has 702 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""Need Manager Dialog."""
import os
File impact_report.py
has 685 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""Module to generate impact report.
Enable dynamic report generation based on report metadata.
Easily customize map report or document based report.
File multi_exposure_dialog.py
has 607 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""Multi Exposure Tool."""
File utilities.py
has 597 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# coding=utf-8
"""Utilities module for helping definitions retrieval."""
from collections import OrderedDict
from copy import deepcopy