Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/geek-mail-blacklist/lib/GMB.php+51
Undefined variable: charset_collate
Server metrics [RAM: ▲0.12MB] [CPU: ▲4.72ms] Passed 4 tests
This is a short check of server-side resources used by Geek Mail Blacklist
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.11 | 48.18 ▲4.67 |
Dashboard /wp-admin | 68.65 ▲65.30 | 13,496,728.91 ▲13,496,672.15 |
Posts /wp-admin/edit.php | 3.57 ▲0.16 | 60.57 ▲10.25 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.10 | 101.97 ▼2.83 |
Media Library /wp-admin/upload.php | 3.38 ▲0.10 | 45.16 ▲6.78 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 21 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_gmb_monitor |
wp_gmb_blacklist |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
gmb-enabled |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Geek Mail Blacklist: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.17 ▼0.54 | 1.84 ▼0.03 | 43.90 ▲0.18 |
Dashboard /wp-admin | 2,205 ▲34 | 5.57 ▼0.07 | 94.02 ▼8.99 | 41.84 ▼0.81 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.01 ▼0.00 | 41.62 ▲2.81 | 35.62 ▲0.07 |
Add New Post /wp-admin/post-new.php | 1,541 ▲16 | 21.02 ▼0.05 | 698.58 ▲60.33 | 59.82 ▲11.59 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.17 ▲0.06 | 112.26 ▼3.56 | 49.33 ▲1.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: spam, email, blacklist
geek-mail-blacklist/geek-mail-blacklist.php Passed 13 tests
The main PHP file in "Geek Mail Blacklist" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
49 characters long description:
Block users with certain Emails from registration
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
Success! There were no dangerous files found in this plugin921 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 149 | 22 | 688 |
JavaScript | 2 | 18 | 7 | 148 |
CSS | 2 | 15 | 0 | 56 |
SVG | 1 | 0 | 1 | 29 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 11.60 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 36 | 100.00% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 11 | 78.57% |
▷ Class constants | 3 | 21.43% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.55MB with 0.38MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 213.79KB | 65.25KB | ▼ 69.48% |
screenshot-1.png | 193.38KB | 59.52KB | ▼ 69.22% |
screenshot-2.png | 155.73KB | 45.56KB | ▼ 70.74% |