Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼12.59ms] Passed 4 tests
This is a short check of server-side resources used by DM Confirm Email
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 38.98 ▼4.80 |
Dashboard /wp-admin | 3.46 ▲0.12 | 47.69 ▼22.47 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 53.54 ▲5.29 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 85.97 ▼20.59 |
Media Library /wp-admin/upload.php | 3.38 ▲0.16 | 34.21 ▼2.49 |
DM Confirm Email /wp-admin/options-general.php?page=dm_confirm_email_options | 3.35 | 30.17 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_dmec |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
dmec |
db_upgraded |
dmec_dbversion |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by DM Confirm Email
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.33 ▼1.23 | 1.55 ▼0.34 | 40.47 ▼6.55 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼0.01 | 113.31 ▼7.47 | 43.68 ▼2.09 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 2.01 ▼0.03 | 36.77 ▼0.17 | 34.91 ▼2.38 |
Add New Post /wp-admin/post-new.php | 1,556 ▲42 | 18.32 ▲0.81 | 648.77 ▼63.89 | 64.19 ▲16.78 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.38 ▲0.19 | 105.81 ▼7.28 | 42.43 ▼4.24 |
DM Confirm Email /wp-admin/options-general.php?page=dm_confirm_email_options | 1,084 | 2.08 | 28.69 | 30.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_dmec
- The uninstall procedure has failed, leaving 8 options in the database
- can_compress_scripts
- dmec
- widget_recent-comments
- dmec_dbversion
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/dm-confirm-email/dm-confirm-email.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: security, register, spam, email, protect...
dm-confirm-email/dm-confirm-email.php 92% from 13 tests
"DM Confirm Email" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 166 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin777 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 173 | 308 | 764 |
JavaScript | 1 | 5 | 5 | 10 |
CSS | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 9.29 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 3 | 6.82% |
▷ Public methods | 32 | 72.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 27.27% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin