Benchmarks
Plugin footprint 65% 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: ▲1.18MB] [CPU: ▲7.14ms] Passed 4 tests
Server-side resources used by Visidea
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.63 ▲1.17 | 42.03 ▲1.62 |
Dashboard /wp-admin | 4.50 ▲1.19 | 56.83 ▲12.17 |
Posts /wp-admin/edit.php | 4.61 ▲1.25 | 60.36 ▲14.58 |
Add New Post /wp-admin/post-new.php | 7.08 ▲1.19 | 107.06 ▲0.17 |
Media Library /wp-admin/upload.php | 4.42 ▲1.19 | 51.67 ▲14.84 |
Settings /wp-admin/admin.php?page=visidea_general_setting | 4.39 | 45.30 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 4.61 | 61.65 |
Visidea /wp-admin/admin.php?page=visidea | 4.39 | 40.89 |
Server storage [IO: ▲1.20MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 186 new files
Database: 4 new tables, 11 new options
New tables |
---|
wp_actionscheduler_actions |
wp_actionscheduler_claims |
wp_actionscheduler_groups |
wp_actionscheduler_logs |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
schema-ActionScheduler_StoreSchema |
action_scheduler_hybrid_store_demarkation |
widget_recent-posts |
action_scheduler_lock_async-request-runner |
schema-ActionScheduler_LoggerSchema |
widget_theysaidso_widget |
visidea_plugin_options |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Visidea
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,574 ▼212 | 13.47 ▼0.94 | 7.56 ▲5.64 | 0.08 ▼41.40 |
Dashboard /wp-admin | 2,209 ▲28 | 5.56 ▼0.11 | 86.31 ▼8.79 | 69.16 ▲24.27 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 1.96 ▼0.06 | 38.62 ▲1.39 | 35.51 ▲0.49 |
Add New Post /wp-admin/post-new.php | 1,563 ▲26 | 23.28 ▲5.06 | 615.58 ▼21.28 | 170.47 ▲105.93 |
Media Library /wp-admin/upload.php | 1,429 ▲32 | 4.18 ▲0.05 | 96.28 ▼17.65 | 74.87 ▲26.13 |
Settings /wp-admin/admin.php?page=visidea_general_setting | 871 | 2.16 | 23.40 | 25.79 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,336 | 1.82 | 28.98 | 28.40 |
Visidea /wp-admin/admin.php?page=visidea | 1,413 | 9.94 | 250.67 | 68.56 |
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
It is recommended to fix the following
- Zombie tables detected upon uninstall: 4 tables
- wp_actionscheduler_logs
- wp_actionscheduler_actions
- wp_actionscheduler_claims
- wp_actionscheduler_groups
- Zombie WordPress options detected upon uninstall: 11 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- action_scheduler_lock_async-request-runner
- can_compress_scripts
- widget_recent-comments
- action_scheduler_hybrid_store_demarkation
- visidea_plugin_options
- schema-ActionScheduler_StoreSchema
- widget_theysaidso_widget
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 75× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_LogEntry' not found in wp-content/plugins/visidea/libraries/action-scheduler/classes/ActionScheduler_NullLogEntry.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_DBStore' not found in wp-content/plugins/visidea/libraries/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_UnitTestCase' not found in wp-content/plugins/visidea/libraries/action-scheduler/tests/phpunit/migration/LogMigrator_Test.php:9
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_AdminView_Deprecated' not found in wp-content/plugins/visidea/libraries/action-scheduler/classes/ActionScheduler_AdminView.php:7
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/visidea/libraries/action-scheduler/lib/cron-expression/CronExpression_MinutesField.php:8
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schedule' not found in wp-content/plugins/visidea/libraries/action-scheduler/classes/schedules/ActionScheduler_SimpleSchedule.php:6
- > PHP Fatal error
Uncaught Error: Interface 'CronExpression_FieldInterface' not found in wp-content/plugins/visidea/libraries/action-scheduler/lib/cron-expression/CronExpression_AbstractField.php:8
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_UnitTestCase' not found in wp-content/plugins/visidea/libraries/action-scheduler/tests/phpunit/lock/ActionScheduler_OptionLock_Test.php:7
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_SimpleSchedule' not found in wp-content/plugins/visidea/libraries/action-scheduler/classes/schedules/ActionScheduler_CanceledSchedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_QueueRunner' not found in wp-content/plugins/visidea/libraries/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_QueueRunner.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid url: "hello@visidea.ai"
- Tags: There are too many tags (12 tag instead of maximum 10)
visidea/visidea.php 92% from 13 tests
The principal PHP file in "Visidea" v. 1.2.14 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 142 characters long)
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 detected14,481 lines of code in 160 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 124 | 2,648 | 6,133 | 9,946 |
JSON | 4 | 0 | 0 | 2,418 |
Markdown | 12 | 384 | 0 | 707 |
JavaScript | 4 | 67 | 136 | 571 |
CSS | 2 | 44 | 13 | 266 |
Bourne Shell | 1 | 23 | 11 | 147 |
YAML | 4 | 15 | 6 | 111 |
XML | 3 | 8 | 3 | 91 |
PO File | 1 | 27 | 30 | 72 |
SVG | 2 | 1 | 0 | 53 |
HTML | 2 | 8 | 0 | 52 |
Sass | 1 | 10 | 0 | 47 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 8.66 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 96.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 116 | |
▷ Abstract classes | 16 | 13.79% |
▷ Concrete classes | 100 | 86.21% |
▷ Final classes | 0 | 0.00% |
Methods | 846 | |
▷ Static methods | 70 | 8.27% |
▷ Public methods | 665 | 78.61% |
▷ Protected methods | 145 | 17.14% |
▷ Private methods | 36 | 4.26% |
Functions | 54 | |
▷ Named functions | 33 | 61.11% |
▷ Anonymous functions | 21 | 38.89% |
Constants | 37 | |
▷ Global constants | 3 | 8.11% |
▷ Class constants | 34 | 91.89% |
▷ Public constants | 34 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
8 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 |
admin/images/visidea-icon.png | 2.43KB | 0.97KB | ▼ 60.08% |
libraries/action-scheduler/docs/mstile-150x150.png | 4.15KB | 3.67KB | ▼ 11.47% |
libraries/action-scheduler/docs/android-chrome-256x256.png | 2.93KB | 3.03KB | 0.00% |
libraries/action-scheduler/docs/android-chrome-192x192.png | 6.77KB | 2.46KB | ▼ 63.68% |
libraries/action-scheduler/docs/favicon-32x32.png | 1.16KB | 0.71KB | ▼ 39.02% |