Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼3.52ms] Passed 4 tests
Analyzing server-side resources used by Fiddlemail
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 41.98 ▲5.39 |
Dashboard /wp-admin | 3.51 ▲0.20 | 45.57 ▼4.00 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 47.41 ▲0.65 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 83.97 ▼15.13 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 36.77 ▲4.41 |
Fiddlemail /wp-admin/options-general.php?page=fiddlemail-settings | 3.37 | 29.93 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 22 new files
Database: 2 new tables, 15 new options
New tables |
---|
wp_fiddlemail_wblist |
wp_fiddlemail_log |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
fm_api_send_mail |
fm_api_block_score |
fm_comment_handling |
fm_use_spamhaus |
fm_db_version |
fm_filter |
fm_api_key |
... |
Browser metrics Passed 4 tests
Fiddlemail: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲57 | 13.23 ▼1.15 | 1.70 ▼0.12 | 42.50 ▲0.63 |
Dashboard /wp-admin | 2,220 ▲32 | 5.97 ▲1.07 | 106.10 ▼8.27 | 43.34 ▲2.89 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.03 ▲0.06 | 42.30 ▲0.91 | 35.49 ▼2.52 |
Add New Post /wp-admin/post-new.php | 1,526 ▼7 | 17.42 ▼5.77 | 675.12 ▲75.98 | 47.07 ▲1.22 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.22 ▲0.01 | 94.85 ▼7.94 | 40.90 ▼2.53 |
Fiddlemail /wp-admin/options-general.php?page=fiddlemail-settings | 836 | 2.05 | 27.32 | 32.36 |
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
You still need to fix the following
- Zombie tables detected upon uninstall: 2 tables
- wp_fiddlemail_wblist
- wp_fiddlemail_log
- The uninstall procedure has failed, leaving 15 options in the database
- db_upgraded
- fm_use_uribl
- fm_comment_handling
- fm_api_key_score
- fm_api_send_mail
- fm_api_key
- widget_recent-posts
- widget_theysaidso_widget
- fm_use_spamhaus
- theysaidso_admin_options
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=fiddlemail-settings
- > Notice in wp-content/plugins/fiddlemail/includes/Fiddlemail.inc.php+568
Undefined index: tab
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/fiddlemail/fiddlemail.php
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Net_DNS2_RR' not found in wp-content/plugins/fiddlemail/includes/netdns2/Net/DNS2/RR/SOA.php:85
- > PHP Fatal error
Uncaught Error: Class 'Net_DNS2_RR' not found in wp-content/plugins/fiddlemail/includes/netdns2/Net/DNS2/RR/A.php:67
- > PHP Fatal error
Uncaught Error: Class 'Net_DNS2_Socket' not found in wp-content/plugins/fiddlemail/includes/netdns2/Net/DNS2/Socket/Sockets.php:67
- > PHP Fatal error
Uncaught Error: Class 'Net_DNS2_Socket' not found in wp-content/plugins/fiddlemail/includes/netdns2/Net/DNS2/Socket/Streams.php:67
- > PHP Fatal error
Uncaught Error: Class 'Net_DNS2_Packet' not found in wp-content/plugins/fiddlemail/includes/netdns2/Net/DNS2/Packet/Response.php:65
- > PHP Fatal error
Uncaught Error: Class 'Net_DNS2' not found in wp-content/plugins/fiddlemail/includes/netdns2/Net/DNS2/Resolver.php:63
- > PHP Fatal error
Uncaught Error: Class 'Net_DNS2_Packet' not found in wp-content/plugins/fiddlemail/includes/netdns2/Net/DNS2/Packet/Request.php:65
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
fiddlemail/fiddlemail.php Passed 13 tests
The principal PHP file in "Fiddlemail" v. 1.1.0 is loaded by WordPress automatically on each request
86 characters long description:
Identify and block disposable fake email addresses to prevent junk users and comments.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,895 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 919 | 3,108 | 2,870 |
Markdown | 1 | 15 | 0 | 25 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 25.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 150.00 |
Average method complexity | 5.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 4 | 22.22% |
▷ Concrete classes | 14 | 77.78% |
▷ Final classes | 0 | 0.00% |
Methods | 111 | |
▷ Static methods | 41 | 36.94% |
▷ Public methods | 90 | 81.08% |
▷ Protected methods | 16 | 14.41% |
▷ Private methods | 5 | 4.50% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 111 | |
▷ Global constants | 9 | 8.11% |
▷ Class constants | 102 | 91.89% |
▷ Public constants | 102 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected