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.01MB] [CPU: ▼6.91ms] Passed 4 tests
A check of server-side resources used by IA Salt Regeneration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.50 ▼6.55 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.76 ▼15.48 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.18 ▲2.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.25 ▼2.42 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.32 ▼3.17 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 110 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for IA Salt Regeneration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲54 | 14.67 ▲0.54 | 1.63 ▼0.15 | 42.60 ▼1.65 |
Dashboard /wp-admin | 2,192 ▲11 | 5.64 ▼0.06 | 90.35 ▼23.03 | 38.20 ▼7.19 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.00 ▲0.04 | 39.06 ▲2.83 | 34.62 ▲0.35 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.37 ▼0.08 | 726.04 ▲8.83 | 53.62 ▲2.89 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.21 ▲0.02 | 97.92 ▲0.26 | 40.73 ▼2.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 47× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schedule' not found in wp-content/plugins/ia-salt-regeneration/libraries/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_RecurringSchedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_ListTable' not found in wp-content/plugins/ia-salt-regeneration/libraries/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ListTable.php:7
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Logger' not found in wp-content/plugins/ia-salt-regeneration/libraries/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_wpCommentLogger.php:6
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/ia-salt-regeneration/libraries/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfWeekField.php:18
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/ia-salt-regeneration/libraries/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_MinutesField.php:8
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_QueueRunner' not found in wp-content/plugins/ia-salt-regeneration/libraries/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php:6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ia-salt-regeneration/libraries/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schema' not found in wp-content/plugins/ia-salt-regeneration/libraries/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_LoggerSchema.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Logger' not found in wp-content/plugins/ia-salt-regeneration/libraries/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBLogger.php:10
- > PHP Fatal error
Uncaught Error: Class 'Action_Scheduler\\Migration\\ActionMigrator' not found in wp-content/plugins/ia-salt-regeneration/libraries/vendor/woocommerce/action-scheduler/classes/migration/DryRun_ActionMigrator.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: analytics, statistics, regenerate salt, google analytics, wordpress analytics...
ia-salt-regeneration/ia-salt-regeneration.php 92% from 13 tests
The main PHP script in "IA Salt Regeneration" version 1.0.3 is automatically included on every request by WordPress
It is important to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.5" instead of "6.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin7,350 lines of code in 100 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 96 | 1,784 | 5,664 | 7,206 |
Markdown | 2 | 37 | 0 | 90 |
JSON | 2 | 0 | 0 | 54 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 11.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 2.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 83 | |
▷ Abstract classes | 15 | 18.07% |
▷ Concrete classes | 68 | 81.93% |
▷ Final classes | 1 | 1.47% |
Methods | 652 | |
▷ Static methods | 85 | 13.04% |
▷ Public methods | 480 | 73.62% |
▷ Protected methods | 139 | 21.32% |
▷ Private methods | 33 | 5.06% |
Functions | 29 | |
▷ Named functions | 18 | 62.07% |
▷ Anonymous functions | 11 | 37.93% |
Constants | 36 | |
▷ Global constants | 3 | 8.33% |
▷ Class constants | 33 | 91.67% |
▷ Public constants | 33 | 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
There were not PNG files found in your plugin