94% admin-atlex-cloud

Code Review | Admin ATLEX Cloud

WordPress plugin Admin ATLEX Cloud scored 94% from 54 tests.

About plugin

  • Plugin page: admin-atlex-cloud
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-5.1.1
  • WordPress version: 5.9.2
  • First release: Apr 2, 2019
  • Latest release: Apr 12, 2019
  • Number of updates: 8
  • Update frequency: every 1.4 days
  • Top authors: atlexcloud (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,740 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0351.86 ▲0.97
Dashboard /wp-admin3.44 ▲0.0331.77 ▼3.38
Posts /wp-admin/edit.php3.67 ▲0.0334.11 ▼2.25
Add New Post /wp-admin/post-new.php6.93 ▼0.0792.94 ▼1,164.01
Media Library /wp-admin/upload.php3.32 ▲0.0224.20 ▲2.36
ATLEX settings /wp-admin/options-general.php?page=atlex_cloud_options3.3523.23
ATLEX cloud /wp-admin/tools.php?page=atlex_cloud_tools3.2922.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,773 ▲2916.22 ▲0.625.81 ▼0.072.31 ▲0.29
Dashboard /wp-admin2,902 ▲426.13 ▲0.00113.58 ▼13.80152.20 ▼17.47
Posts /wp-admin/edit.php2,701 ▲73.23 ▼0.1363.63 ▼1.13139.61 ▼52.19
Add New Post /wp-admin/post-new.php1,624 ▼3719.39 ▲3.30394.98 ▼3.55152.83 ▲0.82
Media Library /wp-admin/upload.php1,705 ▲75.56 ▲0.02139.34 ▲7.04188.99 ▼2.02
ATLEX settings /wp-admin/options-general.php?page=atlex_cloud_options1,3002.4252.98110.90
ATLEX cloud /wp-admin/tools.php?page=atlex_cloud_tools9812.5051.7387.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

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


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:
LanguageFilesBlank linesComment linesLines of code
Bourne Again Shell10012

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 code0.32
Average class complexity4.32
▷ Minimum class complexity1.00
▷ Maximum class complexity91.00
Average method complexity2.07
▷ Minimum method complexity1.00
▷ Maximum method complexity40.00
Code structure
▷ Abstract classes453.25%
▷ Concrete classes1,34096.75%
▷ Final classes100.75%
▷ Static methods3988.30%
▷ Public methods4,14286.38%
▷ Protected methods4018.36%
▷ Private methods2525.26%
▷ Named functions5622.76%
▷ Anonymous functions19077.24%
▷ Global constants20.17%
▷ Class constants1,20099.83%
▷ Public constants1,200100.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
FileSize - originalSize - compressedSavings
assets/img/cloud-tool.png0.60KB0.56KB▼ 6.19%