Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.36MB] [CPU: ▼432.12ms] Passed 4 tests
This is a short check of server-side resources used by WP Custom Emails
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.13 ▲0.30 | 37.37 ▲6.16 |
Dashboard /wp-admin | 3.48 ▲0.43 | 44.87 ▼7.91 |
Posts /wp-admin/edit.php | 3.53 ▲0.43 | 47.01 ▲0.01 |
Add New Post /wp-admin/post-new.php | 5.79 ▲0.35 | 96.61 ▼1,716.79 |
Media Library /wp-admin/upload.php | 3.37 ▲0.36 | 35.81 ▼3.79 |
WP Custom Emails /wp-admin/options-general.php?page=wp-custom-emails | 3.35 | 27.85 |
Server storage [IO: ▲0.10MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 1 new option
New WordPress options |
---|
wtbp_ce_settings |
Browser metrics Passed 4 tests
Checking browser requirements for WP Custom Emails
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲112 | 16.42 ▲0.75 | 11.50 ▲2.67 | 47.85 ▲0.45 |
Dashboard /wp-admin | 2,975 ▲44 | 5.89 ▼0.15 | 143.65 ▼7.20 | 112.18 ▼18.22 |
Posts /wp-admin/edit.php | 2,741 ▲2 | 2.84 ▲0.12 | 67.36 ▼1.68 | 88.66 ▲1.44 |
Add New Post /wp-admin/post-new.php | 1,503 ▼112 | 18.60 ▼2.75 | 412.49 ▲149.22 | 115.33 ▲11.53 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.04 ▲0.01 | 161.84 ▲6.94 | 121.13 ▲2.90 |
WP Custom Emails /wp-admin/options-general.php?page=wp-custom-emails | 1,114 | 2.34 | 57.70 | 76.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 1 option in the database
- wtbp_ce_settings
Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
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
8 plugin tags: trackback, notifications, comment, pingback, customize...
wp-custom-emails/wp-custom-emails.php Passed 13 tests
The main PHP file in "WP Custom Emails" ver. 1.2.2 adds more information about the plugin and also serves as the entry point for this plugin
47 characters long description:
Easily customize WordPress notification emails.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,733 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 585 | 324 | 1,592 |
JavaScript | 1 | 44 | 16 | 70 |
CSS | 1 | 13 | 0 | 63 |
SVG | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 15.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 2.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 30 | 46.15% |
▷ Public methods | 54 | 83.08% |
▷ Protected methods | 2 | 3.08% |
▷ Private methods | 9 | 13.85% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected