Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲11.43MB] [CPU: ▲57.57ms] 50% from 4 tests
A check of server-side resources used by ArvanCloud Object Storage
Please have a look at the following items
- RAM: Total memory usage should be kept under 10MB (currently 14.68MB on /wp-admin/admin.php?page=wp-arvancloud-storage-about)
- Extra RAM: Try to keep extra memory usage under 5MB (currently 11.43MB on /wp-admin/admin.php?page=wp-arvancloud-storage-about)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 43.12 ▲39.61 | 8,173,136.15 ▲8,173,090.98 |
Dashboard /wp-admin | 14.80 ▲11.45 | 138.41 ▲81.03 |
Posts /wp-admin/edit.php | 14.88 ▲11.47 | 101.09 ▲48.78 |
Add New Post /wp-admin/post-new.php | 17.34 ▲11.41 | 144.75 ▲48.62 |
Media Library /wp-admin/upload.php | 14.66 ▲11.39 | 94.42 ▲51.83 |
Settings /wp-admin/admin.php?page=wp-arvancloud-storage | 16.10 | 445.73 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 14.88 | 107.15 |
Scheduled Actions /wp-admin/admin.php?page=wp-arvancloud-storage-filtertask | 14.90 | 103.28 |
About /wp-admin/admin.php?page=wp-arvancloud-storage-about | 14.68 | 90.92 |
Server storage [IO: ▲29.95MB] [DB: ▲0.01MB] 67% from 3 tests
Input-output and database impact of this plugin
Please try to fix the following items
- Try to limit filesystem usage to 25MB (currently using 29.95MB)
Filesystem: 2,560 new files
Database: 5 new tables, 12 new options
New tables |
---|
wp_actionscheduler_logs |
wp_actionscheduler_groups |
wp_actionscheduler_actions |
wp_actionscheduler_claims |
wp_obs_operations |
New WordPress options |
---|
schema-ActionScheduler_StoreSchema |
theysaidso_admin_options |
OBS_INVALID_API_KEY |
action_scheduler_lock_async-request-runner |
acs_settings |
action_scheduler_hybrid_store_demarkation |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
schema-ActionScheduler_LoggerSchema |
... |
Browser metrics Passed 4 tests
A check of browser resources used by ArvanCloud Object Storage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,995 ▲234 | 14.51 ▼0.24 | 1.52 ▼0.73 | 39.14 ▼8.29 |
Dashboard /wp-admin | 2,386 ▲206 | 6.23 ▲0.57 | 111.40 ▲23.03 | 88.52 ▲44.41 |
Posts /wp-admin/edit.php | 2,329 ▲229 | 3.57 ▲1.60 | 54.04 ▲16.29 | 72.38 ▲34.28 |
Add New Post /wp-admin/post-new.php | 1,580 ▲54 | 21.52 ▼1.53 | 614.05 ▼35.25 | 158.82 ▲97.67 |
Media Library /wp-admin/upload.php | 1,466 ▲72 | 4.21 ▲0.01 | 87.00 ▼16.58 | 75.43 ▲28.59 |
Settings /wp-admin/admin.php?page=wp-arvancloud-storage | 950 | 1.75 | 12.00 | 37.86 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,565 | 3.26 | 43.37 | 61.85 |
Scheduled Actions /wp-admin/admin.php?page=wp-arvancloud-storage-filtertask | 2,085 | 4.41 | 47.37 | 87.17 |
About /wp-admin/admin.php?page=wp-arvancloud-storage-about | 1,137 | 2.98 | 40.33 | 86.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie tables detected upon uninstall: 5 tables
- wp_obs_operations
- wp_actionscheduler_logs
- wp_actionscheduler_groups
- wp_actionscheduler_claims
- wp_actionscheduler_actions
- This plugin does not fully uninstall, leaving 12 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- schema-ActionScheduler_LoggerSchema
- widget_theysaidso_widget
- action_scheduler_lock_async-request-runner
- OBS_INVALID_API_KEY
- acs_settings
- action_scheduler_hybrid_store_demarkation
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 48 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-arvancloud-storage-about
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 48 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-arvancloud-storage-about
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
SRP 0% 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
Please take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/arvancloud-object-storage/admin/partials/partial-styles.php
- > /wp-content/plugins/arvancloud-object-storage/vendor/mtdowling/jmespath.php/bin/jp.php
- 901× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/arvancloud-object-storage/vendor/aws/aws-sdk-php/src/IoTFleetWise/Exception/IoTFleetWiseException.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Aws\\CacheInterface' not found in wp-content/plugins/arvancloud-object-storage/vendor/aws/aws-sdk-php/src/PsrCacheAdapter.php:6
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/arvancloud-object-storage/vendor/aws/aws-sdk-php/src/CognitoSync/CognitoSyncClient.php:44
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/arvancloud-object-storage/vendor/aws/aws-sdk-php/src/AppIntegrationsService/AppIntegrationsServiceClient.php:39
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/arvancloud-object-storage/vendor/aws/aws-sdk-php/src/SnowDeviceManagement/Exception/SnowDeviceManagementException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/arvancloud-object-storage/vendor/aws/aws-sdk-php/src/SecurityHub/SecurityHubClient.php:121
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/arvancloud-object-storage/vendor/aws/aws-sdk-php/src/SageMakerRuntime/Exception/SageMakerRuntimeException.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Aws\\MonitoringEventsInterface' not found in wp-content/plugins/arvancloud-object-storage/vendor/aws/aws-sdk-php/src/Retry/Exception/ConfigurationException.php:10
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/arvancloud-object-storage/vendor/aws/aws-sdk-php/src/AppIntegrationsService/Exception/AppIntegrationsServiceException.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/arvancloud-object-storage/vendor/guzzlehttp/psr7/src/Stream.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: storage, offload, arvancloud, s3, backup...
arvancloud-object-storage/wp-arvancloud-storage.php 85% from 13 tests
"ArvanCloud Object Storage" version 1.2.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 343 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("arvancloud-object-storage.php" instead of "wp-arvancloud-storage.php")
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
These items require your attention
- Do not include executable or dangerous files in your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/arvancloud-object-storage/vendor/aws/aws-crt-php/run_tests.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2,408 | 11,486 | 50,985 | 60,207 |
Markdown | 29 | 1,422 | 0 | 3,993 |
JSON | 18 | 10 | 0 | 3,134 |
Sass | 11 | 211 | 0 | 1,123 |
C | 10 | 250 | 89 | 882 |
PO File | 1 | 298 | 444 | 804 |
JavaScript | 3 | 109 | 21 | 472 |
C/C++ Header | 2 | 105 | 38 | 441 |
YAML | 5 | 30 | 57 | 198 |
Bourne Shell | 3 | 19 | 4 | 176 |
reStructuredText | 1 | 35 | 29 | 59 |
GLSL | 1 | 17 | 0 | 55 |
XML | 1 | 0 | 0 | 24 |
m4 | 1 | 4 | 4 | 22 |
SVG | 4 | 0 | 0 | 16 |
Pascal | 1 | 5 | 15 | 14 |
Bourne Again Shell | 1 | 5 | 0 | 13 |
INI | 2 | 0 | 0 | 3 |
DOS Batch | 1 | 2 | 0 | 2 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 5.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 232.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 700 | |
Interfaces | 63 | |
Traits | 26 | |
Classes | 1,078 | |
▷ Abstract classes | 32 | 2.97% |
▷ Concrete classes | 1,046 | 97.03% |
▷ Final classes | 59 | 5.64% |
Methods | 3,626 | |
▷ Static methods | 641 | 17.68% |
▷ Public methods | 2,688 | 74.13% |
▷ Protected methods | 279 | 7.69% |
▷ Private methods | 659 | 18.17% |
Functions | 627 | |
▷ Named functions | 207 | 33.01% |
▷ Anonymous functions | 420 | 66.99% |
Constants | 307 | |
▷ Global constants | 10 | 3.26% |
▷ Class constants | 297 | 96.74% |
▷ Public constants | 280 | 94.28% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/loading-bg-green.png | 0.57KB | 0.64KB | 0.00% |
assets/img/loading-bg-gray.png | 0.65KB | 0.68KB | 0.00% |