Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.29ms] Passed 4 tests
Analyzing server-side resources used by Custom Recovery Mode Email
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.50 ▼2.39 |
Dashboard /wp-admin | 3.31 ▼0.03 | 48.72 ▼11.28 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.01 ▼3.01 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.03 ▼20.48 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 42.24 ▲4.28 |
Recovery Mode Email /wp-admin/options-general.php?page=dm_rme_settings | 3.20 | 29.24 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Custom Recovery Mode Email: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲33 | 13.29 ▼1.01 | 1.65 ▼0.17 | 40.19 ▼1.05 |
Dashboard /wp-admin | 2,225 ▲27 | 5.84 ▲0.95 | 96.97 ▼8.71 | 35.67 ▼7.39 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.02 | 40.40 ▲3.97 | 36.13 ▲1.99 |
Add New Post /wp-admin/post-new.php | 1,550 ▲19 | 23.45 ▲0.30 | 654.45 ▼2.83 | 59.09 ▲1.49 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.13 ▼0.14 | 112.78 ▲2.98 | 49.34 ▲1.72 |
Recovery Mode Email /wp-admin/options-general.php?page=dm_rme_settings | 929 | 2.02 | 22.98 | 48.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: fatal error, recovery mode email, recovery mode
custom-recovery-mode-email/dm-rme.php 92% from 13 tests
The main PHP file in "Custom Recovery Mode Email" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("custom-recovery-mode-email.php" instead of "dm-rme.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected264 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 99 | 27 | 264 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.79 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 7 | 63.64% |
▷ Anonymous functions | 4 | 36.36% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin