Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.92ms] Passed 4 tests
Server-side resources used by Admin ATLEX Cloud
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.91 ▼6.61 |
Dashboard /wp-admin | 3.33 ▼0.01 | 53.33 ▼10.32 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 50.95 ▲3.85 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 88.44 ▼8.32 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 33.65 ▼2.42 |
ATLEX cloud /wp-admin/tools.php?page=atlex_cloud_tools | 3.22 | 29.61 |
ATLEX settings /wp-admin/options-general.php?page=atlex_cloud_options | 3.28 | 34.36 |
Server storage [IO: ▲12.57MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 1,656 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Admin ATLEX Cloud
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲11 | 14.72 ▲0.15 | 1.56 ▼0.30 | 42.03 ▼0.52 |
Dashboard /wp-admin | 2,206 ▲32 | 5.56 ▲0.03 | 82.74 ▼8.91 | 38.30 ▼0.60 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 1.99 ▲0.01 | 35.76 ▼0.03 | 32.94 ▼5.66 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.22 ▼0.40 | 671.29 ▼23.13 | 52.13 ▼4.76 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.30 ▲0.13 | 100.58 ▼10.81 | 43.95 ▼1.89 |
ATLEX cloud /wp-admin/tools.php?page=atlex_cloud_tools | 771 | 1.99 | 25.24 | 23.02 |
ATLEX settings /wp-admin/options-general.php?page=atlex_cloud_options | 1,016 | 2.03 | 24.73 | 23.65 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Please fix the following items
- 1279× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Common\\Enum' not found in wp-content/plugins/admin-atlex-cloud/vendor/aws/aws-sdk-php/src/Aws/OpsWorks/Enum/LayerType.php:24
- > PHP Fatal error
Uncaught Error: Class 'Aws\\S3\\Exception\\S3Exception' not found in wp-content/plugins/admin-atlex-cloud/vendor/aws/aws-sdk-php/src/Aws/S3/Exception/NoLoggingStatusForKeyException.php:22
- > PHP Fatal error
Uncaught Error: Class 'JsonSchema\\Constraints\\Constraint' not found in wp-content/plugins/admin-atlex-cloud/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/SchemaConstraint.php:24
- > 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/CognitoSync/Exception/CognitoSyncException.php:10
- > 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/InvalidErrorCodeException.php:22
- > PHP Fatal error
Uncaught Error: Class 'Aws\\ElastiCache\\Exception\\ElastiCacheException' not found in wp-content/plugins/admin-atlex-cloud/vendor/aws/aws-sdk-php/src/Aws/ElastiCache/Exception/InvalidCacheClusterStateException.php:22
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Support\\Exception\\SupportException' not found in wp-content/plugins/admin-atlex-cloud/vendor/aws/aws-sdk-php/src/Aws/Support/Exception/CaseCreationLimitExceededException.php:22
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/admin-atlex-cloud/vendor/guzzlehttp/promises/src/CancellationException.php:7
- > PHP Fatal error
Uncaught Error: Class 'JsonSchema\\Exception\\RuntimeException' not found in wp-content/plugins/admin-atlex-cloud/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidSchemaMediaTypeException.php:15
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Route53\\Exception\\Route53Exception' not found in wp-content/plugins/admin-atlex-cloud/vendor/aws/aws-sdk-php/src/Aws/Route53/Exception/HealthCheckInUseException.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: restore, cdn, backup, amazone s3, cloud...
admin-atlex-cloud/atlex-cloudplugin.php 92% from 13 tests
This is the main PHP file of "Admin ATLEX Cloud" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Name the main plugin file 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
Success! There were 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
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued 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
Using a strong compression for your PNG files is a great way to speed-up 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/cloud-tool.png | 0.60KB | 0.56KB | ▼ 6.19% |
assets/img/settings.png | 0.53KB | 0.53KB | 0.00% |