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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.81MB] [CPU: ▲1.34ms] Passed 4 tests
Analyzing server-side resources used by WP Events Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.30 ▲0.83 | 51.37 ▲5.76 |
Dashboard /wp-admin | 4.11 ▲0.80 | 56.96 ▲5.12 |
Posts /wp-admin/edit.php | 4.16 ▲0.80 | 60.82 ▲9.57 |
Add New Post /wp-admin/post-new.php | 6.72 ▲0.83 | 88.99 ▼15.08 |
Media Library /wp-admin/upload.php | 4.03 ▲0.80 | 49.42 ▲13.17 |
Bookings /wp-admin/edit.php?post_type=event_auth_book | 4.08 | 45.73 |
Users /wp-admin/admin.php?page=tp-event-users | 4.00 | 40.62 |
Settings /wp-admin/admin.php?page=tp-event-setting | 4.10 | 42.45 |
Events /wp-admin/edit.php?post_type=tp_event | 4.08 | 42.85 |
Server storage [IO: ▲1.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 123 new files
Database: no new tables, 13 new options
New WordPress options |
---|
can_compress_scripts |
thimpress_events_forgot_password_page_id |
db_upgraded |
widget_theysaidso_widget |
widget_wpems_widget_countdown |
thimpress_events_register_page_id |
thimpress_events_account_page_id |
thimpress_events_reset_password_page_id |
thimpress_events_login_page_id |
thimpress-event-version |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WP Events Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,000 ▲239 | 13.90 ▼0.45 | 11.31 ▲9.20 | 45.13 ▲1.18 |
Dashboard /wp-admin | 2,237 ▲60 | 4.97 ▼0.69 | 96.02 ▲5.33 | 39.27 ▼1.56 |
Posts /wp-admin/edit.php | 2,152 ▲52 | 2.24 ▲0.28 | 44.05 ▲7.94 | 35.37 ▲2.49 |
Add New Post /wp-admin/post-new.php | 1,565 ▲37 | 23.07 ▼0.09 | 674.39 ▲11.99 | 56.07 ▲0.87 |
Media Library /wp-admin/upload.php | 1,443 ▲46 | 4.58 ▲0.39 | 109.98 ▲3.29 | 49.58 ▲1.42 |
Bookings /wp-admin/edit.php?post_type=event_auth_book | 1,123 | 2.34 | 42.63 | 29.23 |
Users /wp-admin/admin.php?page=tp-event-users | 985 | 2.18 | 29.44 | 30.98 |
Settings /wp-admin/admin.php?page=tp-event-setting | 1,265 | 2.17 | 30.03 | 45.40 |
Events /wp-admin/edit.php?post_type=tp_event | 1,213 | 2.18 | 38.05 | 31.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 13 options
- can_compress_scripts
- thimpress_events_forgot_password_page_id
- widget_recent-posts
- widget_recent-comments
- thimpress_events_login_page_id
- widget_wpems_widget_countdown
- thimpress_events_account_page_id
- thimpress-event-version
- thimpress_events_reset_password_page_id
- theysaidso_admin_options
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: event, locations, registration, google maps, events...
wp-events-manager/wp-events-manager.php Passed 13 tests
The entry point to "WP Events Manager" version 2.1.10 is a PHP file that has certain tags in its header comment area
65 characters long description:
A complete plugin for Events management and online booking system
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected11,154 lines of code in 106 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 79 | 1,247 | 2,120 | 5,247 |
JavaScript | 14 | 712 | 466 | 4,464 |
CSS | 10 | 139 | 40 | 916 |
SVG | 3 | 0 | 0 | 527 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 14.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 33 | |
▷ Abstract classes | 2 | 6.06% |
▷ Concrete classes | 31 | 93.94% |
▷ Final classes | 1 | 3.23% |
Methods | 204 | |
▷ Static methods | 62 | 30.39% |
▷ Public methods | 195 | 95.59% |
▷ Protected methods | 3 | 1.47% |
▷ Private methods | 6 | 2.94% |
Functions | 72 | |
▷ Named functions | 72 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/libraries/owl-carousel/css/grabbing.png | 0.11KB | 0.14KB | 0.00% |
assets/images/map-marker.png | 2.70KB | 2.88KB | 0.00% |
inc/gateways/paypal/paypal.png | 4.53KB | 1.48KB | ▼ 67.43% |