Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼4.26ms] Passed 4 tests
Analyzing server-side resources used by WPConcierges HyperFair Registration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 38.10 ▼0.14 |
Dashboard /wp-admin | 3.45 ▲0.15 | 43.81 ▼3.12 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 45.40 ▼3.32 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 84.99 ▼10.44 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 38.81 ▲2.78 |
WPConcierges HyperFair Registration /wp-admin/tools.php?page=wpc-hyperfair-registration | 3.35 | 31.48 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WPConcierges HyperFair Registration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.29 | 1.73 ▲0.01 | 40.77 ▼0.79 |
Dashboard /wp-admin | 2,196 ▲19 | 5.58 ▼0.10 | 90.70 ▲5.17 | 37.35 ▼6.10 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.03 | 39.38 ▲4.30 | 35.25 ▲0.04 |
Add New Post /wp-admin/post-new.php | 1,530 ▼7 | 22.95 ▲4.88 | 664.62 ▲55.01 | 52.54 ▼12.87 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.27 ▲0.09 | 95.11 ▼3.92 | 46.98 ▲3.10 |
WPConcierges HyperFair Registration /wp-admin/tools.php?page=wpc-hyperfair-registration | 870 | 1.99 | 25.66 | 25.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wpconcierges-hyperfair-registration/public/partials/wpc-hyperfair-registration-public-display.php
- > /wp-content/plugins/wpconcierges-hyperfair-registration/admin/partials/wpc-hyperfair-registration-admin-display.php
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wpconcierges-hyperfair-registration/admin/partials/wpc-hyperfair-registration-admin-field-textarea.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wpconcierges-hyperfair-registration/admin/partials/wpc-hyperfair-registration-admin-field-text.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/wpconcierges-hyperfair-registration/admin/partials/wpc-hyperfair-registration-admin-section-messages.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wpconcierges-hyperfair-registration/admin/partials/wpc-hyperfair-registration-admin-page-settings.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wpconcierges-hyperfair-registration/admin/partials/wpc-hyperfair-registration-admin-field-select.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: hyperfair, virtual event, hyper fair registration, hyper fair, woocommerce...
wpconcierges-hyperfair-registration/wpc-hyperfair-registration.php 77% from 13 tests
The entry point to "WPConcierges HyperFair Registration" version 1.0.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Requires at least: Required version does not match the one declared in readme.txt ("3.0.1" instead of "3.0")
- Main file name: Name the main plugin file the same as the plugin slug ("wpconcierges-hyperfair-registration.php" instead of "wpc-hyperfair-registration.php")
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
Good job! No executable or dangerous file extensions detected723 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 347 | 682 | 723 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 10.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 2 | 3.70% |
▷ Public methods | 36 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 33.33% |
Functions | 5 | |
▷ Named functions | 5 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin