Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼11.08ms] Passed 4 tests
An overview of server-side resources used by JP User Registration Blacklist
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 34.25 ▼6.02 |
Dashboard /wp-admin | 3.36 ▲0.02 | 42.89 ▼19.02 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 42.64 ▼3.82 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 82.54 ▼15.44 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.20 ▼1.88 |
JP User Registration Blacklist Settings /wp-admin/plugins.php?page=JPUserRegTools-Settings | 3.23 | 31.14 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
JPUserRegTools_options |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for JP User Registration Blacklist
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.16 ▼1.50 | 4.06 ▲2.37 | 39.17 ▼0.88 |
Dashboard /wp-admin | 2,210 ▲25 | 4.87 ▼1.15 | 98.64 ▼0.69 | 38.34 ▼7.68 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 1.99 ▼0.02 | 35.65 ▼2.15 | 32.21 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,550 ▲16 | 18.15 ▲0.06 | 614.24 ▼40.18 | 75.94 ▲16.82 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.16 ▼0.07 | 100.55 ▲4.90 | 44.57 ▲0.68 |
JP User Registration Blacklist Settings /wp-admin/plugins.php?page=JPUserRegTools-Settings | 829 | 2.02 | 25.96 | 25.35 |
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 7 options in the database
- widget_recent-comments
- can_compress_scripts
- JPUserRegTools_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/plugins.php?page=JPUserRegTools-Settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/plugins.php?page=JPUserRegTools-Settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/jp-user-registration-blacklist/JPUserRegTools.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== jp-user-registration-blacklist ===
) - Donate link: Invalid URI found ("")
jp-user-registration-blacklist/JPUserRegTools.php 85% from 13 tests
Analyzing the main PHP file in "JP User Registration Blacklist" version 1.7.2
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 157 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("jp-user-registration-blacklist.php" instead of "JPUserRegTools.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin324 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 104 | 69 | 324 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected