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: ▲1.88MB] [CPU: ▲2.91ms] Passed 4 tests
Analyzing server-side resources used by RegisterONE - Exhibitor Registration, Advanced Booth Mapping, Ticketing
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.25 ▲1.78 | 50.41 ▲12.98 |
Dashboard /wp-admin | 5.27 ▲1.96 | 53.03 ▲3.40 |
Posts /wp-admin/edit.php | 5.27 ▲1.91 | 55.71 ▲7.55 |
Add New Post /wp-admin/post-new.php | 7.75 ▲1.86 | 84.20 ▼8.48 |
Media Library /wp-admin/upload.php | 5.27 ▲2.03 | 46.25 ▲9.16 |
RegisterONE /wp-admin/options-general.php?page=registerone_plugin_options | 5.27 | 38.51 |
Server storage [IO: ▲8.21MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 394 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
dwc_account_information |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for RegisterONE - Exhibitor Registration, Advanced Booth Mapping, Ticketing
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲39 | 14.01 ▼0.25 | 1.71 ▲0.11 | 44.28 ▼1.63 |
Dashboard /wp-admin | 2,206 ▲25 | 5.54 ▼0.17 | 91.22 ▼11.95 | 37.43 ▼5.71 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.02 ▲0.07 | 40.71 ▲1.45 | 36.65 ▲2.04 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.27 ▼0.05 | 675.08 ▲10.31 | 60.61 ▼0.10 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.18 ▼0.05 | 99.75 ▼16.16 | 41.86 ▼6.54 |
RegisterONE /wp-admin/options-general.php?page=registerone_plugin_options | 870 | 1.65 | 25.03 | 26.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=registerone_plugin_options
- > 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=registerone_plugin_options
- > 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
Please take a closer look at the following
- 9× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/registerone-event-forms/registerone-template.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/registerone-event-forms/src/assets/registerone-theme-override/footer.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/registerone-event-forms/src/assets/registerone-theme-override/single.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/registerone-event-forms/src/assets/registerone-theme-override/index.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/registerone-event-forms/src/assets/registerone-theme-override/header.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/registerone-event-forms/src/assets/registerone-theme-override/page.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/registerone-event-forms/src/assets/registerone-theme-override/functions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/registerone-event-forms/src/assets/registerone-theme-override/404.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/registerone-event-forms/src/assets/registerone-theme-override/entry.php:1
- > PHP Fatal error
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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Requires at least: Invalid plugin version format
- Tags: You are using too many tags: 11 tag instead of maximum 10
registerone-event-forms/registerone-wordpress-client.php 92% from 13 tests
The primary PHP file in "RegisterONE - Exhibitor Registration, Advanced Booth Mapping, Ticketing" version 3.6.16 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("registerone-event-forms.php" instead of "registerone-wordpress-client.php")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin82,055 lines of code in 316 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 186 | 7,379 | 5,474 | 39,839 |
CSS | 68 | 2,320 | 871 | 27,189 |
PHP | 19 | 2,359 | 1,846 | 8,768 |
JSON | 2 | 0 | 0 | 2,481 |
Sass | 4 | 147 | 70 | 1,997 |
SVG | 34 | 0 | 29 | 1,395 |
Markdown | 2 | 107 | 0 | 359 |
Mustache | 1 | 5 | 0 | 27 |
PHP code 0% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 1,347)
- Method cyclomatic complexity has to be reduced to less than 100 (currently 150)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 146.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,347.00 |
Average method complexity | 9.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 150.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 164 | |
▷ Static methods | 5 | 3.05% |
▷ Public methods | 57 | 34.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 107 | 65.24% |
Functions | 34 | |
▷ Named functions | 31 | 91.18% |
▷ Anonymous functions | 3 | 8.82% |
Constants | 6 | |
▷ Global constants | 6 | 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
32 PNG files occupy 0.50MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
front-end/assets/img/container-bg.png | 2.34KB | 3.59KB | 0.00% |
front-end/assets/img/paypal-img1-footer-250.png | 14.98KB | 6.06KB | ▼ 59.51% |
front-end/assets/img/authorize.png | 70.08KB | 4.61KB | ▼ 93.42% |
front-end/assets/leaflet/images/marker-icon-2x.png | 2.41KB | 2.52KB | 0.00% |
front-end/assets/jquery-ui-1.12.1/images/ui-icons_cc0000_256x240.png | 4.52KB | 4.18KB | ▼ 7.56% |