inasafe/inasafe

View on GitHub
safe/gui/widgets/field_mapping_tab.py

Summary

Maintainability
B
4 hrs
Test Coverage

File field_mapping_tab.py has 293 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# coding=utf-8
"""Field Mapping Widget Implementation."""


import logging
Severity: Minor
Found in safe/gui/widgets/field_mapping_tab.py - About 3 hrs to fix

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

        def __init__(self, field_group=None, parent=None, iface=None):
            """Constructor."""
            # Init from parent class
            QWidget.__init__(self, parent)
    
    
    Severity: Minor
    Found in safe/gui/widgets/field_mapping_tab.py - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status