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.57MB] [CPU: ▲0.19ms] Passed 4 tests
Analyzing server-side resources used by XO Event Calendar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.45 | 38.09 ▼1.79 |
Dashboard /wp-admin | 3.90 ▲0.59 | 48.44 ▲0.36 |
Posts /wp-admin/edit.php | 4.02 ▲0.66 | 55.45 ▲3.61 |
Add New Post /wp-admin/post-new.php | 6.60 ▲0.70 | 99.21 ▼1.44 |
Media Library /wp-admin/upload.php | 3.82 ▲0.59 | 37.03 ▲4.57 |
Holiday Settings /wp-admin/edit.php?post_type=xo_event&page=xo-event-holiday-settings | 3.80 | 33.28 |
Category /wp-admin/edit-tags.php?taxonomy=xo_event_cat&post_type=xo_event | 3.82 | 42.38 |
Settings /wp-admin/edit.php?post_type=xo_event&page=xo-event-settings | 3.79 | 33.94 |
All Events /wp-admin/edit.php?post_type=xo_event | 3.87 | 39.88 |
Add New /wp-admin/post-new.php?post_type=xo_event | 6.59 | 87.38 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 36 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
xo_event_calendar_holiday_settings |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_xo_event_calendar |
Browser metrics Passed 4 tests
A check of browser resources used by XO Event Calendar
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲110 | 14.35 ▲0.01 | 1.89 ▲0.16 | 38.70 ▼5.84 |
Dashboard /wp-admin | 2,236 ▲59 | 5.61 ▼0.06 | 91.60 ▼10.48 | 41.01 ▼6.80 |
Posts /wp-admin/edit.php | 2,141 ▲44 | 1.97 ▼0.04 | 41.55 ▲1.80 | 36.46 ▼0.77 |
Add New Post /wp-admin/post-new.php | 6,406 ▲4,880 | 27.76 ▲4.69 | 801.38 ▲121.51 | 37.94 ▼14.18 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.16 ▼0.02 | 98.50 ▼0.17 | 41.98 ▼1.49 |
Holiday Settings /wp-admin/edit.php?post_type=xo_event&page=xo-event-holiday-settings | 1,203 | 2.30 | 47.59 | 34.06 |
Category /wp-admin/edit-tags.php?taxonomy=xo_event_cat&post_type=xo_event | 1,471 | 2.46 | 49.08 | 30.41 |
Settings /wp-admin/edit.php?post_type=xo_event&page=xo-event-settings | 864 | 2.01 | 23.93 | 29.78 |
All Events /wp-admin/edit.php?post_type=xo_event | 1,203 | 1.90 | 30.38 | 30.65 |
Add New /wp-admin/post-new.php?post_type=xo_event | 1,955 | 16.73 | 864.53 | 29.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-posts
- widget_xo_event_calendar
- widget_recent-comments
- widget_theysaidso_widget
- xo_event_calendar_holiday_settings
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/xo-event-calendar/inc/event-calendar-widget.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 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
5 plugin tags: events, event, calendar, events calendar, block
xo-event-calendar/xo-event-calendar.php Passed 13 tests
This is the main PHP file of "XO Event Calendar" version 3.2.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
52 characters long description:
XO Event Calendar is a simple event calendar plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin4,630 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 337 | 668 | 2,324 |
JavaScript | 9 | 57 | 2 | 984 |
Sass | 4 | 131 | 5 | 707 |
JSON | 4 | 0 | 0 | 354 |
CSS | 6 | 36 | 18 | 181 |
SVG | 2 | 0 | 0 | 80 |
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.42 |
Average class complexity | 107.25 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 235.00 |
Average method complexity | 5.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 8 | 11.27% |
▷ Public methods | 60 | 84.51% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 15.49% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin