Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼1.79ms] Passed 4 tests
An overview of server-side resources used by UM Events
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.28 | 47.53 ▲8.97 |
Dashboard /wp-admin | 3.64 ▲0.33 | 47.51 ▼15.42 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 60.83 ▲6.19 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 104.82 ▲0.97 |
Media Library /wp-admin/upload.php | 3.50 ▲0.26 | 37.22 ▲1.11 |
Add New /wp-admin/post-new.php?post_type=um_events | 3.55 | 52.47 |
Settings /wp-admin/edit.php?post_type=um_events&page=um_events_settings | 3.47 | 36.94 |
All Events /wp-admin/edit.php?post_type=um_events | 3.54 | 36.54 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
UM Events: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,020 ▲259 | 14.14 ▼0.13 | 17.93 ▲15.93 | 42.23 ▼3.21 |
Dashboard /wp-admin | 2,239 ▲62 | 5.68 ▲0.15 | 92.21 ▼6.12 | 40.37 ▼7.17 |
Posts /wp-admin/edit.php | 2,147 ▲44 | 2.08 ▲0.11 | 38.42 ▼1.17 | 34.29 ▲0.52 |
Add New Post /wp-admin/post-new.php | 1,565 ▲30 | 23.68 ▲5.74 | 661.36 ▲1.58 | 56.08 ▼11.45 |
Media Library /wp-admin/upload.php | 1,447 ▲47 | 4.24 ▲0.08 | 95.81 ▼8.51 | 45.47 ▼2.94 |
Add New /wp-admin/post-new.php?post_type=um_events | 1,776 | 3.86 | 65.14 | 42.42 |
Settings /wp-admin/edit.php?post_type=um_events&page=um_events_settings | 869 | 1.72 | 25.05 | 29.64 |
All Events /wp-admin/edit.php?post_type=um_events | 1,113 | 1.97 | 31.63 | 30.87 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
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 | 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 fix the following
- 17× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/um-events-lite-for-ultimate-member/templates/event-view.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr__() in wp-content/plugins/um-events-lite-for-ultimate-member/includes/class-um-events-admin.php:80
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/um-events-lite-for-ultimate-member/includes/um-events-posttypes.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/um-events-lite-for-ultimate-member/templates/events-list-tab-form.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function um_events_restrict_uploads() in wp-content/plugins/um-events-lite-for-ultimate-member/templates/events-list.php:1
- > PHP Notice
Undefined variable: events in wp-content/plugins/um-events-lite-for-ultimate-member/templates/events-list-tab.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/um-events-lite-for-ultimate-member/includes/um-events-template.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/um-events-lite-for-ultimate-member/um-events-lite-for-ultimate-member.php:16
- > PHP Notice
Undefined variable: post_id in wp-content/plugins/um-events-lite-for-ultimate-member/templates/event-list-item.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/um-events-lite-for-ultimate-member/templates/event-list-item.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=um_events
- > Network (severe)
wp-content/plugins/um-events-lite-for-ultimate-member/assets/css/chosen.min.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=um_events
- > Network (severe)
wp-content/plugins/um-events-lite-for-ultimate-member/assets/js/chosen.jquery.min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=um_events
- > Javascript (severe) in unknown
/wp-content/plugins/um-events-lite-for-ultimate-member/assets/js/um-events.js?ver=6.3.1 7:4371 Uncaught TypeError: Cannot read properties of undefined (reading 'EventSource')
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: events list, ultimate member events, ultimatemember events calendar, events, ultimate member...
um-events-lite-for-ultimate-member/um-events-lite-for-ultimate-member.php 92% from 13 tests
The main file in "UM Events" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin6,806 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 307 | 174 | 3,612 |
JavaScript | 7 | 279 | 300 | 1,763 |
PHP | 16 | 138 | 357 | 1,431 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 15.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 1 | 1.92% |
▷ Public methods | 51 | 98.08% |
▷ Protected methods | 1 | 1.92% |
▷ Private methods | 0 | 0.00% |
Functions | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
9 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/calendar.png | 0.15KB | 0.15KB | 0.00% |
assets/images/metallic/default-date.png | 0.09KB | 0.16KB | 0.00% |
assets/css/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
assets/images/metallic/selected-date.png | 0.11KB | 0.11KB | 0.00% |
assets/images/themes.png | 10.02KB | 10.66KB | 0.00% |