Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.14MB] [CPU: ▼5.49ms] Passed 4 tests
This is a short check of server-side resources used by JUVO Login for WS-Form
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.90 ▼3.96 |
Dashboard /wp-admin | 3.47 ▲0.16 | 49.11 ▲0.31 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 49.78 ▼6.34 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 86.69 ▼11.98 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 35.88 ▲4.62 |
WS-Forms Login /wp-admin/options-general.php?page=wsform_login | 3.76 | 37.12 |
Server storage [IO: ▲4.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 436 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
JUVO Login for WS-Form: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲190 | 13.70 ▼0.94 | 5.70 ▲3.83 | 45.04 ▲8.44 |
Dashboard /wp-admin | 2,234 ▲46 | 5.03 ▲0.09 | 109.87 ▲0.49 | 39.38 ▼6.43 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.41 ▲0.36 | 41.30 ▼2.00 | 34.58 ▼2.21 |
Add New Post /wp-admin/post-new.php | 1,696 ▲177 | 22.35 ▼0.83 | 656.52 ▲29.93 | 38.11 ▼9.33 |
Media Library /wp-admin/upload.php | 1,416 ▲31 | 4.37 ▲0.14 | 102.72 ▼1.06 | 42.45 ▼3.32 |
WS-Forms Login /wp-admin/options-general.php?page=wsform_login | 943 | 2.18 | 33.20 | 28.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
- 39× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/juvo-ws-form-login/vendor/cmb2/cmb2/includes/types/CMB2_Type_Oembed.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/juvo-ws-form-login/vendor/cmb2/cmb2/includes/types/CMB2_Type_Colorpicker.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Select' not found in wp-content/plugins/juvo-ws-form-login/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Select_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller_Boxes' not found in wp-content/plugins/juvo-ws-form-login/vendor/cmb2/cmb2/includes/rest-api/CMB2_REST_Controller_Fields.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/juvo-ws-form-login/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/juvo-ws-form-login/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller' not found in wp-content/plugins/juvo-ws-form-login/vendor/cmb2/cmb2/includes/rest-api/CMB2_REST_Controller_Boxes.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/juvo-ws-form-login/vendor/cmb2/cmb2/example-functions.php:105
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/juvo-ws-form-login/vendor/cmb2/cmb2/includes/types/CMB2_Type_Picker_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/juvo-ws-form-login/vendor/cmb2/cmb2/includes/types/CMB2_Type_Text.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: comments, spam
juvo-ws-form-login/wsform-login.php 85% from 13 tests
The primary PHP file in "JUVO Login for WS-Form" version 1.0.4 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("juvo-ws-form-login.php" instead of "wsform-login.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin75,265 lines of code in 262 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
JSON | 7 | 0 | 0 | 25,989 |
PHP | 81 | 2,540 | 7,232 | 8,448 |
CSS | 14 | 255 | 1,191 | 4,581 |
JavaScript | 15 | 384 | 599 | 1,574 |
Sass | 19 | 306 | 29 | 1,419 |
Markdown | 5 | 288 | 0 | 915 |
XML | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 17.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 83 | |
▷ Abstract classes | 9 | 10.84% |
▷ Concrete classes | 74 | 89.16% |
▷ Final classes | 0 | 0.00% |
Methods | 622 | |
▷ Static methods | 111 | 17.85% |
▷ Public methods | 522 | 83.92% |
▷ Protected methods | 89 | 14.31% |
▷ Private methods | 11 | 1.77% |
Functions | 41 | |
▷ Named functions | 39 | 95.12% |
▷ Anonymous functions | 2 | 4.88% |
Constants | 14 | |
▷ Global constants | 7 | 50.00% |
▷ Class constants | 7 | 50.00% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/cmb2/cmb2/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
vendor/cmb2/cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
vendor/cmb2/cmb2/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
vendor/cmb2/cmb2/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
vendor/cmb2/cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |