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.02MB] [CPU: ▼2.28ms] Passed 4 tests
This is a short check of server-side resources used by Lamboz Registration Link On Checkout Page
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 40.58 ▲1.43 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.79 ▼6.19 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.80 ▲2.58 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 98.30 ▼6.94 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.24 ▲4.35 |
Lamboz Custom Registration Link /wp-admin/options-general.php?page=lamboz-registration-link-on-checkout | 3.21 | 34.90 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
lrlwc_registration_question |
lrlwc_registration_title |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
lrlwc_registration_link |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Lamboz Registration Link On Checkout Page
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.30 ▲0.03 | 1.70 ▲0.03 | 41.22 ▼2.44 |
Dashboard /wp-admin | 2,210 ▲36 | 5.55 ▼0.12 | 89.71 ▼4.31 | 42.35 ▼1.93 |
Posts /wp-admin/edit.php | 2,115 ▲12 | 1.99 ▼0.05 | 40.00 ▼1.97 | 37.48 ▲1.03 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 22.92 ▼0.87 | 680.47 ▼12.32 | 53.74 ▼2.42 |
Media Library /wp-admin/upload.php | 1,415 ▲21 | 4.22 ▼0.05 | 104.88 ▲2.43 | 46.06 ▼2.21 |
Lamboz Custom Registration Link /wp-admin/options-general.php?page=lamboz-registration-link-on-checkout | 896 | 2.31 | 27.16 | 34.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- widget_theysaidso_widget
- can_compress_scripts
- lrlwc_registration_link
- theysaidso_admin_options
- lrlwc_registration_question
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- lrlwc_registration_title
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=lamboz-registration-link-on-checkout
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=lamboz-registration-link-on-checkout
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% 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
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/lamboz-registration-link-on-checkout-page/includes/class-lamboz-checkout-link.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/lamboz-registration-link-on-checkout-page/includes/lamboz-admin-menu.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/lamboz-registration-link-on-checkout-page/lamboz-registration-link-on-checkout-page.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: woocommerce, customization, wordpress, custom registration link, registration...
lamboz-registration-link-on-checkout-page/lamboz-registration-link-on-checkout-page.php 92% from 13 tests
The primary PHP file in "Lamboz Registration Link On Checkout Page" version 1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin137 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 12 | 21 | 114 |
CSS | 1 | 0 | 0 | 23 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/img/paypal.png | 3.53KB | 2.19KB | ▼ 37.94% |