Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.25MB] [CPU: ▼2.01ms] Passed 4 tests
An overview of server-side resources used by FS Email Tools
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 42.39 ▲0.63 |
Dashboard /wp-admin | 3.60 ▲0.30 | 52.34 ▼1.41 |
Posts /wp-admin/edit.php | 3.65 ▲0.30 | 50.99 ▼0.14 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 88.80 ▼7.11 |
Media Library /wp-admin/upload.php | 3.46 ▲0.24 | 36.24 ▲4.58 |
Email Tools /wp-admin/tools.php?page=fs-email-tools | 3.43 | 36.03 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 34 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_fs_email_logs |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
fs_email_tools_db_version |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for FS Email Tools
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.26 ▼0.99 | 4.80 ▲3.00 | 43.36 ▼1.27 |
Dashboard /wp-admin | 2,213 ▲31 | 5.88 ▲0.96 | 98.65 ▼10.01 | 39.07 ▼2.42 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.04 ▲0.00 | 36.57 ▼1.35 | 35.57 ▲0.14 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.29 ▲0.07 | 693.67 ▲23.06 | 57.89 ▼1.95 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.22 ▲0.04 | 101.63 ▼0.18 | 45.43 ▼2.92 |
Email Tools /wp-admin/tools.php?page=fs-email-tools | 1,002 | 2.55 | 47.93 | 28.99 |
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
You still need to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_fs_email_logs
- This plugin does not fully uninstall, leaving 7 options in the database
- fs_email_tools_db_version
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 take a closer look at the following
- 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/email-tools/src/WP/Admin/ListTables/EmailLogsListTable.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Fsylum\\EmailTools\\Contracts\\Service' not found in wp-content/plugins/email-tools/src/WP/Admin/Settings.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/email-tools/templates/tabs/test-email.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/email-tools/fs-email-tools.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Fsylum\\EmailTools\\Contracts\\Service' not found in wp-content/plugins/email-tools/src/WP/Ajax.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Fsylum\\EmailTools\\Contracts\\Service' not found in wp-content/plugins/email-tools/src/WP/Mail.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Fsylum\\EmailTools\\Contracts\\Service' not found in wp-content/plugins/email-tools/src/WP/Cron.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Fsylum\\EmailTools\\Contracts\\Service' not found in wp-content/plugins/email-tools/src/WP/Admin/Page.php:10
- > PHP Fatal error
Uncaught Error: Class 'Fsylum\\EmailTools\\WP\\Admin\\ListTables\\EmailLogsListTable' not found in wp-content/plugins/email-tools/templates/tabs/email-logs.php:6
- > PHP Fatal error
Uncaught Error: Interface 'Fsylum\\EmailTools\\Contracts\\Service' not found in wp-content/plugins/email-tools/src/WP/Asset.php:8
- > PHP Fatal error
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
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 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
3 plugin tags: mail, developer tool, email
email-tools/fs-email-tools.php 69% from 13 tests
The entry point to "FS Email Tools" version 1.2.4 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.9" instead of "5.6")
- Main file name: The principal plugin file should be the same as the plugin slug ("email-tools.php" instead of "fs-email-tools.php")
- Requires PHP: Required version must be the same as the one declared in readme.txt ("8.0" instead of "7.3")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 169 characters long)
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 detected1,710 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 377 | 296 | 1,699 |
JSON | 2 | 0 | 0 | 9 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 11.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 108 | |
▷ Static methods | 27 | 25.00% |
▷ Public methods | 100 | 92.59% |
▷ Protected methods | 2 | 1.85% |
▷ Private methods | 6 | 5.56% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 15 | |
▷ Global constants | 4 | 26.67% |
▷ Class constants | 11 | 73.33% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin