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
This plugin's installer ran successfully
Server metrics [RAM: ▲1.11MB] [CPU: ▲1.77ms] Passed 4 tests
Analyzing server-side resources used by PublishPress Checklists: Pre-Publishing Approval Task Checklist for WordPress Content
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.91 ▲0.44 | 39.76 ▲0.28 |
Dashboard /wp-admin | 4.62 ▲1.32 | 54.70 ▲0.14 |
Posts /wp-admin/edit.php | 4.73 ▲1.38 | 55.65 ▲1.70 |
Add New Post /wp-admin/post-new.php | 7.24 ▲1.35 | 89.26 ▲4.96 |
Media Library /wp-admin/upload.php | 4.54 ▲1.31 | 43.38 ▲7.62 |
Server storage [IO: ▲1.48MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 223 new files
Database: no new tables, 16 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
publishpress_checklists_yoastseo_options |
publishpress_checklists_permalinks_options |
publishpress_checklists_reviews_options |
publishpress_checklists_version |
publishpress_checklists_options_migrated_2_6_0 |
theysaidso_admin_options |
publishpress-checklists_wp_reviews_installed_on |
publishpress_checklists_settings_options |
... |
Browser metrics Passed 4 tests
Checking browser requirements for PublishPress Checklists: Pre-Publishing Approval Task Checklist for WordPress Content
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲67 | 14.19 ▼0.52 | 1.73 ▼0.05 | 27.60 ▼16.53 |
Dashboard /wp-admin | 2,237 ▲57 | 5.64 ▲0.06 | 94.91 ▼3.49 | 44.31 ▼1.15 |
Posts /wp-admin/edit.php | 2,147 ▲47 | 2.03 ▲0.02 | 39.44 ▼1.51 | 34.91 ▼9.10 |
Add New Post /wp-admin/post-new.php | 6,314 ▲4,779 | 20.93 ▼4.21 | 850.24 ▲162.97 | 83.85 ▲23.86 |
Media Library /wp-admin/upload.php | 1,439 ▲45 | 4.20 ▲0.04 | 97.09 ▲1.39 | 44.32 ▲1.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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
- Zombie WordPress options were found after uninstall: 16 options
- publishpress_checklists_permissions_options
- publishpress_checklists_checklists_options
- publishpress_checklists_options_migrated_2_6_0
- theysaidso_admin_options
- widget_recent-comments
- publishpress-checklists_wp_reviews_installed_on
- publishpress_checklists_options_migrated_2_0_0
- widget_recent-posts
- publishpress_checklists_yoastseo_options
- db_upgraded
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, 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
Please fix the following items
- 26× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/publishpress-checklists/core/Requirement/Approved_by.php
- > /wp-content/plugins/publishpress-checklists/core/Requirement/External_links.php
- > /wp-content/plugins/publishpress-checklists/lib/vendor/publishpress/wordpress-version-notices/templates/menu-link/menu-link-script.php
- > /wp-content/plugins/publishpress-checklists/core/Requirement/Base_dropdown.php
- > /wp-content/plugins/publishpress-checklists/lib/vendor/publishpress/wordpress-version-notices/templates/top-notice/notice.php
- > /wp-content/plugins/publishpress-checklists/core/Services.php
- > /wp-content/plugins/publishpress-checklists/core/Requirement/Tags_count.php
- > /wp-content/plugins/publishpress-checklists/core/Requirement/Interface_parametrized.php
- > /wp-content/plugins/publishpress-checklists/core/Requirement/Featured_image.php
- > /wp-content/plugins/publishpress-checklists/core/Requirement/Validate_links.php
- 45× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: context in wp-content/plugins/publishpress-checklists/modules/settings/templates/settings.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/publishpress-checklists/lib/vendor/publishpress/wordpress-version-notices/templates/menu-link/redirect-page.php:4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/publishpress-checklists/modules/settings/templates/settings.php on line 4
- > PHP Notice
Undefined variable: context in wp-content/plugins/publishpress-checklists/modules/settings/templates/module.php on line 6
- > PHP Notice
Undefined variable: context in wp-content/plugins/publishpress-checklists/modules/settings/templates/settings.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'PublishPress\\Checklists\\Core\\Legacy\\Module' not found in wp-content/plugins/publishpress-checklists/modules/permalinks/permalinks.php:22
- > PHP Warning
Class 'PublishPress\\WordpressVersionNotices\\Template\\TemplateInvalidArgumentsException' not found in wp-content/plugins/publishpress-checklists/lib/vendor/publishpress/wordpress-version-notices/src/deprecated.php on line 24
- > PHP Fatal error
Uncaught Error: Class 'PublishPress\\Checklists\\Core\\Requirement\\Base_dropdown' not found in wp-content/plugins/publishpress-checklists/modules/yoastseo/lib/Requirement/Seo_Analysis.php:15
- > PHP Fatal error
Uncaught Error: Interface 'PublishPress\\Psr\\Container\otFoundExceptionInterface' not found in wp-content/plugins/publishpress-checklists/lib/vendor/publishpress/pimple-pimple/lib/pimple/pimple/src/Pimple/Exception/UnknownIdentifierException.php:39
- > PHP Warning
Class 'PublishPress\\WordpressVersionNotices\\Autoloader' not found in wp-content/plugins/publishpress-checklists/lib/vendor/publishpress/wordpress-version-notices/src/deprecated.php on line 3
- > PHP Notice
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)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
5 plugin tags: approval, checklist, requirement, minimum, maximum
publishpress-checklists/publishpress-checklists.php Passed 13 tests
Analyzing the main PHP file in "PublishPress Checklists: Pre-Publishing Approval Task Checklist for WordPress Content" version 2.9.1
39 characters long description:
Add support for checklists in WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected21,963 lines of code in 196 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 72 | 3,103 | 1,607 | 11,432 |
PHP | 105 | 1,783 | 3,785 | 6,760 |
PO File | 6 | 810 | 939 | 1,899 |
CSS | 8 | 276 | 52 | 1,325 |
JSON | 2 | 0 | 0 | 395 |
JSX | 1 | 15 | 0 | 80 |
SVG | 1 | 0 | 0 | 63 |
HTML | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 11.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 105.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 21 | |
Interfaces | 8 | |
Traits | 0 | |
Classes | 70 | |
▷ Abstract classes | 2 | 2.86% |
▷ Concrete classes | 68 | 97.14% |
▷ Final classes | 2 | 2.94% |
Methods | 434 | |
▷ Static methods | 63 | 14.52% |
▷ Public methods | 367 | 84.56% |
▷ Protected methods | 17 | 3.92% |
▷ Private methods | 50 | 11.52% |
Functions | 36 | |
▷ Named functions | 9 | 25.00% |
▷ Anonymous functions | 27 | 75.00% |
Constants | 53 | |
▷ Global constants | 19 | 35.85% |
▷ Class constants | 34 | 64.15% |
▷ Public constants | 34 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/publishpress-checklists-logo.png | 6.49KB | 6.72KB | 0.00% |
modules/settings/lib/new-menu-icon.png | 3.65KB | 1.91KB | ▼ 47.76% |
modules/checklists/assets/img/publishpress-logo.png | 8.69KB | 8.91KB | 0.00% |
modules/checklists/assets/img/publishpress-checklists-logo.png | 13.88KB | 14.62KB | 0.00% |
modules/checklists/assets/img/publishpress-logo-icon.png | 13.05KB | 4.10KB | ▼ 68.61% |