Wonder-Technology/Wonder-Editor

View on GitHub
lib/es6_global/src/core/composable_component/mainEditor/composable_component/inspector/utils/InspectorRemoveComponentUtils.js

Summary

Maintainability
A
1 hr
Test Coverage

Function removeComponentByType has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Confirmed

function removeComponentByType(type_, currentSceneTreeNode, param) {
  var engineState = param[1];
  var editorState = param[0];
  var exit = 0;
  switch (type_) {

    There are no issues that match your filters.

    Category
    Status