Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/nexlogiq-amazon-s3-links-generator/nex-aws-link-generate.php+29
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.57MB] [CPU: ▼48.88ms] Passed 4 tests
Server-side resources used by NexLogiQ Amazon S3 Links Generator
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.42 ▼1.04 | 7.73 ▼32.33 |
Dashboard /wp-admin | 2.44 ▼0.86 | 11.78 ▼38.85 |
Posts /wp-admin/edit.php | 2.44 ▼0.92 | 11.38 ▼40.70 |
Add New Post /wp-admin/post-new.php | 2.44 ▼3.45 | 9.64 ▼83.63 |
Media Library /wp-admin/upload.php | 2.44 ▼0.79 | 10.51 ▼25.21 |
All AWS Links /wp-admin/edit.php?post_type=nex_aws_link | 2.44 | 10.27 |
NexLogiQ AWS /wp-admin/options-general.php?page=nex-aws-link | 2.44 | 11.31 |
Add New /wp-admin/post-new.php?post_type=nex_aws_link | 2.44 | 9.96 |
Server storage [IO: ▲16.70MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 1,514 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for NexLogiQ Amazon S3 Links Generator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲37 | 14.24 ▼0.11 | 1.67 ▼0.09 | 44.47 ▲3.13 |
Dashboard /wp-admin | 2,226 ▲46 | 5.59 ▼0.08 | 85.26 ▼6.74 | 41.00 ▲2.02 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 2.00 ▼0.03 | 40.19 ▲0.48 | 36.35 ▼2.35 |
Add New Post /wp-admin/post-new.php | 1,561 ▲24 | 17.99 ▼0.27 | 647.26 ▼12.02 | 58.54 ▼2.61 |
Media Library /wp-admin/upload.php | 1,434 ▲31 | 4.15 ▼0.00 | 102.74 ▼1.33 | 46.86 ▲2.26 |
All AWS Links /wp-admin/edit.php?post_type=nex_aws_link | 1,095 | 1.96 | 30.06 | 33.56 |
NexLogiQ AWS /wp-admin/options-general.php?page=nex-aws-link | 820 | 2.03 | 25.06 | 27.06 |
Add New /wp-admin/post-new.php?post_type=nex_aws_link | 1,495 | 2.49 | 50.17 | 58.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/nexlogiq-amazon-s3-links-generator/nex-aws-link-generate.php+29
Trying to access array offset on value of type bool
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 10 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nex_aws_link
- > Notice in wp-content/plugins/nexlogiq-amazon-s3-links-generator/nex-aws-link-generate.php+30
Trying to access array offset on value of type bool
SRP 0% 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
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/nexlogiq-amazon-s3-links-generator/vendor/bin/jp.php
- > /wp-content/plugins/nexlogiq-amazon-s3-links-generator/vendor/mtdowling/jmespath.php/bin/jp.php
- 619× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/nexlogiq-amazon-s3-links-generator/vendor/aws/aws-sdk-php/src/ApplicationInsights/ApplicationInsightsClient.php:63
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/nexlogiq-amazon-s3-links-generator/vendor/aws/aws-sdk-php/src/OpsWorks/OpsWorksClient.php:158
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\ClientInterface' not found in wp-content/plugins/nexlogiq-amazon-s3-links-generator/vendor/guzzlehttp/guzzle/src/Client.php:13
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/nexlogiq-amazon-s3-links-generator/vendor/aws/aws-sdk-php/src/Sts/StsClient.php:30
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/nexlogiq-amazon-s3-links-generator/vendor/aws/aws-sdk-php/src/Support/SupportClient.php:38
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/nexlogiq-amazon-s3-links-generator/vendor/aws/aws-sdk-php/src/CodeCommit/CodeCommitClient.php:164
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/nexlogiq-amazon-s3-links-generator/vendor/aws/aws-sdk-php/src/CloudTrail/CloudTrailClient.php:46
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/nexlogiq-amazon-s3-links-generator/vendor/aws/aws-sdk-php/src/DatabaseMigrationService/Exception/DatabaseMigrationServiceException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AbstractConfigurationProvider' not found in wp-content/plugins/nexlogiq-amazon-s3-links-generator/vendor/aws/aws-sdk-php/src/Retry/ConfigurationProvider.php:45
- > PHP Fatal error
Uncaught Error: Interface 'Aws\\Crypto\\Cipher\\CipherMethod' not found in wp-content/plugins/nexlogiq-amazon-s3-links-generator/vendor/aws/aws-sdk-php/src/Crypto/Cipher/Cbc.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Screenshots: Add a description for screenshot #2 in nexlogiq-amazon-s3-links-generator/assets to your readme.txt
nexlogiq-amazon-s3-links-generator/nex-aws-link-generate.php 85% from 13 tests
Analyzing the main PHP file in "NexLogiQ Amazon S3 Links Generator" version 1.0.0
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("nexlogiq-amazon-s3-links-generator.php" instead of "nex-aws-link-generate.php")
Code Analysis 5% from 3 tests
File types 0% from 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
Almost there! Just fix the following issues
- Do not include executable or dangerous files in your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/nexlogiq-amazon-s3-links-generator/vendor/bin/jp.php.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,448 | 6,667 | 32,235 | 37,317 |
JSON | 32 | 8 | 0 | 6,712 |
Markdown | 16 | 1,138 | 0 | 3,538 |
reStructuredText | 1 | 35 | 29 | 59 |
YAML | 1 | 4 | 0 | 27 |
make | 2 | 10 | 0 | 22 |
XML | 1 | 3 | 0 | 14 |
DOS Batch | 1 | 0 | 0 | 4 |
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 code | 0.38 |
Average class complexity | 5.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 491 | |
Interfaces | 42 | |
Traits | 20 | |
Classes | 725 | |
▷ Abstract classes | 11 | 1.52% |
▷ Concrete classes | 714 | 98.48% |
▷ Final classes | 14 | 1.96% |
Methods | 2,364 | |
▷ Static methods | 377 | 15.95% |
▷ Public methods | 1,665 | 70.43% |
▷ Protected methods | 117 | 4.95% |
▷ Private methods | 582 | 24.62% |
Functions | 475 | |
▷ Named functions | 128 | 26.95% |
▷ Anonymous functions | 347 | 73.05% |
Constants | 214 | |
▷ Global constants | 7 | 3.27% |
▷ Class constants | 207 | 96.73% |
▷ Public constants | 207 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected