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
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/the-winnower-publisher/widget.php+4
Function create_function() is deprecated
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.67ms] Passed 4 tests
A check of server-side resources used by The Winnower Publisher
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.77 ▼5.17 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.08 ▼4.74 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.29 ▲0.44 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.99 ▼8.97 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.82 ▼3.81 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_winnower_badge |
db_upgraded |
winnower_publisher_settings |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for The Winnower Publisher
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.21 ▼1.43 | 1.73 ▲0.03 | 43.55 ▲0.15 |
Dashboard /wp-admin | 2,206 ▲15 | 5.79 ▲0.72 | 97.35 ▼14.76 | 39.62 ▼6.35 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.05 | 33.30 ▼3.97 | 37.15 ▲3.61 |
Add New Post /wp-admin/post-new.php | 1,528 ▲14 | 23.20 ▲5.57 | 661.18 ▲2.04 | 52.42 ▼6.45 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▼0.09 | 92.59 ▼11.96 | 41.75 ▼4.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- winnower_publisher_settings
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_winnower_badge
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 8× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/the-winnower-publisher/winnower-publisher.php
- > /wp-content/plugins/the-winnower-publisher/class-piklist-checker.php
- > /wp-content/plugins/the-winnower-publisher/save-hooks.php
- > /wp-content/plugins/the-winnower-publisher/parts/settings/winnower-help.php
- > /wp-content/plugins/the-winnower-publisher/cite-link.php
- > /wp-content/plugins/the-winnower-publisher/activation-hooks.php
- > /wp-content/plugins/the-winnower-publisher/admin-pages.php
- > /wp-content/plugins/the-winnower-publisher/widget.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function piklist() in wp-content/plugins/the-winnower-publisher/parts/meta-boxes/winnower-metabox.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function piklist() in wp-content/plugins/the-winnower-publisher/parts/settings/winnower-settings.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
the-winnower-publisher/winnower-publisher.php 92% from 13 tests
Analyzing the main PHP file in "The Winnower Publisher" version 1.7
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("the-winnower-publisher.php" instead of "winnower-publisher.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin836 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 151 | 40 | 836 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 5 | 62.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected