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: ▼10.18ms] Passed 4 tests
Analyzing server-side resources used by Better Email
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.52 ▼4.31 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.90 ▼5.94 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.27 ▼3.96 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 87.33 ▼26.51 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 42.06 ▲5.86 |
Ignite Online /wp-admin/admin.php?page=ignite-settings | 3.26 | 32.93 |
Better Mail /wp-admin/admin.php?page=ignite-better-mail | 3.21 | 33.86 |
Server storage [IO: ▲10.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 1,347 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Better Email
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲110 | 13.26 ▼1.15 | 1.77 ▲0.08 | 46.83 ▲4.35 |
Dashboard /wp-admin | 2,256 ▲71 | 5.86 ▲0.98 | 104.08 ▼9.28 | 38.04 ▼7.88 |
Posts /wp-admin/edit.php | 2,148 ▲59 | 2.05 ▼0.00 | 40.18 ▲3.00 | 38.15 ▲2.55 |
Add New Post /wp-admin/post-new.php | 1,379 ▼149 | 16.97 ▼5.97 | 579.55 ▼95.23 | 53.31 ▼11.29 |
Media Library /wp-admin/upload.php | 1,447 ▲65 | 4.25 ▲0.00 | 100.58 ▼20.45 | 38.78 ▼11.22 |
Ignite Online /wp-admin/admin.php?page=ignite-settings | 961 | 2.06 | 23.98 | 24.93 |
Better Mail /wp-admin/admin.php?page=ignite-better-mail | 960 | 2.04 | 26.09 | 25.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 505× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/ignite-aws-ses/vendor/aws/aws-sdk-php/src/CloudFormation/Exception/CloudFormationException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ignite-aws-ses/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/ignite-aws-ses/vendor/aws/aws-sdk-php/src/Rekognition/Exception/RekognitionException.php:9
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/ignite-aws-ses/vendor/composer/installers/tests/Composer/Installers/Test/AsgardInstallerTest.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/ignite-aws-ses/vendor/aws/aws-sdk-php/src/ServerlessApplicationRepository/Exception/ServerlessApplicationRepositoryException.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Aws\\AwsClientInterface' not found in wp-content/plugins/ignite-aws-ses/vendor/aws/aws-sdk-php/src/S3/S3ClientInterface.php:10
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ignite-aws-ses/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/ignite-aws-ses/vendor/aws/aws-sdk-php/src/CloudHsm/Exception/CloudHsmException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/ignite-aws-ses/vendor/aws/aws-sdk-php/src/OpsWorksCM/Exception/OpsWorksCMException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/ignite-aws-ses/vendor/aws/aws-sdk-php/src/Sqs/Exception/SqsException.php:9
- > 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 uses markdown syntax to describe your plugin to the world
5 plugin tags: email, ignite, mailtrap, aws, ses
ignite-aws-ses/ignite-better-mail.php 92% from 13 tests
This is the main PHP file of "Better Email" 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
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("ignite-aws-ses.php" instead of "ignite-better-mail.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
No dangerous file extensions were detected39,779 lines of code in 1,097 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,041 | 5,526 | 22,501 | 29,500 |
JSON | 30 | 8 | 0 | 6,493 |
Markdown | 16 | 1,048 | 0 | 3,602 |
reStructuredText | 1 | 35 | 29 | 59 |
YAML | 3 | 11 | 0 | 40 |
XML | 2 | 5 | 0 | 37 |
JavaScript | 1 | 0 | 0 | 22 |
make | 2 | 10 | 0 | 22 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 5.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 2.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 302 | |
Interfaces | 27 | |
Traits | 13 | |
Classes | 606 | |
▷ Abstract classes | 10 | 1.65% |
▷ Concrete classes | 596 | 98.35% |
▷ Final classes | 10 | 1.68% |
Methods | 2,052 | |
▷ Static methods | 216 | 10.53% |
▷ Public methods | 1,448 | 70.57% |
▷ Protected methods | 129 | 6.29% |
▷ Private methods | 475 | 23.15% |
Functions | 387 | |
▷ Named functions | 73 | 18.86% |
▷ Anonymous functions | 314 | 81.14% |
Constants | 148 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 148 | 100.00% |
▷ Public constants | 148 | 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
PNG images were not found in this plugin