Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/ultimate-tinymce/main.php+212
Methods with the same name as their class will not be constructors in a future version of PHP; jwl_metabox_admin has a deprecated constructor
Server metrics [RAM: ▼1.65MB] [CPU: ▼51.98ms] Passed 4 tests
A check of server-side resources used by Ultimate TinyMCE
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.35 ▼1.11 | 5.88 ▼34.52 |
Dashboard /wp-admin | 2.37 ▼0.97 | 7.92 ▼52.54 |
Posts /wp-admin/edit.php | 2.37 ▼0.98 | 8.46 ▼39.25 |
Add New Post /wp-admin/post-new.php | 2.37 ▼3.51 | 5.93 ▼81.59 |
Media Library /wp-admin/upload.php | 2.37 ▼0.86 | 6.36 ▼29.90 |
Server storage [IO: ▲4.38MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 631 new files
Database: no new tables, 8 new options
New WordPress options |
---|
jwl_options_group4 |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
jwl_options_group3 |
Browser metrics Passed 4 tests
A check of browser resources used by Ultimate TinyMCE
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲160 | 13.28 ▼1.14 | 1.52 ▼0.07 | 40.42 ▼0.88 |
Dashboard /wp-admin | 2,309 ▲121 | 6.08 ▲1.17 | 105.39 ▼14.21 | 40.78 ▼2.39 |
Posts /wp-admin/edit.php | 2,203 ▲114 | 2.36 ▲0.36 | 47.35 ▲10.79 | 39.00 ▲3.87 |
Add New Post /wp-admin/post-new.php | 1,572 ▲52 | 23.31 ▲0.23 | 652.07 ▼10.78 | 59.95 ▼4.93 |
Media Library /wp-admin/upload.php | 1,494 ▲103 | 4.40 ▲0.23 | 101.62 ▼2.88 | 48.07 ▲0.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/ultimate-tinymce/main.php+212
Methods with the same name as their class will not be constructors in a future version of PHP; jwl_metabox_admin has a deprecated constructor
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-comments
- jwl_options_group3
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- jwl_options_group4
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ultimate-tinymce/includes/tinymce_addon_scripts.php
- > /wp-content/plugins/ultimate-tinymce/addons/clker/search.php
- > /wp-content/plugins/ultimate-tinymce/addons/shortcodes/shortcodes.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-tinymce/admin_functions.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-tinymce/main.php:63
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-tinymce/options_callback_functions.php:920
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-tinymce/options_functions.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/ultimate-tinymce/includes/style.php:23
- > PHP Fatal error
Uncaught Error: Class '_WP_Editors' not found in wp-content/plugins/ultimate-tinymce/includes/mce_langs.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 57 tag instead of maximum 10
ultimate-tinymce/main.php 92% from 13 tests
"Ultimate TinyMCE" version 5.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ultimate-tinymce.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected35,873 lines of code in 320 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 168 | 3,111 | 2,859 | 14,767 |
HTML | 93 | 688 | 25 | 7,678 |
PO File | 13 | 2,203 | 2,797 | 5,944 |
PHP | 11 | 595 | 300 | 4,743 |
CSS | 33 | 294 | 121 | 2,734 |
XML | 1 | 0 | 0 | 4 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 12.80 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 27 | |
▷ Static methods | 6 | 22.22% |
▷ Public methods | 25 | 92.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 7.41% |
Functions | 237 | |
▷ Named functions | 237 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
200 PNG files occupy 1.04MB with 0.61MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/email.png | 3.48KB | 1.16KB | ▼ 66.54% |
img/media.png | 3.46KB | 0.98KB | ▼ 71.55% |
img/acronym.png | 3.25KB | 0.79KB | ▼ 75.74% |
img/encode.png | 3.95KB | 0.75KB | ▼ 81.05% |
js/jscolor/hv.png | 2.80KB | 7.32KB | 0.00% |