Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.98ms] Passed 4 tests
An overview of server-side resources used by BuddyPress Email Template Designer - WP HTML Mail
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.01 | 47.36 ▲4.10 |
Dashboard /wp-admin | 3.58 ▲0.01 | 50.73 ▲0.24 |
Posts /wp-admin/edit.php | 3.69 ▲0.01 | 51.95 ▲0.28 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.01 | 95.28 ▼7.26 |
Media Library /wp-admin/upload.php | 3.50 ▲0.01 | 36.75 ▼5.18 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
BuddyPress Email Template Designer - WP HTML Mail: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲13 | 14.38 ▼0.18 | 1.78 ▼0.03 | 43.44 ▲0.74 |
Dashboard /wp-admin | 2,208 ▲31 | 5.66 ▲0.07 | 96.09 ▲2.60 | 42.99 ▲1.96 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 1.99 ▲0.01 | 40.36 ▲3.95 | 38.11 ▲5.50 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 17.53 ▼5.64 | 606.01 ▼87.30 | 48.47 ▼6.38 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.33 ▲0.13 | 102.55 ▼13.13 | 46.26 ▲0.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 5× PHP files trigger server errors when accessed directly:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-html-mail-buddypress/wp-html-mail-buddypress.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function Haet_Mail() in wp-content/plugins/wp-html-mail-buddypress/views/templates/buddypress-email-preview.php:10
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/wp-html-mail-buddypress/wp-html-mail-buddypress.php on line 16
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-html-mail-buddypress/wp-html-mail-buddypress.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-html-mail-buddypress/wp-html-mail-buddypress.php:41
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: mail, buddypress, html mail, template, email...
wp-html-mail-buddypress/wp-html-mail-buddypress.php Passed 13 tests
Analyzing the main PHP file in "BuddyPress Email Template Designer - WP HTML Mail" version 1.0.1
41 characters long description:
Beautiful responsive mails for BuddyPress
Code Analysis Passed 3 tests
File types Passed 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
Success! There were no dangerous files found in this plugin77 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 32 | 45 | 77 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 1 | 25.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 4 | 57.14% |
▷ Anonymous functions | 3 | 42.86% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There were not PNG files found in your plugin