Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼292.17ms] Passed 4 tests
A check of server-side resources used by Admin ATLEX Cloud
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 51.86 ▲0.97 |
Dashboard /wp-admin | 3.44 ▲0.03 | 31.77 ▼3.38 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 34.11 ▼2.25 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.07 | 92.94 ▼1,164.01 |
Media Library /wp-admin/upload.php | 3.32 ▲0.02 | 24.20 ▲2.36 |
ATLEX settings /wp-admin/options-general.php?page=atlex_cloud_options | 3.35 | 23.23 |
ATLEX cloud /wp-admin/tools.php?page=atlex_cloud_tools | 3.29 | 22.67 |
Server storage [IO: ▲12.57MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 1,656 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Admin ATLEX Cloud: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,773 ▲29 | 16.22 ▲0.62 | 5.81 ▼0.07 | 2.31 ▲0.29 |
Dashboard /wp-admin | 2,902 ▲42 | 6.13 ▲0.00 | 113.58 ▼13.80 | 152.20 ▼17.47 |
Posts /wp-admin/edit.php | 2,701 ▲7 | 3.23 ▼0.13 | 63.63 ▼1.13 | 139.61 ▼52.19 |
Add New Post /wp-admin/post-new.php | 1,624 ▼37 | 19.39 ▲3.30 | 394.98 ▼3.55 | 152.83 ▲0.82 |
Media Library /wp-admin/upload.php | 1,705 ▲7 | 5.56 ▲0.02 | 139.34 ▲7.04 | 188.99 ▼2.02 |
ATLEX settings /wp-admin/options-general.php?page=atlex_cloud_options | 1,300 | 2.42 | 52.98 | 110.90 |
ATLEX cloud /wp-admin/tools.php?page=atlex_cloud_tools | 981 | 2.50 | 51.73 | 87.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% 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
Please fix the following
- 1279× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'phing/Task.php' (include_path='.:/usr/share/php') in wp-content/plugins/admin-atlex-cloud/vendor/guzzle/guzzle/phing/tasks/GuzzlePearPharPackageTask.php on line 9
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\EventDispatcher\\EventSubscriberInterface' not found in wp-content/plugins/admin-atlex-cloud/vendor/guzzle/guzzle/src/Guzzle/Plugin/Log/LogPlugin.php:20
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Rds\\Exception\\RdsException' not found in wp-content/plugins/admin-atlex-cloud/vendor/aws/aws-sdk-php/src/Aws/Rds/Exception/ProvisionedIopsNotAvailableInAZException.php:22
- > PHP Fatal error
Uncaught Error: Class 'Aws\\CloudTrail\\Exception\\CloudTrailException' not found in wp-content/plugins/admin-atlex-cloud/vendor/aws/aws-sdk-php/src/Aws/CloudTrail/Exception/InternalErrorException.php:22
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Common\\Facade\\Facade' not found in wp-content/plugins/admin-atlex-cloud/vendor/aws/aws-sdk-php/src/Aws/Common/Facade/facade-classes.php:27
- > PHP Fatal error
Uncaught Error: Class 'Aws\\CloudFront\\Exception\\CloudFrontException' not found in wp-content/plugins/admin-atlex-cloud/vendor/aws/aws-sdk-php/src/Aws/CloudFront/Exception/DistributionNotDisabledException.php:22
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Common\\Exception\\ServiceResponseException' not found in wp-content/plugins/admin-atlex-cloud/vendor/aws/aws-sdk-php/src/Aws/Emr/Exception/EmrException.php:24
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcherInterface' not found in wp-content/plugins/admin-atlex-cloud/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:27
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Common\\Iterator\\AwsResourceIterator' not found in wp-content/plugins/admin-atlex-cloud/vendor/aws/aws-sdk-php/src/Aws/S3/Iterator/ListBucketsIterator.php:29
- > PHP Fatal error
Uncaught Error: Class 'Aws\\CloudSearch\\Exception\\CloudSearchException' not found in wp-content/plugins/admin-atlex-cloud/vendor/aws/aws-sdk-php/src/Aws/CloudSearch/Exception/BaseException.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: restore, ftp, cloud, amazone s3, cdn...
admin-atlex-cloud/atlex-cloudplugin.php 92% from 13 tests
The main PHP script in "Admin ATLEX Cloud" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("admin-atlex-cloud.php" instead of "atlex-cloudplugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin254,552 lines of code in 1,629 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,545 | 13,752 | 48,231 | 246,401 |
Markdown | 27 | 1,542 | 0 | 5,228 |
JSON | 40 | 39 | 0 | 2,158 |
JavaScript | 2 | 66 | 1 | 352 |
XML | 7 | 37 | 11 | 277 |
YAML | 4 | 16 | 0 | 68 |
Ant | 1 | 10 | 1 | 34 |
CSS | 1 | 2 | 0 | 13 |
Bourne Again Shell | 1 | 0 | 0 | 12 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 4.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 91.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 259 | |
Interfaces | 111 | |
Traits | 7 | |
Classes | 1,385 | |
▷ Abstract classes | 45 | 3.25% |
▷ Concrete classes | 1,340 | 96.75% |
▷ Final classes | 10 | 0.75% |
Methods | 4,795 | |
▷ Static methods | 398 | 8.30% |
▷ Public methods | 4,142 | 86.38% |
▷ Protected methods | 401 | 8.36% |
▷ Private methods | 252 | 5.26% |
Functions | 246 | |
▷ Named functions | 56 | 22.76% |
▷ Anonymous functions | 190 | 77.24% |
Constants | 1,202 | |
▷ Global constants | 2 | 0.17% |
▷ Class constants | 1,200 | 99.83% |
▷ Public constants | 1,200 | 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
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/cloud-tool.png | 0.60KB | 0.56KB | ▼ 6.19% |
assets/img/settings.png | 0.53KB | 0.53KB | 0.00% |