Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▲1.76ms] Passed 4 tests
An overview of server-side resources used by Custom Login and Registration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 46.98 ▲5.13 |
Dashboard /wp-admin | 3.47 ▲0.17 | 52.33 ▲1.08 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 46.28 ▼2.59 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 96.95 ▲4.74 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 42.57 ▲3.80 |
Design /wp-admin/admin.php?page=ms_registration_design_options | 3.38 | 40.88 |
MS Registration /wp-admin/admin.php?page=ms-registration | 3.37 | 39.07 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Custom Login and Registration
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲163 | 13.48 ▼0.87 | 8.41 ▲6.79 | 45.08 ▲3.00 |
Dashboard /wp-admin | 2,222 ▲41 | 5.56 ▼0.17 | 96.07 ▼2.80 | 43.65 ▼0.67 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 2.04 ▲0.01 | 34.73 ▼5.62 | 32.75 ▼5.32 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.08 ▼0.02 | 661.08 ▼29.56 | 47.64 ▼14.47 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.19 ▼0.03 | 106.46 ▼4.42 | 46.09 ▲0.33 |
Design /wp-admin/admin.php?page=ms_registration_design_options | 1,052 | 3.01 | 46.28 | 26.80 |
MS Registration /wp-admin/admin.php?page=ms-registration | 888 | 2.01 | 29.47 | 28.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ms-registration/public/partials/ms-registration-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Registration page input creation), #2 (Login and Registration page design chnage), #3 (URL change)
ms-registration/ms-registration.php Passed 13 tests
The main PHP script in "Custom Login and Registration" version 1.0.0 is automatically included on every request by WordPress
37 characters long description:
Customize WordPress registration form
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin881 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 229 | 540 | 844 |
CSS | 2 | 1 | 8 | 31 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 29 | |
▷ Named functions | 29 | 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
3 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.PNG | 65.44KB | 23.37KB | ▼ 64.29% |
assets/screenshot-3.PNG | 21.08KB | 11.32KB | ▼ 46.30% |
assets/screenshot-1.PNG | 19.70KB | 9.66KB | ▼ 50.99% |