Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.00ms] Passed 4 tests
Server-side resources used by SyncS3 Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.56 ▼2.12 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.16 ▼0.78 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.17 ▲1.38 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.43 ▼9.84 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.97 ▲0.75 |
Server storage [IO: ▲15.82MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 1,545 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
SyncS3 Lite: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.15 ▼1.14 | 1.88 ▼0.16 | 39.22 ▼5.96 |
Dashboard /wp-admin | 2,209 ▲21 | 4.89 ▼1.00 | 101.22 ▼4.05 | 41.85 ▼1.40 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.06 ▲0.04 | 35.00 ▼3.95 | 35.43 ▼0.99 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.21 ▼0.30 | 670.31 ▲32.24 | 50.53 ▼6.44 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.18 ▼0.06 | 96.69 ▼3.49 | 44.01 ▲0.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
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
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/syncs3/lib/bin/jp.php
- > /wp-content/plugins/syncs3/lib/mtdowling/jmespath.php/bin/jp.php
- 684× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/syncs3/lib/aws/aws-sdk-php/src/Cloud9/Cloud9Client.php:35
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/syncs3/lib/aws/aws-sdk-php/src/CostandUsageReportService/CostandUsageReportServiceClient.php:17
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/syncs3/lib/aws/aws-sdk-php/src/EBS/Exception/EBSException.php:9
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Stream\\StreamInterface' not found in wp-content/plugins/syncs3/lib/aws/aws-sdk-php/src/Handler/GuzzleV5/GuzzleStream.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/syncs3/lib/psr/http-message/src/RequestInterface.php:24
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/syncs3/lib/aws/aws-sdk-php/src/MachineLearning/Exception/MachineLearningException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/syncs3/lib/aws/aws-sdk-php/src/SesV2/Exception/SesV2Exception.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/syncs3/lib/aws/aws-sdk-php/src/WorkLink/Exception/WorkLinkException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/syncs3/lib/aws/aws-sdk-php/src/SageMaker/SageMakerClient.php:275
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/syncs3/lib/aws/aws-sdk-php/src/Inspector/InspectorClient.php:84
- > 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
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: sync, files, amazon, gravity forms, s3
syncs3/syncs3-lite.php 85% from 13 tests
"SyncS3 Lite" version 1.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages/")
- Main file name: The principal plugin file should be the same as the plugin slug ("syncs3.php" instead of "syncs3-lite.php")
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 detected46,938 lines of code in 1,532 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,494 | 6,821 | 31,291 | 37,900 |
JSON | 22 | 2 | 0 | 6,362 |
Markdown | 8 | 631 | 0 | 2,504 |
reStructuredText | 1 | 35 | 29 | 59 |
YAML | 2 | 8 | 0 | 44 |
XML | 2 | 5 | 0 | 37 |
make | 2 | 10 | 0 | 22 |
Dockerfile | 1 | 8 | 0 | 10 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 5.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 479 | |
Interfaces | 38 | |
Traits | 17 | |
Classes | 791 | |
▷ Abstract classes | 13 | 1.64% |
▷ Concrete classes | 778 | 98.36% |
▷ Final classes | 13 | 1.67% |
Methods | 2,395 | |
▷ Static methods | 352 | 14.70% |
▷ Public methods | 1,673 | 69.85% |
▷ Protected methods | 144 | 6.01% |
▷ Private methods | 578 | 24.13% |
Functions | 471 | |
▷ Named functions | 128 | 27.18% |
▷ Anonymous functions | 343 | 72.82% |
Constants | 211 | |
▷ Global constants | 9 | 4.27% |
▷ Class constants | 202 | 95.73% |
▷ Public constants | 202 | 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
There are no PNG files in this plugin