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
Installer ran successfully
Server metrics [RAM: ▲1.55MB] [CPU: ▲2.81ms] Passed 4 tests
A check of server-side resources used by NVV Login Control
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.01 ▲1.55 | 55.27 ▲11.78 |
Dashboard /wp-admin | 4.86 ▲1.56 | 73.41 ▲15.60 |
Posts /wp-admin/edit.php | 4.97 ▲1.61 | 66.59 ▲17.95 |
Add New Post /wp-admin/post-new.php | 7.45 ▲1.57 | 101.34 ▼30.75 |
Media Library /wp-admin/upload.php | 4.76 ▲1.53 | 51.02 ▲14.62 |
NVV Login Control options /wp-admin/options-general.php?page=nvv_login_control_options | 4.89 | 72.65 |
Server storage [IO: ▲8.59MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 469 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for NVV Login Control
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,061 ▲300 | 18.55 ▲4.02 | 1.65 ▼0.07 | 42.02 ▼3.70 |
Dashboard /wp-admin | 2,470 ▲290 | 8.88 ▲3.21 | 170.00 ▲70.58 | 37.65 ▼9.29 |
Posts /wp-admin/edit.php | 2,401 ▲298 | 6.09 ▲4.11 | 76.07 ▲41.58 | 34.41 ▼1.29 |
Add New Post /wp-admin/post-new.php | 1,601 ▲75 | 19.82 ▼3.56 | 731.09 ▲26.59 | 38.38 ▼14.54 |
Media Library /wp-admin/upload.php | 1,538 ▲141 | 6.52 ▲2.31 | 107.89 ▲2.25 | 44.14 ▼2.31 |
NVV Login Control options /wp-admin/options-general.php?page=nvv_login_control_options | 1,877 | 10.06 | 283.14 | 37.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/nvv-login-control/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 112× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/nvv-login-control/vendor/htmlburger/carbon-fields/core/Field/Media_Gallery_Field.php:14
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Fulfillable\\Translator\\Translator' not found in wp-content/plugins/nvv-login-control/vendor/htmlburger/carbon-fields/core/Container/Fulfillable/Translator/Array_Translator.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/nvv-login-control/vendor/htmlburger/carbon-fields/templates/Container/nav_menu_item.php:1
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/nvv-login-control/vendor/htmlburger/carbon-fields/core/Field/Broken_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Predefined_Options_Field' not found in wp-content/plugins/nvv-login-control/vendor/htmlburger/carbon-fields/core/Field/Multiselect_Field.php:13
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Service\\Service' not found in wp-content/plugins/nvv-login-control/vendor/htmlburger/carbon-fields/core/Service/Legacy_Storage_Service_v_1_5.php:15
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/nvv-login-control/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Ancestor_ID_Condition.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/nvv-login-control/vendor/htmlburger/carbon-fields/core/Field/Textarea_Field.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/nvv-login-control/vendor/htmlburger/carbon-fields/templates/Container/widget.php:2
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/nvv-login-control/vendor/htmlburger/carbon-fields/core/Container/Condition/Term_Condition.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 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
8 plugin tags: control, toolbar, redirect, authorization, multilanguage...
nvv-login-control/nvv-login-control.php Passed 13 tests
The entry point to "NVV Login Control" version 1.0.0 is a PHP file that has certain tags in its header comment area
130 characters long description:
Customizable authorization page. Authorization on the site on behalf of any user. Recaptcha V3. Site closure for maintenance. SEO.
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
There were no executable files found in this plugin28,373 lines of code in 414 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 171 | 5,187 | 8,459 | 12,922 |
PHP | 154 | 2,650 | 6,657 | 9,264 |
PO File | 27 | 874 | 1,075 | 2,337 |
Sass | 48 | 338 | 0 | 1,764 |
CSS | 7 | 325 | 1,139 | 1,658 |
JSON | 4 | 0 | 0 | 360 |
Markdown | 3 | 24 | 0 | 68 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 8.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 121 | |
▷ Abstract classes | 11 | 9.09% |
▷ Concrete classes | 110 | 90.91% |
▷ Final classes | 1 | 0.91% |
Methods | 898 | |
▷ Static methods | 90 | 10.02% |
▷ Public methods | 729 | 81.18% |
▷ Protected methods | 165 | 18.37% |
▷ Private methods | 4 | 0.45% |
Functions | 140 | |
▷ Named functions | 54 | 38.57% |
▷ Anonymous functions | 86 | 61.43% |
Constants | 29 | |
▷ Global constants | 6 | 20.69% |
▷ Class constants | 23 | 79.31% |
▷ Public constants | 23 | 100.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
PNG images were not found in this plugin