Benchmarks
Plugin footprint 65% 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: ▼33.28ms] Passed 4 tests
A check of server-side resources used by HT Event - WordPress Event Manager Plugin for Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.99 ▲0.53 | 22.06 ▼19.65 |
Dashboard /wp-admin | 4.04 ▲0.74 | 24.67 ▼32.31 |
Posts /wp-admin/edit.php | 4.04 ▲0.68 | 29.30 ▼17.89 |
Add New Post /wp-admin/post-new.php | 4.04 ▼1.85 | 25.78 ▼63.25 |
Media Library /wp-admin/upload.php | 4.04 ▲0.81 | 25.96 ▼11.67 |
Speakers /wp-admin/edit.php?post_type=speaker | 4.04 | 25.82 |
All Items /wp-admin/edit.php?post_type=htevent_footer | 4.04 | 26.10 |
HT Events /wp-admin/edit.php?post_type=htevent | 4.04 | 25.44 |
Add New /wp-admin/post-new.php?post_type=htevent_footer | 4.04 | 26.56 |
Settings /wp-admin/admin.php?page=add-setting-slug | 4.04 | 27.29 |
Recommendations /wp-admin/admin.php?page=htevent-recommendations | 4.04 | 27.35 |
Server storage [IO: ▲5.00MB] [DB: ▲0.67MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 426 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-posts |
widget_htevent-instagram |
widget_htevent_description_widget |
widget_htevent_twitter |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_htevent_twitter_sidebar |
widget_htevent_recent_post |
... |
Browser metrics Passed 4 tests
HT Event - WordPress Event Manager Plugin for Elementor: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,400 ▲654 | 15.61 ▲1.23 | 15.70 ▲13.72 | 44.25 ▲1.60 |
Dashboard /wp-admin | 2,428 ▲260 | 6.53 ▲1.67 | 135.91 ▲30.89 | 43.83 ▲2.47 |
Posts /wp-admin/edit.php | 2,341 ▲252 | 3.38 ▲1.39 | 55.64 ▲21.02 | 32.88 ▼1.59 |
Add New Post /wp-admin/post-new.php | 1,601 ▲68 | 18.75 ▼4.70 | 625.76 ▼66.73 | 35.84 ▼26.63 |
Media Library /wp-admin/upload.php | 1,481 ▲93 | 4.30 ▲0.05 | 90.00 ▼20.78 | 45.34 ▼4.09 |
Speakers /wp-admin/edit.php?post_type=speaker | 1,317 | 3.40 | 46.57 | 27.92 |
All Items /wp-admin/edit.php?post_type=htevent_footer | 1,308 | 3.35 | 51.27 | 28.23 |
HT Events /wp-admin/edit.php?post_type=htevent | 1,331 | 3.42 | 44.82 | 27.97 |
Add New /wp-admin/post-new.php?post_type=htevent_footer | 2,193 | 7.81 | 165.65 | 61.67 |
Settings /wp-admin/admin.php?page=add-setting-slug | 1,064 | 3.10 | 38.30 | 24.27 |
Recommendations /wp-admin/admin.php?page=htevent-recommendations | 3,132 | 3.43 | 48.75 | 82.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.67MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/ht-event/admin/cmb2/includes/helper-functions.php+44
include_once(wp-content/plugins/ht-event/admin/cmb2/includes/CMB2_Hookup.php): failed to open stream: No such file or directory
- This plugin does not fully uninstall, leaving 11 options in the database
- widget_htevent_twitter_sidebar
- widget_recent-comments
- db_upgraded
- widget_htevent_description_widget
- theysaidso_admin_options
- widget_htevent-instagram
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_htevent_twitter
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 18 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=htevent-recommendations
- > Warning in wp-content/plugins/ht-event/admin/cmb2/includes/helper-functions.php+44
include_once(wp-content/plugins/ht-event/admin/cmb2/includes/CMB2_Hookup.php): failed to open stream: No such file or directory
- 18 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=htevent-recommendations
- > Warning in wp-content/plugins/ht-event/admin/cmb2/includes/helper-functions.php+44
include_once(): Failed opening 'wp-content/plugins/ht-event/admin/cmb2/includes/CMB2_Hookup.php' for inclusion (include_path='.:/usr/share/php')
- 18 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=htevent-recommendations
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'CMB2_Hookup' not found
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
Please fix the following
- 54× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Multicheck' not found in wp-content/plugins/ht-event/admin/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller' not found in wp-content/plugins/ht-event/admin/cmb2/includes/rest-api/CMB2_REST_Controller_Boxes.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/ht-event/admin/cmb2/includes/types/CMB2_Type_Colorpicker.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/ht-event/admin/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/ht-event/admin/cmb2/includes/types/CMB2_Type_Multi_Base.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function cmb2_dir() in wp-content/plugins/ht-event/admin/cmb2/includes/rest-api/CMB2_REST_Controller.php:4
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/ht-event/admin/cmb2/includes/types/CMB2_Type_Select_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/ht-event/admin/cmb2/includes/types/CMB2_Type_Textarea.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text_Date' not found in wp-content/plugins/ht-event/admin/cmb2/includes/types/CMB2_Type_Text_Time.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/ht-event/admin/cmb2/includes/types/CMB2_Type_Picker_Base.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Please add an image for screenshot #19 (HT Event Accordinon)
- Screenshots: A description for screenshot #13 is required in ht-event/assets to your readme.txt
ht-event/htevent.php 85% from 13 tests
"HT Event - WordPress Event Manager Plugin for Elementor" version 1.4.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
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 ("ht-event.php" instead of "htevent.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Everything looks great! No dangerous files found in this plugin64,765 lines of code in 250 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 13,787 | 17,890 | 31,582 |
PHP | 94 | 3,790 | 6,977 | 19,100 |
CSS | 18 | 1,414 | 1,316 | 9,450 |
SVG | 2 | 0 | 0 | 2,883 |
JavaScript | 16 | 436 | 526 | 1,750 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 18.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 99.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 109 | |
▷ Abstract classes | 11 | 10.09% |
▷ Concrete classes | 98 | 89.91% |
▷ Final classes | 0 | 0.00% |
Methods | 797 | |
▷ Static methods | 105 | 13.17% |
▷ Public methods | 655 | 82.18% |
▷ Protected methods | 127 | 15.93% |
▷ Private methods | 15 | 1.88% |
Functions | 59 | |
▷ Named functions | 59 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 7 | 53.85% |
▷ Class constants | 6 | 46.15% |
▷ Public constants | 6 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
39 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) admin/assets/images/extensions/docus-pro.png | 3.98KB | 0.00KB | ▼ 100.00% |
admin/assets/images/extensions/ht-slider-addons-pro.png | 6.41KB | 4.35KB | ▼ 32.23% |
admin/assets/images/extensions/swatchly-pro.png | 13.99KB | 5.41KB | ▼ 61.37% |
admin/cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
admin/assets/images/extensions/hashbar-pro.png | 3.15KB | 3.30KB | 0.00% |