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.11MB] [CPU: ▼0.99ms] Passed 4 tests
Analyzing server-side resources used by YAHMAN Add-ons
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 39.63 ▼3.55 |
Dashboard /wp-admin | 3.41 ▲0.10 | 48.19 ▼1.84 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 51.06 ▲3.77 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 97.05 ▲1.01 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 33.30 ▲0.42 |
YAHMAN Add-ons /wp-admin/options-general.php?page=yahman-add-ons | 3.87 | 46.42 |
Server storage [IO: ▲3.94MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 806 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
yahman_addons_version |
theysaidso_admin_options |
yahman_addons |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by YAHMAN Add-ons
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.27 ▼0.08 | 1.76 ▲0.09 | 37.48 ▼10.35 |
Dashboard /wp-admin | 2,202 ▲22 | 5.64 ▼0.01 | 88.64 ▼9.70 | 38.86 ▼9.03 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.98 ▼0.17 | 39.98 ▲3.62 | 34.95 ▲0.87 |
Add New Post /wp-admin/post-new.php | 1,542 ▲7 | 18.32 ▲0.04 | 639.94 ▼24.04 | 65.79 ▼15.13 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.20 ▼0.11 | 103.72 ▼1.54 | 41.79 ▼1.55 |
YAHMAN Add-ons /wp-admin/options-general.php?page=yahman-add-ons | 8,130 | 4.50 | 109.29 | 157.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- yahman_addons
- widget_recent-comments
- yahman_addons_version
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
- 23× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/yahman-add-ons/inc/widget/widget-google_ad-inarticle.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/yahman-add-ons/inc/widget/widget-postlist-popular_posts.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/yahman-add-ons/inc/widget/widget-dd-archives.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/yahman-add-ons/inc/widget/widget-profile.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/yahman-add-ons/inc/widget/widget-2lists_2col.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/yahman-add-ons/inc/widget/widget-postlist-update.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/yahman-add-ons/inc/widget/widget-google_ad-infeed.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/yahman-add-ons/inc/widget/widget-carousel_slider.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/yahman-add-ons/inc/widget/widget-dd-categories.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/yahman-add-ons/inc/widget/widget-toc.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: twitter timeline, pageviews, table of contents, popular posts
yahman-add-ons/yahman-add-ons.php 92% from 13 tests
The entry point to "YAHMAN Add-ons" version 0.9.28 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 249 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin29,421 lines of code in 792 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 413 | 1,544 | 2,127 | 13,674 |
PHP | 91 | 3,869 | 780 | 10,453 |
CSS | 277 | 689 | 1,239 | 3,403 |
PO File | 1 | 908 | 1,655 | 1,323 |
Markdown | 2 | 23 | 0 | 432 |
JSON | 2 | 0 | 0 | 89 |
SVG | 6 | 0 | 4 | 47 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 18.41 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 27 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 139 | |
▷ Static methods | 10 | 7.19% |
▷ Public methods | 112 | 80.58% |
▷ Protected methods | 8 | 5.76% |
▷ Private methods | 19 | 13.67% |
Functions | 133 | |
▷ Named functions | 125 | 93.98% |
▷ Anonymous functions | 8 | 6.02% |
Constants | 8 | |
▷ Global constants | 8 | 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
4 PNG files occupy 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/highlight/styles/brown-papersq.png | 17.77KB | 9.92KB | ▼ 44.16% |
assets/images/blank.png | 17.28KB | 0.09KB | ▼ 99.46% |
assets/images/json_logo.png | 15.50KB | 1.43KB | ▼ 90.74% |
assets/images/no_image.png | 19.80KB | 11.28KB | ▼ 43.03% |