Benchmarks
Plugin footprint 48% 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: ▲1.08MB] [CPU: ▲8.13ms] Passed 4 tests
Server-side resources used by RevivePress – Keep your Old Content Evergreen
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.50 ▲1.04 | 44.53 ▲2.94 |
Dashboard /wp-admin | 4.41 ▲1.11 | 57.67 ▲4.00 |
Posts /wp-admin/edit.php | 4.46 ▲1.10 | 60.34 ▲13.87 |
Add New Post /wp-admin/post-new.php | 6.95 ▲1.06 | 104.52 ▲11.72 |
Media Library /wp-admin/upload.php | 4.33 ▲1.10 | 52.02 ▲14.77 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 4.68 | 41.90 |
Server storage [IO: ▲4.31MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 338 new files
Database: 4 new tables, 15 new options
New tables |
---|
wp_actionscheduler_actions |
wp_actionscheduler_claims |
wp_actionscheduler_groups |
wp_actionscheduler_logs |
New WordPress options |
---|
schema-ActionScheduler_StoreSchema |
theysaidso_admin_options |
fs_debug_mode |
schema-ActionScheduler_LoggerSchema |
wpar_plugin_installed_time |
widget_theysaidso_widget |
fs_accounts |
can_compress_scripts |
revivepress_install_date |
action_scheduler_hybrid_store_demarkation |
... |
Browser metrics Passed 4 tests
A check of browser resources used by RevivePress – Keep your Old Content Evergreen
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,996 ▲261 | 13.36 ▼1.29 | 1.70 ▼0.06 | 27.75 ▼15.66 |
Dashboard /wp-admin | 2,375 ▲184 | 4.95 ▲0.05 | 107.56 ▼7.30 | 49.29 ▲4.51 |
Posts /wp-admin/edit.php | 2,214 ▲128 | 2.16 ▲0.10 | 41.84 ▲3.78 | 42.91 ▲7.55 |
Add New Post /wp-admin/post-new.php | 1,599 ▲85 | 23.38 ▲5.87 | 663.41 ▲61.75 | 64.41 ▲3.37 |
Media Library /wp-admin/upload.php | 1,510 ▲119 | 4.25 ▲0.02 | 99.30 ▲0.89 | 51.51 ▲7.37 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 1,111 | 1.77 | 28.10 | 26.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wp-auto-republish/vendor/freemius/includes/class-freemius.php+8515
Undefined property: stdClass::$plugins
- The uninstall procedure failed, leaving 4 tables in the database
- wp_actionscheduler_claims
- wp_actionscheduler_groups
- wp_actionscheduler_actions
- wp_actionscheduler_logs
- Zombie WordPress options detected upon uninstall: 14 options
- revivepress_install_date
- widget_recent-posts
- fs_active_plugins
- revivepress_version
- schema-ActionScheduler_LoggerSchema
- fs_accounts
- widget_theysaidso_widget
- fs_debug_mode
- db_upgraded
- theysaidso_admin_options
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 44× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schedule' not found in wp-content/plugins/wp-auto-republish/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_RecurringSchedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Lock' not found in wp-content/plugins/wp-auto-republish/vendor/woocommerce/action-scheduler/classes/ActionScheduler_OptionLock.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_RecurringSchedule' not found in wp-content/plugins/wp-auto-republish/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_CronSchedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Schedule_Deprecated' not found in wp-content/plugins/wp-auto-republish/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_Schedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Store' not found in wp-content/plugins/wp-auto-republish/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php:6
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/wp-auto-republish/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfMonthField.php:21
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_AdminView_Deprecated' not found in wp-content/plugins/wp-auto-republish/vendor/woocommerce/action-scheduler/classes/ActionScheduler_AdminView.php:7
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schema' not found in wp-content/plugins/wp-auto-republish/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Logger' not found in wp-content/plugins/wp-auto-republish/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_wpCommentLogger.php:6
- > PHP Fatal error
Uncaught Error: Class 'Action_Scheduler\\Migration\\LogMigrator' not found in wp-content/plugins/wp-auto-republish/vendor/woocommerce/action-scheduler/classes/migration/DryRun_LogMigrator.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots lack descriptions #3, #4 in wp-auto-republish/assets to your readme.txt
wp-auto-republish/wp-auto-republish.php 92% from 13 tests
The main PHP script in "RevivePress – Keep your Old Content Evergreen" version 1.5.4 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 233 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin47,721 lines of code in 278 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 250 | 10,299 | 24,527 | 44,284 |
JSON | 1 | 0 | 0 | 2,479 |
PO File | 1 | 298 | 407 | 740 |
JavaScript | 8 | 34 | 72 | 200 |
CSS | 18 | 2 | 16 | 18 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,088)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 36.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 3.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 3 | |
Traits | 6 | |
Classes | 152 | |
▷ Abstract classes | 17 | 11.18% |
▷ Concrete classes | 135 | 88.82% |
▷ Final classes | 2 | 1.48% |
Methods | 2,107 | |
▷ Static methods | 300 | 14.24% |
▷ Public methods | 1,465 | 69.53% |
▷ Protected methods | 205 | 9.73% |
▷ Private methods | 437 | 20.74% |
Functions | 141 | |
▷ Named functions | 122 | 86.52% |
▷ Anonymous functions | 19 | 13.48% |
Constants | 183 | |
▷ Global constants | 103 | 56.28% |
▷ Class constants | 80 | 43.72% |
▷ Public constants | 80 | 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
15 PNG files occupy 0.07MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
assets/css/images/ui-icons_777777_256x240.png | 6.94KB | 4.18KB | ▼ 39.78% |
assets/css/images/ui-icons_555555_256x240.png | 6.91KB | 4.18KB | ▼ 39.47% |
assets/css/images/ui-icons_cc0000_256x240.png | 4.51KB | 4.18KB | ▼ 7.28% |
assets/css/images/ui-icons_444444_256x240.png | 6.92KB | 4.18KB | ▼ 39.61% |