Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.15MB] [CPU: ▼18.38ms] Passed 4 tests
A check of server-side resources used by Average WYSIWYG Helper
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.63 ▼4.23 |
Dashboard /wp-admin | 3.22 ▼0.12 | 30.72 ▼28.70 |
Posts /wp-admin/edit.php | 3.29 ▼0.07 | 34.19 ▼17.27 |
Add New Post /wp-admin/post-new.php | 5.46 ▼0.43 | 76.37 ▼23.33 |
Media Library /wp-admin/upload.php | 3.23 ▼0.00 | 32.94 ▼2.79 |
WYSIWYG Helper /wp-admin/options-general.php?page=avrgwysiwyg_options | 3.20 | 28.07 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Average WYSIWYG Helper: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲67 | 13.55 ▼0.85 | 1.74 ▲0.13 | 40.30 ▲2.51 |
Dashboard /wp-admin | 2,210 ▲18 | 4.85 ▼0.09 | 108.79 ▲0.78 | 42.73 ▼0.49 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.99 ▼0.05 | 38.89 ▲1.09 | 34.29 ▲0.21 |
Add New Post /wp-admin/post-new.php | 1,545 ▲25 | 18.43 ▼4.56 | 645.13 ▼16.97 | 55.84 ▲3.23 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.15 ▼0.05 | 107.60 ▲12.09 | 46.43 ▲2.56 |
WYSIWYG Helper /wp-admin/options-general.php?page=avrgwysiwyg_options | 942 | 2.02 | 26.26 | 27.41 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=avrgwysiwyg_options
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method avrgwysiwyg_class::post_upgrade_nag() should not be called statically
- > GET request to /wp-admin/options-general.php?page=avrgwysiwyg_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=avrgwysiwyg_options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/average-wysiwyg-helper/average-wysiwyg-helper.php:86
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/average-wysiwyg-helper/options.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: wysiwym, tinymce, wysiwyg, element highlighter
average-wysiwyg-helper/average-wysiwyg-helper.php 92% from 13 tests
The entry point to "Average WYSIWYG Helper" version 2.2.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 353 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
There were no executable files found in this plugin247 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 9 | 25 | 163 |
CSS | 2 | 8 | 30 | 84 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 6 | |
▷ Static methods | 5 | 83.33% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin