CORE-POS/IS4C

View on GitHub
fannie/modules/plugins2.0/MenuScreens/js/msi.js

Summary

Maintainability
B
5 hrs
Test Coverage

Function msi has 80 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var msi = (function ($) {

    var mod = {};

    function getItemRow(type, col) {
Severity: Major
Found in fannie/modules/plugins2.0/MenuScreens/js/msi.js - About 3 hrs to fix

    Function getItemRow has 58 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function getItemRow(type, col) {
    
            var metatype = type.toLowerCase().replace(/ /g, '');
    
            var ret = '<tr><td><input type="hidden" name="col[]" value="' + col + '" />';
    Severity: Major
    Found in fannie/modules/plugins2.0/MenuScreens/js/msi.js - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status