Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▲1.01ms] Passed 4 tests
Server-side resources used by Login Registration Kit
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 47.41 ▲0.98 |
Dashboard /wp-admin | 3.37 ▲0.06 | 50.76 ▲1.35 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 55.73 ▲9.09 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 95.58 ▼4.16 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 40.92 ▲5.85 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 40 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
user_registration_kit_account_page |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Login Registration Kit
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,112 ▲366 | 13.58 ▼0.66 | 7.22 ▲5.41 | 38.72 ▼2.75 |
Dashboard /wp-admin | 2,224 ▲36 | 4.83 ▼1.18 | 104.70 ▼4.73 | 39.59 ▼0.56 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.01 ▲0.01 | 39.39 ▲3.77 | 35.04 ▼0.43 |
Add New Post /wp-admin/post-new.php | 6,604 ▲5,062 | 22.07 ▲3.91 | 923.49 ▲304.62 | 62.20 ▲10.16 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.21 ▼0.02 | 97.45 ▼0.65 | 45.19 ▼1.50 |
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 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- user_registration_kit_account_page
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_permalink() in wp-content/plugins/login-registration-kit/includes/frontend/views/my-account.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/login-registration-kit/includes/frontend/views/sign-form.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/login-registration-kit/includes/frontend/views/register-form.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: frontend login, user profile, login form, frontend registration, registration
login-registration-kit/login-registration-kit.php 92% from 13 tests
The primary PHP file in "Login Registration Kit" version 1.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 246 characters long)
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
Everything looks great! No dangerous files found in this plugin10,832 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 1,387 | 372 | 5,872 |
PHP | 9 | 323 | 330 | 2,882 |
CSS | 5 | 85 | 24 | 893 |
Sass | 14 | 144 | 5 | 874 |
JSX | 1 | 5 | 1 | 311 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 85.20 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 214.00 |
Average method complexity | 6.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 72 | |
▷ Static methods | 18 | 25.00% |
▷ Public methods | 62 | 86.11% |
▷ Protected methods | 2 | 2.78% |
▷ Private methods | 8 | 11.11% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.11MB with 0.08MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 71.54KB | 26.51KB | ▼ 62.94% |
assets/icon-256x256.png | 40.92KB | 14.98KB | ▼ 63.39% |
(invalid) img/default-avatar.png | 2.64KB | 0.00KB | ▼ 100.00% |