Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲3.22MB] [CPU: ▲31.80ms] Passed 4 tests
This is a short check of server-side resources used by PublishPress Future: Automatically Unpublish WordPress Posts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.65 ▲3.18 | 72.35 ▲34.65 |
Dashboard /wp-admin | 6.57 ▲3.26 | 84.85 ▲35.08 |
Posts /wp-admin/edit.php | 6.66 ▲3.30 | 92.92 ▲44.62 |
Add New Post /wp-admin/post-new.php | 9.15 ▲3.26 | 113.40 ▲21.95 |
Media Library /wp-admin/upload.php | 6.43 ▲3.20 | 65.29 ▲35.52 |
Settings /wp-admin/admin.php?page=publishpress-future | 6.48 | 62.13 |
Future Actions /wp-admin/admin.php?page=publishpress-future-scheduled-actions | 6.43 | 66.73 |
Upgrade to Pro /wp-admin/admin.php?page=publishpress-future-menu-upgrade-link | 6.40 | 57.89 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 6.43 | 73.07 |
Server storage [IO: ▲2.99MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 316 new files
Database: 6 new tables, 19 new options
New tables |
---|
wp_actionscheduler_claims |
wp_postexpirator_debug |
wp_actionscheduler_actions |
wp_ppfuture_actions_args |
wp_actionscheduler_groups |
wp_actionscheduler_logs |
New WordPress options |
---|
expirationdateFooterStyle |
action_scheduler_hybrid_store_demarkation |
widget_recent-comments |
expirationdateDefaultDate |
can_compress_scripts |
schema-ActionScheduler_StoreSchema |
widget_theysaidso_widget |
db_upgraded |
post-expirator_wp_reviews_installed_on |
expirationdateDebug |
... |
Browser metrics Passed 4 tests
Checking browser requirements for PublishPress Future: Automatically Unpublish WordPress Posts
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲65 | 14.32 ▲0.01 | 1.83 ▲0.19 | 31.27 ▼13.11 |
Dashboard /wp-admin | 2,235 ▲58 | 5.70 ▲0.08 | 86.20 ▼7.91 | 41.23 ▼3.49 |
Posts /wp-admin/edit.php | 2,733 ▲630 | 2.06 ▲0.09 | 43.07 ▲4.68 | 36.80 ▼0.61 |
Add New Post /wp-admin/post-new.php | 1,577 ▲51 | 22.21 ▼1.24 | 690.54 ▲63.78 | 61.50 ▲13.05 |
Media Library /wp-admin/upload.php | 1,437 ▲34 | 4.20 ▼0.02 | 99.35 ▼2.36 | 45.10 ▲2.41 |
Settings /wp-admin/admin.php?page=publishpress-future | 1,208 | 1.68 | 22.82 | 46.31 |
Future Actions /wp-admin/admin.php?page=publishpress-future-scheduled-actions | 1,218 | 2.06 | 28.55 | 32.40 |
Upgrade to Pro /wp-admin/admin.php?page=publishpress-future-menu-upgrade-link | 2,496 | 2.32 | 43.72 | 68.98 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,285 | 1.84 | 28.65 | 36.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure failed, leaving 6 tables in the database
- wp_ppfuture_actions_args
- wp_actionscheduler_logs
- wp_actionscheduler_claims
- wp_postexpirator_debug
- wp_actionscheduler_groups
- wp_actionscheduler_actions
- This plugin did not uninstall successfully, leaving 19 options in the database
- schema-ActionScheduler_LoggerSchema
- schema-ActionScheduler_StoreSchema
- expirationdateDefaultDate
- post-expirator_wp_reviews_installed_on
- expirationdateDefaultDateFormat
- widget_theysaidso_widget
- expirationdateDisplayFooter
- theysaidso_admin_options
- postexpiratorVersion
- db_upgraded
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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
The following issues need your attention
- 120× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/post-expirator/legacy/classes/Cli.class.php
- > /wp-content/plugins/post-expirator/src/Views/menu-diagnostics.php
- > /wp-content/plugins/post-expirator/src/Framework/WordPress/Facade/HooksFacade.php
- > /wp-content/plugins/post-expirator/src/Framework/WordPress/Exceptions/NonexistentTermException.php
- > /wp-content/plugins/post-expirator/src/Views/tabs.php
- > /wp-content/plugins/post-expirator/src/Views/menu-defaults.php
- > /wp-content/plugins/post-expirator/src/Modules/Expirator/ExpirationActions/PostCategoryRemove.php
- > /wp-content/plugins/post-expirator/src/Framework/WordPress/Exceptions/WordPressErrorException.php
- > /wp-content/plugins/post-expirator/legacy/classes/Facade.class.php
- > /wp-content/plugins/post-expirator/src/Core/DI/ServiceProviderInterface.php
- 65× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Store_Deprecated' not found in wp-content/plugins/post-expirator/lib/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Store.php:7
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_SimpleSchedule' not found in wp-content/plugins/post-expirator/lib/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_CanceledSchedule.php:6
- > PHP Warning
Class 'PublishPress\\WordpressVersionNotices\\Template\\TemplateNotFoundException' not found in wp-content/plugins/post-expirator/lib/vendor/publishpress/wordpress-version-notices/src/deprecated.php on line 34
- > PHP Fatal error
Uncaught Error: Interface 'ActionScheduler_Schedule' not found in wp-content/plugins/post-expirator/lib/vendor/woocommerce/action-scheduler/deprecated/ActionScheduler_Schedule_Deprecated.php:6
- > PHP Fatal error
Uncaught Error: Interface 'PublishPress\\Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/post-expirator/lib/vendor/publishpress/psr-container/lib/psr/container/src/NotFoundExceptionInterface.php:14
- > PHP Fatal error
Uncaught Error: Interface 'PublishPress\\Psr\\Container\otFoundExceptionInterface' not found in wp-content/plugins/post-expirator/lib/vendor/publishpress/pimple-pimple/lib/pimple/pimple/src/Pimple/Exception/UnknownIdentifierException.php:39
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/post-expirator/lib/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfMonthField.php:21
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_QueueRunner' not found in wp-content/plugins/post-expirator/lib/vendor/woocommerce/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_QueueRunner.php:10
- > PHP Warning
Class 'PublishPress\\WordpressVersionNotices\\Template\\TemplateLoader' not found in wp-content/plugins/post-expirator/lib/vendor/publishpress/wordpress-version-notices/src/deprecated.php on line 19
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/post-expirator/lib/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_HoursField.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: schedule changes, expire posts, automatic changes, update posts
post-expirator/post-expirator.php Passed 13 tests
This is the main PHP file of "PublishPress Future: Automatically Unpublish WordPress Posts" version 3.1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
101 characters long description:
PublishPress Future allows you to schedule automatic changes to posts, pages and other content types.
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 detected24,463 lines of code in 278 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 255 | 4,527 | 9,730 | 18,382 |
PO File | 5 | 1,215 | 1,858 | 3,157 |
CSS | 10 | 169 | 91 | 2,142 |
JSON | 3 | 0 | 0 | 607 |
JavaScript | 5 | 40 | 27 | 175 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 44 | |
Interfaces | 21 | |
Traits | 0 | |
Classes | 190 | |
▷ Abstract classes | 26 | 13.68% |
▷ Concrete classes | 164 | 86.32% |
▷ Final classes | 2 | 1.22% |
Methods | 1,235 | |
▷ Static methods | 137 | 11.09% |
▷ Public methods | 974 | 78.87% |
▷ Protected methods | 150 | 12.15% |
▷ Private methods | 111 | 8.99% |
Functions | 174 | |
▷ Named functions | 69 | 39.66% |
▷ Anonymous functions | 105 | 60.34% |
Constants | 238 | |
▷ Global constants | 36 | 15.13% |
▷ Class constants | 202 | 84.87% |
▷ Public constants | 202 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
13 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/lib/jquery-ui/images/ui-bg_glass_95_fef1ec_1x400.png | 0.38KB | 0.15KB | ▼ 61.54% |
assets/css/lib/jquery-ui/images/ui-icons_222222_256x240.png | 6.86KB | 4.18KB | ▼ 39.05% |
assets/css/lib/jquery-ui/images/ui-icons_888888_256x240.png | 6.94KB | 4.18KB | ▼ 39.78% |
assets/css/lib/jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.38KB | 0.12KB | ▼ 67.68% |
assets/css/lib/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png | 0.26KB | 0.09KB | ▼ 66.79% |