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: ▼8.51ms] Passed 4 tests
Server-side resources used by WP Email Debug
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.10 ▼9.58 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.60 ▼16.68 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.72 ▼5.49 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 91.03 ▼2.29 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.77 ▲0.41 |
E-Mail Debugger /wp-admin/options-general.php?page=wpmdbug | 3.24 | 31.60 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WP Email Debug
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲50 | 14.44 ▲0.06 | 1.58 ▼0.42 | 38.12 ▼6.52 |
Dashboard /wp-admin | 2,216 ▲28 | 4.87 ▼0.02 | 101.17 ▼5.03 | 42.79 ▼5.52 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▲0.04 | 35.27 ▲0.78 | 29.83 ▼6.39 |
Add New Post /wp-admin/post-new.php | 1,534 ▼0 | 23.14 ▼0.17 | 640.77 ▼45.20 | 54.50 ▼4.24 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.25 ▲0.06 | 94.39 ▼2.15 | 40.33 ▼4.47 |
E-Mail Debugger /wp-admin/options-general.php?page=wpmdbug | 869 | 1.84 | 25.23 | 26.22 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-email-debug/settings.php:2
- > PHP Fatal error
Uncaught Error: Class 'WPMailDebugger' not found in wp-content/plugins/wp-email-debug/hooks.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 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
4 plugin tags: email, mail, debug, debugging
wp-email-debug/wp-email-debug.php Passed 13 tests
The main file in "WP Email Debug" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
67 characters long description:
Never accidentally send users emails from your testing sites again!
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
No dangerous file extensions were detected229 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 35 | 51 | 229 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 5 | |
▷ Static methods | 4 | 80.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin