Wonder-Technology/Wonder-Editor

View on GitHub
lib/es6_global/src/core/atom_component/dragTree/component/treeNode/AssetTreeNode.js

Summary

Maintainability
A
0 mins
Test Coverage

Function make has 16 arguments (exceeds 4 allowed). Consider refactoring.
Wontfix

function make(id, name, isSelected, isActive, dragImg, widget, icon, onSelect, onDrop, isWidget, isShowChildren, isHasChildren, checkNodeRelation, handleToggleShowTreeChildren, treeChildren, _children) {

    Function _renderDragableText has 47 lines of code (exceeds 25 allowed). Consider refactoring.
    Wontfix

    function _renderDragableText(param, param$1, param$2) {
      var checkNodeRelationFunc = param$2[2];
      var isWidgetFunc = param$2[1];
      var onSelectFunc = param$2[0];
      var dragImg = param$1[2];

      Function reducer has 38 lines of code (exceeds 25 allowed). Consider refactoring.
      Wontfix

      function reducer(isShowChildren, param, action) {
        var handleToggleShowTreeChildren = param[1];
        var onDropFunc = param[0];
        if (typeof action === "number") {
          switch (action) {

        There are no issues that match your filters.

        Category
        Status