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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.66MB] [CPU: ▲7.42ms] Passed 4 tests
An overview of server-side resources used by Simple Event Planner
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.16 ▲0.69 | 47.20 ▲6.68 |
Dashboard /wp-admin | 3.99 ▲0.68 | 56.34 ▲4.19 |
Posts /wp-admin/edit.php | 4.02 ▲0.66 | 56.30 ▲11.70 |
Add New Post /wp-admin/post-new.php | 6.62 ▲0.73 | 104.57 ▲7.12 |
Media Library /wp-admin/upload.php | 3.85 ▲0.62 | 49.53 ▲14.49 |
Add New /wp-admin/post-new.php?post_type=event_listing | 6.63 | 94.02 |
All Events /wp-admin/edit.php?post_type=event_listing | 3.97 | 52.39 |
Settings /wp-admin/edit.php?post_type=event_listing&page=event-planner-settings | 3.90 | 43.19 |
Categories /wp-admin/edit-tags.php?taxonomy=event_listing_category&post_type=event_listing | 3.94 | 47.64 |
Server storage [IO: ▲3.33MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 122 new files
Database: no new tables, 7 new options
New WordPress options |
---|
sep_event_options |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Event Planner
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,946 ▲211 | 13.99 ▼0.38 | 5.70 ▲3.87 | 41.10 ▼3.60 |
Dashboard /wp-admin | 2,241 ▲53 | 5.88 ▲0.98 | 104.33 ▼12.44 | 43.17 ▼1.56 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.03 ▲0.03 | 40.11 ▲2.44 | 35.64 ▲1.15 |
Add New Post /wp-admin/post-new.php | 1,568 ▲34 | 18.39 ▼4.68 | 618.15 ▼49.97 | 50.71 ▲0.53 |
Media Library /wp-admin/upload.php | 1,423 ▲32 | 4.19 ▼0.04 | 94.42 ▼3.14 | 45.26 ▲2.70 |
Add New /wp-admin/post-new.php?post_type=event_listing | 10,852 | 23.42 | 1,158.59 | 69.90 |
All Events /wp-admin/edit.php?post_type=event_listing | 1,370 | 4.39 | 60.29 | 81.83 |
Settings /wp-admin/edit.php?post_type=event_listing&page=event-planner-settings | 2,156 | 4.52 | 109.51 | 100.60 |
Categories /wp-admin/edit-tags.php?taxonomy=event_listing_category&post_type=event_listing | 1,498 | 4.23 | 51.25 | 55.25 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 25% 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 fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/simple-event-planner/public/partials/single-event/ical.php
- > /wp-content/plugins/simple-event-planner/public/partials/simple-event-planner-public-display.php
- 38× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to get property 'query_vars' of non-object in wp-content/plugins/simple-event-planner/public/partials/event-listing/event-pagination.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function sep_get_the_event_category() in wp-content/plugins/simple-event-planner/public/partials/single-event/event-details/category.php:17
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/simple-event-planner/public/partials/event-listing/event-pagination.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function sep_get_the_event_start_date() in wp-content/plugins/simple-event-planner/public/partials/single-event/event-schedule.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_simple_event_planner_template() in wp-content/plugins/simple-event-planner/public/partials/event-listing/schedule.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function sep_get_the_event_start_date() in wp-content/plugins/simple-event-planner/public/partials/event-listing/date.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function sep_get_slugs() in wp-content/plugins/simple-event-planner/public/partials/event-listing/content-no-events-found.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function sep_get_the_event_image() in wp-content/plugins/simple-event-planner/public/partials/content-event-listing-grid-view.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/simple-event-planner/public/partials/event-listing/title.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function sep_get_event_segment() in wp-content/plugins/simple-event-planner/public/partials/single-event/event-details/event-segments.php:18
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/post-new.php?post_type=event_listing
- > Console-api (warning) in unknown
https://maps.googleapis.com/maps/api/js?v=3&libraries=places&ver=3.31 334:267 "Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading"
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
10 plugin tags: event calendar, venue, event management, events, ical...
simple-event-planner/simple-event-planner.php Passed 13 tests
The entry point to "Simple Event Planner" version 1.5.6 is a PHP file that has certain tags in its header comment area
112 characters long description:
A powerful & flexible plugin to create event listing and event calendar on your website in simple & elegant way.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected17,377 lines of code in 94 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 22 | 102 | 6,888 |
PHP | 67 | 771 | 2,776 | 3,382 |
JavaScript | 16 | 326 | 366 | 3,202 |
SVG | 1 | 0 | 0 | 2,672 |
PO File | 5 | 574 | 727 | 1,233 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 9.95 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 3.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 5 | 6.33% |
▷ Public methods | 72 | 91.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 8.86% |
Functions | 56 | |
▷ Named functions | 56 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/sep-icon.png | 1.35KB | 0.79KB | ▼ 41.95% |
admin/images/simple-event-planner.png | 3.51KB | 1.12KB | ▼ 68.05% |
admin/images/powerByIcon.png | 4.24KB | 2.30KB | ▼ 45.71% |
admin/images/logo-simple-event-planner.png | 3.55KB | 2.41KB | ▼ 32.18% |