Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲1.10MB] [CPU: ▼148.56ms] Passed 4 tests
Server-side resources used by GUI - Visual Editor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.34 ▲1.50 | 48.90 ▲13.22 |
Dashboard /wp-admin | 4.41 ▲1.35 | 47.89 ▲3.93 |
Posts /wp-admin/edit.php | 4.41 ▲1.30 | 50.82 ▲3.43 |
Add New Post /wp-admin/post-new.php | 5.78 ▲0.34 | 60.92 ▼611.75 |
Media Library /wp-admin/upload.php | 4.41 ▲1.40 | 40.11 ▲10.17 |
GUI - Templates /wp-admin/edit.php?post_type=gui_templates | 4.41 | 36.37 |
GUI - Visual Editor /wp-admin/options-general.php?page=gui_settings | 4.41 | 36.58 |
Server storage [IO: ▲10.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 707 new files
Database: no new tables, 5 new options
New WordPress options |
---|
gui_css_themes |
gui_option |
gui_addons |
gui_framework_googlefont |
gui_framework_available |
Browser metrics Passed 4 tests
Checking browser requirements for GUI - Visual Editor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,778 ▲182 | 15.80 ▲0.20 | 7.70 ▼1.29 | 51.95 ▼12.57 |
Dashboard /wp-admin | 3,030 ▲99 | 6.06 ▲0.18 | 142.49 ▼8.36 | 126.99 ▲9.19 |
Posts /wp-admin/edit.php | 2,796 ▲57 | 2.70 ▲0.01 | 71.09 ▲2.61 | 92.49 ▼4.36 |
Add New Post /wp-admin/post-new.php | 1,538 ▼145 | 18.58 ▼0.19 | 375.44 ▼5.61 | 107.92 ▼2.11 |
Media Library /wp-admin/upload.php | 1,864 ▲57 | 5.03 ▼0.00 | 154.60 ▼7.83 | 133.46 ▲11.85 |
GUI - Templates /wp-admin/edit.php?post_type=gui_templates | 1,455 | 2.62 | 67.71 | 77.48 |
GUI - Visual Editor /wp-admin/options-general.php?page=gui_settings | 1,262 | 3.34 | 71.88 | 102.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 1 option
- gui_css_themes
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 34× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant GUI_TINYMCE_VERSION - assumed 'GUI_TINYMCE_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/galau-ui-visual-editor/includes/default-addons.php on line 423
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/galau-ui-visual-editor/includes/class-addons-list-table.php on line 4
- > PHP Warning
Use of undefined constant GUI_TINYMCE_VERSION - assumed 'GUI_TINYMCE_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/galau-ui-visual-editor/includes/default-addons.php on line 331
- > PHP Warning
Use of undefined constant GUI_TINYMCE_VERSION - assumed 'GUI_TINYMCE_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/galau-ui-visual-editor/includes/default-addons.php on line 673
- > PHP Warning
Use of undefined constant GUI_TINYMCE_VERSION - assumed 'GUI_TINYMCE_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/galau-ui-visual-editor/includes/default-addons.php on line 584
- > PHP Warning
Use of undefined constant GUI_TINYMCE_VERSION - assumed 'GUI_TINYMCE_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/galau-ui-visual-editor/includes/default-addons.php on line 560
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/galau-ui-visual-editor/includes/class-addons-list-table.php on line 4
- > PHP Warning
Use of undefined constant GUI_TINYMCE_VERSION - assumed 'GUI_TINYMCE_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/galau-ui-visual-editor/includes/default-addons.php on line 654
- > PHP Warning
Use of undefined constant GUI_TINYMCE_VERSION - assumed 'GUI_TINYMCE_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/galau-ui-visual-editor/includes/default-addons.php on line 293
- > PHP Warning
Use of undefined constant GUI_TINYMCE_VERSION - assumed 'GUI_TINYMCE_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/galau-ui-visual-editor/includes/default-addons.php on line 228
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 35 tag instead of maximum 10
galau-ui-visual-editor/galau-ui-visual-editor.php 92% from 13 tests
"GUI - Visual Editor" version 2.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 285 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected99,527 lines of code in 511 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 257 | 6,453 | 6,509 | 54,009 |
CSS | 97 | 1,035 | 323 | 18,783 |
HTML | 123 | 2,228 | 8 | 11,876 |
PHP | 4 | 473 | 716 | 7,601 |
JSON | 3 | 0 | 0 | 3,328 |
SVG | 7 | 0 | 3 | 2,696 |
PO File | 3 | 243 | 279 | 612 |
LESS | 7 | 58 | 30 | 479 |
XML | 8 | 0 | 0 | 140 |
Markdown | 2 | 1 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 122.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 229.00 |
Average method complexity | 4.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 2 | 2.78% |
▷ Public methods | 57 | 79.17% |
▷ Protected methods | 3 | 4.17% |
▷ Private methods | 12 | 16.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin