84% fast-aws

Code Review | Fast AWS

WordPress plugin Fast AWS scored84%from 54 tests.

About plugin

  • Plugin page: fast-aws
  • Plugin version: 1.1.2
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3
  • WordPress version: 6.3.1
  • First release: Dec 10, 2019
  • Latest release: Aug 10, 2023
  • Number of updates: 10
  • Update frequency: every 133.9 days
  • Top authors: fastflow (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /632 total downloads

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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.05MB] [CPU: ▼4.71ms] Passed 4 tests

An overview of server-side resources used by Fast AWS
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0638.37 ▼4.20
Dashboard /wp-admin3.36 ▲0.0544.26 ▼7.27
Posts /wp-admin/edit.php3.41 ▲0.0543.82 ▼1.65
Add New Post /wp-admin/post-new.php5.94 ▲0.0584.16 ▼5.71
Media Library /wp-admin/upload.php3.28 ▲0.0534.27 ▼0.38

Server storage [IO: ▲14.15MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 1,250 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Fast AWS
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2914.45 ▲0.071.73 ▼0.3140.86 ▼2.43
Dashboard /wp-admin2,203 ▲295.79 ▲0.71104.47 ▼18.7841.43 ▼5.69
Posts /wp-admin/edit.php2,089 ▲32.04 ▲0.0233.72 ▼3.3234.54 ▼0.70
Add New Post /wp-admin/post-new.php1,539 ▲623.10 ▼0.26664.78 ▼12.8656.58 ▼2.25
Media Library /wp-admin/upload.php1,391 ▲34.22 ▲0.0594.41 ▼16.8643.46 ▼0.64

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
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts

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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 516× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/fast-aws/lib/Aws/AppMesh/Exception/AppMeshException.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/fast-aws/lib/Aws/Textract/TextractClient.php:21
    • > PHP Fatal error
      Uncaught Error: Interface 'Aws\\MonitoringEventsInterface' not found in wp-content/plugins/fast-aws/lib/Aws/Exception/CouldNotCreateChecksumException.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/fast-aws/lib/GuzzleHttp/Promise/AggregateException.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/fast-aws/lib/Aws/Iot/IotClient.php:366
    • > PHP Fatal error
      Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/fast-aws/lib/Aws/LakeFormation/LakeFormationClient.php:35
    • > PHP Fatal error
      Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/fast-aws/lib/Aws/Glacier/GlacierClient.php:85
    • > PHP Fatal error
      Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/fast-aws/lib/Aws/ServiceCatalog/Exception/ServiceCatalogException.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/fast-aws/lib/Aws/KinesisAnalytics/Exception/KinesisAnalyticsException.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/fast-aws/lib/Aws/WorkMail/WorkMailClient.php:75

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
  • Screenshots: Screenshot #1 (Add your AWS key pair and choose the endpoint region for your files) image missing
You can look at the official readme.txt

fast-aws/fast-aws.php Passed 13 tests

The main file in "Fast AWS" v. 1.1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
23 characters long description:
AWS addon for Fast Flow

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected35,700 lines of code in 1,249 files:
LanguageFilesBlank linesComment linesLines of code
PHP1,2455,79227,67031,255
Markdown41,76404,445

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity5.55
▷ Minimum class complexity1.00
▷ Maximum class complexity82.00
Average method complexity2.41
▷ Minimum method complexity1.00
▷ Maximum method complexity27.00
Code structure
Namespaces410
Interfaces34
Traits16
Classes621
▷ Abstract classes101.61%
▷ Concrete classes61198.39%
▷ Final classes121.96%
Methods2,119
▷ Static methods29213.78%
▷ Public methods1,44768.29%
▷ Protected methods1085.10%
▷ Private methods56426.62%
Functions410
▷ Named functions7418.05%
▷ Anonymous functions33681.95%
Constants188
▷ Global constants00.00%
▷ Class constants188100.00%
▷ Public constants188100.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
PNG images were not found in this plugin