Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.30ms] Passed 4 tests
A check of server-side resources used by WP Tidy TinyMCE
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.55 ▲1.97 |
Dashboard /wp-admin | 3.35 ▲0.04 | 49.79 ▼0.87 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 63.21 ▲9.93 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 89.87 ▼20.84 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.47 ▼1.47 |
Tidy TinyMCE /wp-admin/options-general.php?page=wptidytinymceoptions | 3.24 | 39.33 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP Tidy TinyMCE
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.25 ▼1.18 | 1.88 ▲0.15 | 42.57 ▲1.27 |
Dashboard /wp-admin | 2,210 ▲19 | 4.86 ▼0.03 | 113.10 ▲10.16 | 44.36 ▲1.48 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.98 ▼0.01 | 39.65 ▼0.35 | 33.61 ▼4.00 |
Add New Post /wp-admin/post-new.php | 1,523 ▼5 | 23.40 ▲0.22 | 639.07 ▲19.16 | 65.39 ▲18.72 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.12 ▼0.07 | 113.80 ▲8.01 | 41.29 ▼4.44 |
Tidy TinyMCE /wp-admin/options-general.php?page=wptidytinymceoptions | 949 | 2.07 | 26.50 | 28.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-tidy-tinymce/wp-tidy-tinymce-options.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-tidy-tinymce/wp-lt-39.php:66
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/wp-tidy-tinymce/wp-tidy-tinymce.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% 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
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== wp-tidy-tinymce ===
)
wp-tidy-tinymce/wp-tidy-tinymce.php Passed 13 tests
This is the main PHP file of "WP Tidy TinyMCE" version 2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
96 characters long description:
Simple options to tidy up the uncommonly used buttons and controls from WordPress TinyMCE editor
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected276 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 48 | 95 | 206 |
Markdown | 1 | 22 | 0 | 70 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin