Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/tinymce-backslash-button/tinymce-backslash-button.php+31
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.09MB] [CPU: ▼7.72ms] Passed 4 tests
Analyzing server-side resources used by TinyMCE Backslash Button
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 43.85 ▼0.17 |
Dashboard /wp-admin | 3.39 ▲0.09 | 52.24 ▼2.35 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 47.95 ▼8.17 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 85.21 ▼18.32 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.77 ▼2.02 |
TinyMCE Backslash /wp-admin/options-general.php?page=tinymce-backslash-options | 3.26 | 32.07 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
tinymce_backslash_setting_opt |
widget_theysaidso_widget |
widget_recent-comments |
tinymce_backslash_updated |
tinymce_backslash_checkver_stamp |
widget_recent-posts |
db_upgraded |
recovery_mode_email_last_sent |
Browser metrics Passed 4 tests
An overview of browser requirements for TinyMCE Backslash Button
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲17 | 14.27 ▼0.39 | 1.75 ▼0.26 | 45.56 ▲1.83 |
Dashboard /wp-admin | 2,203 ▲23 | 5.62 ▼0.01 | 93.50 ▼4.47 | 43.55 ▼1.90 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.13 ▲0.14 | 40.51 ▲2.38 | 35.54 ▼2.26 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 23.14 ▼0.43 | 670.39 ▼30.53 | 60.76 ▲0.85 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.20 ▼0.03 | 97.30 ▼11.32 | 42.08 ▼6.33 |
TinyMCE Backslash /wp-admin/options-general.php?page=tinymce-backslash-options | 852 | 1.51 | 7.27 | 26.36 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- recovery_mode_email_last_sent
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=tinymce-backslash-options
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=tinymce-backslash-options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=tinymce-backslash-options
- > Error in wp-content/plugins/tinymce-backslash-button/tinymce-backslash-button.php+314
Uncaught Error: Call to undefined function mysql_get_server_info() in wp-content/plugins/tinymce-backslash-button/tinymce-backslash-button.php:314
Stack trace:
#0 wp-includes/class-wp-hook.php(310): TinyMCE_Backslash_Button->tinymce_backslash_options_panel()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/admin.php(259): do_action()
#4 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#5 {main}
thrown
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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/tinymce-backslash-button/tinymce-backslash-button.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (This is the button on Visual editor(TinyMCE).), #2 (This is the button on HTML editor.), #3 (This is entered backslashes.), #4 (This is setting panel.)
tinymce-backslash-button/tinymce-backslash-button.php 85% from 13 tests
"TinyMCE Backslash Button" version 0.2.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 156 characters long)
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected417 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 27 | 45 | 271 |
PO File | 1 | 42 | 41 | 99 |
JavaScript | 2 | 11 | 8 | 42 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 51.00 |
▷ Minimum class complexity | 51.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
tinymce/backslash.png | 2.97KB | 0.16KB | ▼ 94.68% |