Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.03ms] Passed 4 tests
An overview of server-side resources used by Registration form eu
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.52 ▼2.34 |
Dashboard /wp-admin | 3.32 ▼0.03 | 46.97 ▼16.28 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.94 ▲1.26 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.65 ▼14.27 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.21 ▼3.24 |
Setup /wp-admin/admin.php?page=rfe_registration_form_eu_setup_opt | 3.18 | 30.28 |
Registration form eu /wp-admin/admin.php?page=registration-form-eu | 3.18 | 28.01 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Registration form eu
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.28 ▲0.01 | 1.71 ▲0.17 | 46.56 ▲7.94 |
Dashboard /wp-admin | 2,221 ▲50 | 5.56 ▼0.10 | 80.58 ▼21.09 | 66.28 ▲19.61 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 1.97 ▼0.05 | 37.22 ▲1.74 | 33.44 ▼1.31 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.63 ▲0.21 | 725.34 ▲55.27 | 51.40 ▼8.42 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.20 ▲0.01 | 97.85 ▼2.71 | 84.62 ▲35.79 |
Setup /wp-admin/admin.php?page=rfe_registration_form_eu_setup_opt | 870 | 1.99 | 22.32 | 25.17 |
Registration form eu /wp-admin/admin.php?page=registration-form-eu | 835 | 2.15 | 25.09 | 26.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=registration-form-eu
- > Notice in wp-content/plugins/registration-form-eu/registration-form-eu.php+94
Trying to access array offset on value of type bool
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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/registration-form-eu/classes/class.rfe.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/registration-form-eu/registration-form-eu.php:57
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (Registration form eu settings page) image not found
registration-form-eu/registration-form-eu.php Passed 13 tests
The entry point to "Registration form eu" version 1.0.3 is a PHP file that has certain tags in its header comment area
46 characters long description:
Plugin user signup and customize welcome email
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
There were no executable files found in this plugin304 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 25 | 55 | 164 |
PO File | 3 | 45 | 0 | 140 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 12.90KB | 6.37KB | ▼ 50.64% |
images/signup.png | 0.68KB | 0.81KB | 0.00% |
screenshot-2.png | 28.13KB | 13.52KB | ▼ 51.95% |