Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲4.89MB] [CPU: ▲26.72ms] Passed 4 tests
Analyzing server-side resources used by AutoMail - Event-driven Email Automation. Easy email Notification and Auto-reply.
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.49 ▲5.03 | 70.76 ▲32.33 |
Dashboard /wp-admin | 8.51 ▲5.21 | 78.38 ▲31.44 |
Posts /wp-admin/edit.php | 8.51 ▲5.16 | 83.55 ▲35.16 |
Add New Post /wp-admin/post-new.php | 10.06 ▲4.17 | 108.96 ▲10.36 |
Media Library /wp-admin/upload.php | 8.51 ▲5.28 | 67.21 ▲32.75 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 8.51 | 61.21 |
Server storage [IO: ▲3.64MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 186 new files
Database: no new tables, 11 new options
New WordPress options |
---|
fs_active_plugins |
widget_theysaidso_widget |
widget_recent-posts |
fs_gdpr |
autoMail_installed |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
fs_debug_mode |
... |
Browser metrics Passed 4 tests
A check of browser resources used by AutoMail - Event-driven Email Automation. Easy email Notification and Auto-reply.
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,944 ▲198 | 13.49 ▼1.08 | 7.91 ▲6.14 | 28.73 ▼12.80 |
Dashboard /wp-admin | 2,242 ▲50 | 5.85 ▲0.89 | 106.43 ▼2.32 | 45.49 ▼0.45 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.14 ▲0.12 | 34.01 ▼3.13 | 37.13 ▲2.40 |
Add New Post /wp-admin/post-new.php | 1,536 ▲6 | 22.91 ▲4.51 | 671.08 ▲59.98 | 51.98 ▲3.14 |
Media Library /wp-admin/upload.php | 1,427 ▲42 | 4.22 ▲0.05 | 97.01 ▼4.26 | 43.65 ▼1.27 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,083 | 1.84 | 23.34 | 27.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/automail/includes/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 11 options in the database
- fs_debug_mode
- fs_gdpr
- can_compress_scripts
- autoMail_installed
- theysaidso_admin_options
- widget_theysaidso_widget
- fs_active_plugins
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/automail/public/partials/automail-public-display.php
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/automail/admin/partials/automail-new-automaton.php:13
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/automail/includes/class-automail-list-table.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/automail/admin/partials/automail-edit-automaton.php:13
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/automail/includes/class-automail-list-table.php on line 10
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/automail/includes/class-automail-list-table.php on line 10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: email, autoresponder, auto-reply, woocommerce, mail
automail/automail.php 92% from 13 tests
"AutoMail - Event-driven Email Automation. Easy email Notification and Auto-reply." version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Plugin Name: Please don't use more than 70 characters for the plugin name (currently 81 characters long)
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin44,030 lines of code in 140 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 121 | 7,740 | 17,741 | 34,354 |
JavaScript | 6 | 1,190 | 1,581 | 9,662 |
CSS | 13 | 0 | 8 | 14 |
PHP code 0% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 2,910)
- Method cyclomatic complexity should be reduced to less than 100 (currently 335)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.70 |
Average class complexity | 106.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 5.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 335.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 55 | |
▷ Abstract classes | 2 | 3.64% |
▷ Concrete classes | 53 | 96.36% |
▷ Final classes | 0 | 0.00% |
Methods | 1,231 | |
▷ Static methods | 176 | 14.30% |
▷ Public methods | 886 | 71.97% |
▷ Protected methods | 15 | 1.22% |
▷ Private methods | 330 | 26.81% |
Functions | 97 | |
▷ Named functions | 97 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 124 | |
▷ Global constants | 99 | 79.84% |
▷ Class constants | 25 | 20.16% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
includes/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |