Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.27MB] [CPU: ▼9.43ms] Passed 4 tests
An overview of server-side resources used by Remove Problematic Formatting Options From tinyMCE
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.42 ▲0.30 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.78 ▼3.78 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.97 ▼2.81 |
Add New Post /wp-admin/post-new.php | 4.80 ▼1.08 | 58.06 ▼26.35 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.10 ▼4.77 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
recovery_mode_email_last_sent |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Remove Problematic Formatting Options From tinyMCE: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲11 | 13.31 ▼1.49 | 1.68 ▲0.04 | 39.57 ▼1.93 |
Dashboard /wp-admin | 2,206 ▼0 | 5.76 ▲0.89 | 97.66 ▼2.75 | 39.90 ▲2.35 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.06 ▲0.02 | 39.47 ▲0.72 | 34.60 ▼0.05 |
Add New Post /wp-admin/post-new.php | 45 ▼1,488 | 0.44 ▼22.99 | 0.08 ▼721.62 | 9.35 ▼44.31 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.20 ▼0.01 | 93.91 ▼2.98 | 76.57 ▲31.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- recovery_mode_email_last_sent
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/remove-problematic-formatting-options-from-tinymce/pixelovely_removetinymcebuttons.php:53
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== remove-problematic-formatting-options-from-tinymce ===
)
remove-problematic-formatting-options-from-tinymce/pixelovely_removetinymcebuttons.php 85% from 13 tests
The main PHP script in "Remove Problematic Formatting Options From tinyMCE" version 1.0.6 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("remove-problematic-formatting-options-from-tinymce.php" instead of "pixelovely_removetinymcebuttons.php")
- Description: Keep the plugin description shorter than 140 characters (currently 214 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin25 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 19 | 25 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG files were detected