Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▲1.51ms] Passed 4 tests
A check of server-side resources used by Event Manager and Tickets Selling Plugin for WooCommerce - WpEvently - WordPress Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 39.08 ▲0.28 |
Dashboard /wp-admin | 3.47 ▲0.17 | 48.09 ▼4.28 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 50.61 ▲7.14 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 95.12 ▲11.07 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 36.07 ▲2.91 |
Quick Setup /wp-admin/admin.php?page=mpwem_quick_setup | 3.36 | 34.89 |
Events /wp-admin/admin.php?page=mep_events | 3.36 | 31.88 |
Server storage [IO: ▲4.39MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 194 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Event Manager and Tickets Selling Plugin for WooCommerce - WpEvently - WordPress Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,034 ▲287 | 13.08 ▼1.24 | 1.88 ▲0.15 | 40.58 ▼5.66 |
Dashboard /wp-admin | 2,411 ▲231 | 5.80 ▲0.14 | 102.68 ▲1.15 | 40.12 ▼6.09 |
Posts /wp-admin/edit.php | 2,280 ▲177 | 2.29 ▲0.31 | 51.65 ▲16.48 | 35.26 ▲0.71 |
Add New Post /wp-admin/post-new.php | 1,565 ▲39 | 23.16 ▼0.53 | 624.38 ▼64.92 | 51.58 ▼0.43 |
Media Library /wp-admin/upload.php | 1,646 ▲249 | 4.48 ▲0.27 | 101.49 ▲1.29 | 40.65 ▼3.35 |
Quick Setup /wp-admin/admin.php?page=mpwem_quick_setup | 1,184 | 2.44 | 63.30 | 53.16 |
Events /wp-admin/admin.php?page=mep_events | 1,184 | 2.37 | 63.67 | 44.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 42× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/mage-eventpress/templates/taxonomy-organozer.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/mage-eventpress/templates/page-city-filter.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/mage-eventpress/templates/event-archive.php:2
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/mage-eventpress/support/elementor/elementor-support.php on line 85
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_permalink() in wp-content/plugins/mage-eventpress/templates/all-speaker-list.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function mep_get_option() in wp-content/plugins/mage-eventpress/templates/themes/theme-1.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_mep_datetime() in wp-content/plugins/mage-eventpress/templates/list/timeline.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_post_thumbnail() in wp-content/plugins/mage-eventpress/templates/single/thumbnail.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function mep_get_option() in wp-content/plugins/mage-eventpress/templates/single/location_list.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/mage-eventpress/support/elementor/elementor-support.php:86
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=mpwem_quick_setup
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: mp_date_format is not defined" "ReferenceError: mp_date_format is not defined\n at e.\u003Ccomputed>.\u003Canonymous> (/wp-content/plugins/mage-eventpress/assets/helper/mp_style/mp_script.js?ver=1699261705:85:16)\n at c (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:25266)\n at Object.add [as done] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:25545)\n at mp_load_date_picker (/wp-content/plugins/mage-eventpress/assets/helper/mp_style/mp_script.js?ver=1699261705:83:15)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/mage-eventpress/assets/helper/mp_style/mp_script.js?ver=1699261705:104:3)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=mpwem_quick_setup
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).find(...).sortable is not a function" "TypeError: $(...).find(...).sortable is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/mage-eventpress/assets/admin/mp_admin_settings.js?ver=1699261705:14:41)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mep_events
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught ReferenceError: mp_date_format is not defined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mep_events
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).find(...).sortable is not a function
- > GET request to /wp-admin/admin.php?page=mep_events
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: mp_date_format is not defined" "ReferenceError: mp_date_format is not defined\n at e.\u003Ccomputed>.\u003Canonymous> (/wp-content/plugins/mage-eventpress/assets/helper/mp_style/mp_script.js?ver=1699261707:85:16)\n at c (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:25266)\n at Object.add [as done] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:25545)\n at mp_load_date_picker (/wp-content/plugins/mage-eventpress/assets/helper/mp_style/mp_script.js?ver=1699261707:83:15)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/mage-eventpress/assets/helper/mp_style/mp_script.js?ver=1699261707:104:3)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=mep_events
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).find(...).sortable is not a function" "TypeError: $(...).find(...).sortable is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/mage-eventpress/assets/admin/mp_admin_settings.js?ver=1699261707:14:41)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #2, #20, #21, #22, #23, #24, #25, #26, #27, #28, #29, #3, #30, #31, #32, #33, #34, #35, #36, #37, #38, #39, #4, #5, #6, #7, #8, #9 in mage-eventpress/assets to your readme.txt
mage-eventpress/woocommerce-event-press.php 77% from 13 tests
The main PHP file in "Event Manager and Tickets Selling Plugin for WooCommerce - WpEvently - WordPress Plugin" ver. 4.1.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("mage-eventpress.php" instead of "woocommerce-event-press.php")
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.3" instead of "3.0.9")
- Plugin Name: Please don't use more than 70 characters for the plugin name (currently 87 characters long)
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin74,996 lines of code in 169 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 131 | 4,886 | 1,683 | 35,472 |
PO File | 7 | 12,257 | 15,287 | 25,734 |
CSS | 14 | 578 | 439 | 8,581 |
JavaScript | 13 | 312 | 181 | 2,346 |
SVG | 3 | 1 | 3 | 2,306 |
HTML | 1 | 69 | 4 | 557 |
PHP code 0% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 2,372)
- Method cyclomatic complexity should be reduced to less than 100 (currently 117)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 69.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,372.00 |
Average method complexity | 7.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 117.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 47 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 47 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 488 | |
▷ Static methods | 42 | 8.61% |
▷ Public methods | 394 | 80.74% |
▷ Protected methods | 45 | 9.22% |
▷ Private methods | 49 | 10.04% |
Functions | 297 | |
▷ Named functions | 296 | 99.66% |
▷ Anonymous functions | 1 | 0.34% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/helper/images/arrow_down.png | 1.06KB | 0.24KB | ▼ 77.47% |
assets/helper/images/ullimited_img.png | 46.06KB | 23.07KB | ▼ 49.91% |
assets/helper/images/arrow_up.png | 1.03KB | 0.23KB | ▼ 77.65% |
assets/helper/images/calendar.png | 0.58KB | 0.57KB | ▼ 1.01% |
assets/helper/images/no_image.png | 5.83KB | 5.34KB | ▼ 8.41% |