Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼299.41ms] Passed 4 tests
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.53 ▲0.02 | 56.04 ▲4.20 |
Dashboard /wp-admin | 3.42 ▲0.01 | 32.75 ▼1.69 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 36.14 ▼8.44 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 93.51 ▼1,184.71 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 26.48 ▼2.80 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for BuddyPress Email Template Designer - WP HTML Mail
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,801 ▲79 | 15.26 ▼0.74 | 7.56 ▲2.12 | 2.43 ▲0.24 |
Dashboard /wp-admin | 2,911 ▲56 | 6.11 ▼0.05 | 129.16 ▼8.05 | 166.31 ▲2.33 |
Posts /wp-admin/edit.php | 2,710 ▲16 | 3.24 ▲0.00 | 64.04 ▼0.75 | 135.22 ▼14.28 |
Add New Post /wp-admin/post-new.php | 1,700 ▲10 | 21.39 ▲0.51 | 482.14 ▼5.26 | 161.73 ▼43.57 |
Media Library /wp-admin/upload.php | 1,714 ▲16 | 5.55 ▲0.02 | 141.10 ▲1.50 | 190.10 ▼7.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
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 fix the following items
- 5× PHP files trigger server errors when accessed directly:
- > 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
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 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 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(): 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
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: message, mail, template, email, html mail...
wp-html-mail-buddypress/wp-html-mail-buddypress.php Passed 13 tests
The main file in "BuddyPress Email Template Designer - WP HTML Mail" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
41 characters long description:
Beautiful responsive mails for BuddyPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! 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
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin