CaffGeek/MBACNationals

View on GitHub
Web.Admin/2014/wordpress/wp-includes/js/tinymce/plugins/image/plugin.js

Summary

Maintainability
D
2 days
Test Coverage

Function showDialog has 282 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function showDialog(imageList) {
        var win, data = {}, dom = editor.dom, imgElm = editor.selection.getNode();
        var width, height, imageListCtrl, classListCtrl;

        function buildValues(listSettingName, dataItemName, defaultItems) {

    File plugin.js has 347 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /**
     * plugin.js
     *
     * Copyright, Moxiecode Systems AB
     * Released under LGPL License.

      Function onSubmitForm has 71 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              function onSubmitForm() {
                  function waitLoad(imgElm) {
                      function selectImage() {
                          imgElm.onload = imgElm.onerror = null;
                          editor.selection.select(imgElm);

        There are no issues that match your filters.

        Category
        Status