Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.40ms] Passed 4 tests
Analyzing server-side resources used by ArvanCloud VOD for Wordpress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 44.57 ▼0.26 |
Dashboard /wp-admin | 3.37 ▲0.07 | 35.71 ▼12.70 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 42.36 ▼5.69 |
Add New Post /wp-admin/post-new.php | 5.69 ▼0.20 | 74.11 ▼17.07 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 35.72 ▼2.13 |
About /wp-admin/admin.php?page=arvancloud-vod-about | 3.36 | 33.38 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 3.65 | 38.75 |
Setting /wp-admin/admin.php?page=arvancloud-vod | 3.36 | 28.98 |
Server storage [IO: ▲1.02MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 280 new files
Database: 4 new tables, 10 new options
New tables |
---|
wp_actionscheduler_logs |
wp_actionscheduler_groups |
wp_actionscheduler_claims |
wp_actionscheduler_actions |
New WordPress options |
---|
action_scheduler_lock_async-request-runner |
widget_recent-comments |
schema-ActionScheduler_StoreSchema |
widget_recent-posts |
action_scheduler_hybrid_store_demarkation |
schema-ActionScheduler_LoggerSchema |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for ArvanCloud VOD for Wordpress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲161 | 14.34 ▼0.05 | 1.86 ▲0.11 | 42.56 ▼0.14 |
Dashboard /wp-admin | 2,296 ▲121 | 6.30 ▲0.61 | 116.20 ▼2.15 | 107.50 ▲59.79 |
Posts /wp-admin/edit.php | 2,236 ▲133 | 3.40 ▲1.43 | 49.47 ▲3.46 | 81.12 ▲43.26 |
Add New Post /wp-admin/post-new.php | 1,583 ▲57 | 23.09 ▲0.05 | 590.27 ▼42.18 | 35.36 ▼21.01 |
Media Library /wp-admin/upload.php | 1,464 ▲64 | 4.09 ▼0.12 | 90.01 ▼15.52 | 83.48 ▲37.18 |
About /wp-admin/admin.php?page=arvancloud-vod-about | 1,012 | 3.12 | 43.64 | 77.32 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,398 | 3.20 | 43.03 | 66.48 |
Setting /wp-admin/admin.php?page=arvancloud-vod | 1,034 | 3.13 | 42.34 | 84.23 |
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
These items require your attention
- The uninstall procedure failed, leaving 4 tables in the database
- wp_actionscheduler_groups
- wp_actionscheduler_actions
- wp_actionscheduler_logs
- wp_actionscheduler_claims
- This plugin does not fully uninstall, leaving 10 options in the database
- widget_recent-posts
- db_upgraded
- schema-ActionScheduler_StoreSchema
- widget_theysaidso_widget
- action_scheduler_hybrid_store_demarkation
- schema-ActionScheduler_LoggerSchema
- theysaidso_admin_options
- widget_recent-comments
- action_scheduler_lock_async-request-runner
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=arvancloud-vod
- > User notice in wp-includes/functions.php+5905
Function wp_add_inline_script was called incorrectly. Do not pass <script> tags to wp_add_inline_script(). Please see Debugging in WordPress for more information. (This message was added in version 4.5.0.)
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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/arvancloud-vod/arvancloud-vod.php
- 159× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/arvancloud-vod/vendor/woocommerce/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_Scheduler_command.php:6
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/arvancloud-vod/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/arvancloud-vod/admin/views/pages/api-key-settings.php:2
- > PHP Fatal error
Uncaught Error: Class 'Action_Scheduler\\Migration\\LogMigrator' not found in wp-content/plugins/arvancloud-vod/vendor/woocommerce/action-scheduler/classes/migration/DryRun_LogMigrator.php:13
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/arvancloud-vod/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_SimpleSchedule' not found in wp-content/plugins/arvancloud-vod/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_CanceledSchedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/arvancloud-vod/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/arvancloud-vod/vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/arvancloud-vod/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/arvancloud-vod/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
2 plugin tags: vod, arvancloud
arvancloud-vod/arvancloud-vod.php Passed 13 tests
"ArvanCloud VOD for Wordpress" version 0.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
140 characters long description:
ArvanCloud Video Platform allows users to publish, store and convert their video content without worrying about the required infrastructure.
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
No dangerous file extensions were detected15,088 lines of code in 257 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 227 | 2,764 | 6,630 | 11,473 |
JSON | 7 | 6 | 0 | 2,060 |
PO File | 1 | 255 | 560 | 750 |
JavaScript | 5 | 61 | 63 | 297 |
Sass | 3 | 35 | 0 | 221 |
Markdown | 4 | 56 | 0 | 126 |
YAML | 3 | 31 | 3 | 123 |
CSS | 5 | 4 | 23 | 33 |
SVG | 2 | 0 | 0 | 5 |
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 | 6.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 96.00 |
Average method complexity | 2.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 205 | |
▷ Abstract classes | 16 | 7.80% |
▷ Concrete classes | 189 | 92.20% |
▷ Final classes | 1 | 0.53% |
Methods | 852 | |
▷ Static methods | 104 | 12.21% |
▷ Public methods | 631 | 74.06% |
▷ Protected methods | 174 | 20.42% |
▷ Private methods | 47 | 5.52% |
Functions | 51 | |
▷ Named functions | 19 | 37.25% |
▷ Anonymous functions | 32 | 62.75% |
Constants | 81 | |
▷ Global constants | 9 | 11.11% |
▷ Class constants | 72 | 88.89% |
▷ Public constants | 72 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin