Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.89MB] [CPU: ▼32.87ms] Passed 4 tests
This is a short check of server-side resources used by UIkar Registration plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.93 ▼1.33 |
Dashboard /wp-admin | 3.05 ▼0.25 | 23.76 ▼22.61 |
Posts /wp-admin/edit.php | 3.05 ▼0.30 | 23.25 ▼24.82 |
Add New Post /wp-admin/post-new.php | 3.05 ▼2.83 | 22.90 ▼72.19 |
Media Library /wp-admin/upload.php | 3.05 ▼0.17 | 21.72 ▼11.87 |
Edit Registration Settings /wp-admin/options-general.php?page=uikar | 3.06 | 23.01 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
landing_page_id |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for UIkar Registration plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲4 | 13.72 ▼1.06 | 2.25 ▲0.34 | 44.98 ▲0.50 |
Dashboard /wp-admin | 2,210 ▲4 | 4.88 ▲0.02 | 110.89 ▲13.72 | 42.68 ▲2.79 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.04 ▲0.03 | 35.46 ▲0.16 | 31.70 ▼0.38 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 19.23 ▲1.81 | 610.94 ▼26.57 | 56.94 ▲2.08 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.20 ▲0.04 | 97.66 ▼4.47 | 42.91 ▼1.40 |
Edit Registration Settings /wp-admin/options-general.php?page=uikar | 777 | 2.03 | 23.36 | 26.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- landing_page_id
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=uikar
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/uikar-registration/includes/captcha.php
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
Use of undefined constant UIKAR_REGISTER_BUILDER_DIR - assumed 'UIKAR_REGISTER_BUILDER_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/uikar-registration/includes/landing.php on line 2
- > PHP Warning
require_once(UIKAR_REGISTER_BUILDER_DIRincludes/links.php): failed to open stream: No such file or directory in wp-content/plugins/uikar-registration/includes/landing.php on line 2
- > PHP Warning
Use of undefined constant UIKAR_REGISTER_BUILDER_DIR - assumed 'UIKAR_REGISTER_BUILDER_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/uikar-registration/includes/login.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/uikar-registration/includes/admin.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/uikar-registration/includes/functions.php:165
- > PHP Fatal error
require_once(): Failed opening required 'UIKAR_REGISTER_BUILDER_DIRincludes/links.php' (include_path='.:/usr/share/php') in wp-content/plugins/uikar-registration/includes/login.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'UIKAR_REGISTER_BUILDER_DIRincludes/links.php' (include_path='.:/usr/share/php') in wp-content/plugins/uikar-registration/includes/landing.php on line 2
- > PHP Warning
require_once(UIKAR_REGISTER_BUILDER_DIRincludes/links.php): failed to open stream: No such file or directory in wp-content/plugins/uikar-registration/includes/login.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/uikar-registration/includes/links.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/uikar-registration/includes/form.php:3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: registration plugin, uikar, uikar registration
uikar-registration/registration.php 92% from 13 tests
The entry point to "UIkar Registration plugin" version 2.1.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("uikar-registration.php" instead of "registration.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin865 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 49 | 37 | 457 |
PO File | 2 | 106 | 115 | 258 |
CSS | 4 | 1 | 5 | 101 |
JavaScript | 3 | 12 | 18 | 49 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
There are no PNG files in this plugin