Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.40ms] Passed 4 tests
Server-side resources used by WangGuard Limited Registration Domain Add-On
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.35 ▼1.89 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.84 ▼10.50 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 50.37 ▲1.81 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.65 ▼10.63 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.76 ▲1.42 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WangGuard Limited Registration Domain Add-On
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 13.37 ▼1.00 | 1.95 ▲0.30 | 42.47 ▼0.60 |
Dashboard /wp-admin | 2,218 ▲30 | 5.86 ▼0.04 | 101.95 ▼11.31 | 41.85 ▼0.55 |
Posts /wp-admin/edit.php | 2,098 ▲6 | 2.01 ▲0.00 | 34.43 ▼8.79 | 36.43 ▼1.68 |
Add New Post /wp-admin/post-new.php | 1,543 ▲29 | 23.48 ▲5.80 | 689.81 ▼21.90 | 61.67 ▲3.61 |
Media Library /wp-admin/upload.php | 1,400 ▲15 | 4.23 ▼0.01 | 100.89 ▼10.78 | 46.28 ▲0.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_filter() in wp-content/plugins/wangguard-limited-registration-domain-add-on/wangguard-limited-registration-domain-bp.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wangguard-limited-registration-domain-add-on/wangguard-limited-registration-domain-add-on.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function get_site_option() in wp-content/plugins/wangguard-limited-registration-domain-add-on/wangguard-limited-registration-domain-wpmu.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: registration, wgg, wangguard, block domains, domains...
wangguard-limited-registration-domain-add-on/wangguard-limited-registration-domain-add-on.php 92% from 13 tests
The main PHP file in "WangGuard Limited Registration Domain Add-On" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 253 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin189 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 63 | 68 | 189 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 16 | |
▷ Named functions | 16 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin