Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/peek-uploader-to-s3-for-wpdm/includes/S3.php+2573
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.27ms] Passed 4 tests
Server-side resources used by Peak Uploader to S3 for WPDM
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.71 ▼9.15 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.08 ▼3.53 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.92 ▲0.37 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.53 ▼4.31 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.10 ▼0.07 |
Server storage [IO: ▲7.69MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 729 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Peak Uploader to S3 for WPDM
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▼0.26 | 1.60 ▲0.01 | 43.70 ▼3.16 |
Dashboard /wp-admin | 2,192 ▲15 | 5.62 ▲0.02 | 92.84 ▲2.97 | 43.40 ▲4.86 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.06 | 38.04 ▲1.33 | 35.38 ▼1.56 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.15 ▼0.38 | 667.06 ▲0.94 | 67.28 ▲12.91 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.17 ▼0.03 | 95.39 ▼10.51 | 45.89 ▼4.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/peek-uploader-to-s3-for-wpdm/tpls/s3-uploader-page/s3-uploader-footer.php
- > /wp-content/plugins/peek-uploader-to-s3-for-wpdm/widgets/ajax.php
- > /wp-content/plugins/peek-uploader-to-s3-for-wpdm/tpls/s3-uploader-page/s3-uploader-head.php
- 307× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Api\\Parser\\AbstractParser' not found in wp-content/plugins/peek-uploader-to-s3-for-wpdm/includes/aws/Aws/S3/RetryableMalformedResponseParser.php:15
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/peek-uploader-to-s3-for-wpdm/includes/aws/Aws/LexRuntimeService/LexRuntimeServiceClient.php:13
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/peek-uploader-to-s3-for-wpdm/includes/aws/Aws/ConfigService/Exception/ConfigServiceException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/peek-uploader-to-s3-for-wpdm/includes/aws/Aws/Appstream/AppstreamClient.php:53
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/peek-uploader-to-s3-for-wpdm/includes/aws/Aws/Lightsail/LightsailClient.php:105
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Api\\Serializer\\QueryParamBuilder' not found in wp-content/plugins/peek-uploader-to-s3-for-wpdm/includes/aws/Aws/Api/Serializer/Ec2ParamBuilder.php:10
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/peek-uploader-to-s3-for-wpdm/includes/aws/Aws/CloudWatchLogs/CloudWatchLogsClient.php:66
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/peek-uploader-to-s3-for-wpdm/includes/aws/GuzzleHttp/Promise/RejectedPromise.php:10
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/peek-uploader-to-s3-for-wpdm/includes/aws/Aws/CodeDeploy/Exception/CodeDeployException.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Aws\\Credentials\\CredentialsInterface' not found in wp-content/plugins/peek-uploader-to-s3-for-wpdm/includes/aws/Aws/Credentials/Credentials.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: distribution, amazon s3, download manager, upload, bucket...
peek-uploader-to-s3-for-wpdm/peak-uploader-to-s3-for-wpdm.php 85% from 13 tests
This is the main PHP file of "Peak Uploader to S3 for WPDM" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("peek-uploader-to-s3-for-wpdm.php" instead of "peak-uploader-to-s3-for-wpdm.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 253 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected29,005 lines of code in 727 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 721 | 4,961 | 19,155 | 26,687 |
Markdown | 4 | 772 | 0 | 2,251 |
JavaScript | 1 | 5 | 39 | 62 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 7.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 268.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 221 | |
Interfaces | 24 | |
Traits | 9 | |
Classes | 411 | |
▷ Abstract classes | 7 | 1.70% |
▷ Concrete classes | 404 | 98.30% |
▷ Final classes | 11 | 2.72% |
Methods | 1,834 | |
▷ Static methods | 254 | 13.85% |
▷ Public methods | 1,280 | 69.79% |
▷ Protected methods | 74 | 4.03% |
▷ Private methods | 480 | 26.17% |
Functions | 360 | |
▷ Named functions | 70 | 19.44% |
▷ Anonymous functions | 290 | 80.56% |
Constants | 143 | |
▷ Global constants | 1 | 0.70% |
▷ Class constants | 142 | 99.30% |
▷ Public constants | 142 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin