Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.29ms] Passed 4 tests
Analyzing server-side resources used by Download S3 Content
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 47.69 ▲4.42 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.83 ▼4.74 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.85 ▼4.88 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 81.68 ▼26.66 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 37.79 ▲3.12 |
Server storage [IO: ▲7.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 706 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_dcs3_content_downloader |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
s3_content_db_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Download S3 Content
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲19 | 14.28 ▼0.25 | 1.83 ▼0.36 | 46.27 ▼4.35 |
Dashboard /wp-admin | 2,214 ▲34 | 5.51 ▼0.12 | 87.52 ▼10.29 | 40.84 ▼8.19 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.02 ▲0.05 | 35.42 ▼6.60 | 36.55 ▼7.26 |
Add New Post /wp-admin/post-new.php | 1,539 ▲22 | 23.05 ▲4.16 | 679.98 ▲232.39 | 53.69 ▲10.72 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.20 ▲0.03 | 93.84 ▼13.97 | 46.11 ▲0.75 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- s3_content_db_version
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 50% 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 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
Almost there! Just fix the following items
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/download-s3-content/config.php
- > /wp-content/plugins/download-s3-content/data.php
- > /wp-content/plugins/download-s3-content/register.php
- > /wp-content/plugins/download-s3-content/s3-content-downloader.php
- > /wp-content/plugins/download-s3-content/s3-settings.php
- 297× 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/download-s3-content/vendor/aws/Aws/Sfn/Exception/SfnException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/download-s3-content/vendor/aws/Aws/Kinesis/Exception/KinesisException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/download-s3-content/vendor/aws/Aws/CognitoSync/Exception/CognitoSyncException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/download-s3-content/vendor/aws/Aws/Kinesis/KinesisClient.php:48
- > PHP Fatal error
Uncaught Error: Class 'Aws\\DynamoDb\\StandardSessionConnection' not found in wp-content/plugins/download-s3-content/vendor/aws/Aws/DynamoDb/LockingSessionConnection.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/download-s3-content/vendor/aws/GuzzleHttp/Psr7/NoSeekStream.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/download-s3-content/vendor/aws/Aws/Batch/Exception/BatchException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Api\\Parser\\AbstractRestParser' not found in wp-content/plugins/download-s3-content/vendor/aws/Aws/Api/Parser/RestJsonParser.php:11
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Api\\AbstractModel' not found in wp-content/plugins/download-s3-content/vendor/aws/Aws/Api/Service.php:11
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/download-s3-content/vendor/aws/Aws/CognitoIdentity/Exception/CognitoIdentityException.php:9
- > 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 errors were detected
Optimizations
Plugin configuration 96% 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: s3, s3objects, aws, s3bucket, s3 downloader...
download-s3-content/s3-content-downloader.php 92% from 13 tests
The entry point to "Download S3 Content" version 1.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("download-s3-content.php" instead of "s3-content-downloader.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected26,066 lines of code in 705 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 701 | 4,453 | 17,897 | 23,938 |
Markdown | 4 | 704 | 0 | 2,128 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 6.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 217 | |
Interfaces | 24 | |
Traits | 9 | |
Classes | 397 | |
▷ Abstract classes | 6 | 1.51% |
▷ Concrete classes | 391 | 98.49% |
▷ Final classes | 10 | 2.56% |
Methods | 1,716 | |
▷ Static methods | 202 | 11.77% |
▷ Public methods | 1,188 | 69.23% |
▷ Protected methods | 70 | 4.08% |
▷ Private methods | 458 | 26.69% |
Functions | 361 | |
▷ Named functions | 71 | 19.67% |
▷ Anonymous functions | 290 | 80.33% |
Constants | 130 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 130 | 100.00% |
▷ Public constants | 130 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin