Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼8.93ms] Passed 4 tests
A check of server-side resources used by Blue Cube Email Templates
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 35.23 ▼5.34 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.00 ▼6.44 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 45.21 ▼0.31 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 83.30 ▼23.62 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 35.20 ▲0.20 |
Add New Template /wp-admin/post-new.php?post_type=bc-email-template | 3.39 | 48.80 |
Email Templates /wp-admin/edit.php?post_type=bc-email-template | 3.33 | 37.44 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Blue Cube Email Templates
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲84 | 13.21 ▼1.04 | 1.90 ▲0.10 | 37.31 ▼1.78 |
Dashboard /wp-admin | 2,233 ▲42 | 5.99 ▲0.09 | 92.41 ▼7.75 | 38.80 ▼2.04 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.01 ▲0.00 | 32.86 ▼1.21 | 35.93 ▲0.89 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 17.74 ▼5.42 | 694.47 ▲33.12 | 51.61 ▲2.26 |
Media Library /wp-admin/upload.php | 1,418 ▲36 | 4.19 ▲0.02 | 94.17 ▼3.89 | 48.70 ▲3.98 |
Add New Template /wp-admin/post-new.php?post_type=bc-email-template | 2,220 | 7.61 | 174.38 | 69.03 |
Email Templates /wp-admin/edit.php?post_type=bc-email-template | 1,086 | 1.95 | 29.70 | 27.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function BlueCube\\add_action() in wp-content/plugins/bluecube-email-templates/class/Email_Template.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Donate link: Invalid URI found ("")
bluecube-email-templates/bluecube-email-templates.php Passed 13 tests
"Blue Cube Email Templates" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
108 characters long description:
This plugin adds an email template system to your website so you can use them for programmatic email sending
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
There were no executable files found in this plugin142 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 67 | 25 | 142 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 90.00% |
▷ Protected methods | 1 | 10.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin