Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/digital-events-calendar/includes/compatibility/Shortcodes.php+4
Undefined variable: event_listing
Server metrics [RAM: ▼1.82MB] [CPU: ▼53.60ms] Passed 4 tests
An overview of server-side resources used by Digital Events Calendar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.12 ▼1.34 | 4.72 ▼40.02 |
Dashboard /wp-admin | 2.20 ▼1.11 | 10.37 ▼41.02 |
Posts /wp-admin/edit.php | 2.20 ▼1.16 | 6.82 ▼42.63 |
Add New Post /wp-admin/post-new.php | 2.20 ▼3.69 | 6.39 ▼90.73 |
Media Library /wp-admin/upload.php | 2.20 ▼1.03 | 5.82 ▼27.65 |
New Event /wp-admin/post-new.php?post_type=event | 2.20 | 7.47 |
Event Categories /wp-admin/edit-tags.php?taxonomy=event_cat&post_type=event | 2.20 | 7.28 |
All Events /wp-admin/edit.php?post_type=event | 2.20 | 8.16 |
Settings /wp-admin/edit.php?post_type=event&page=digital-event-calendar-settings | 2.20 | 8.34 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Digital Events Calendar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,974 ▲239 | 13.89 ▼0.54 | 4.61 ▲2.66 | 39.52 ▼2.82 |
Dashboard /wp-admin | 2,265 ▲74 | 5.10 ▼0.78 | 111.10 ▲9.74 | 42.17 ▼2.63 |
Posts /wp-admin/edit.php | 2,150 ▲61 | 2.43 ▲0.43 | 41.14 ▲7.21 | 34.52 ▼1.18 |
Add New Post /wp-admin/post-new.php | 1,569 ▲35 | 18.67 ▼4.54 | 586.42 ▼104.97 | 34.49 ▼24.67 |
Media Library /wp-admin/upload.php | 1,447 ▲62 | 4.53 ▲0.35 | 99.76 ▲1.53 | 42.50 ▲0.98 |
New Event /wp-admin/post-new.php?post_type=event | 2,711 | 7.97 | 182.14 | 61.90 |
Event Categories /wp-admin/edit-tags.php?taxonomy=event_cat&post_type=event | 1,325 | 2.08 | 32.25 | 27.51 |
All Events /wp-admin/edit.php?post_type=event | 1,159 | 2.29 | 33.80 | 28.54 |
Settings /wp-admin/edit.php?post_type=event&page=digital-event-calendar-settings | 1,005 | 2.57 | 41.04 | 23.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/digital-events-calendar/includes/compatibility/Shortcodes.php+4
Undefined variable: event_listing
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=event&page=digital-event-calendar-settings
- > Notice in wp-content/plugins/digital-events-calendar/includes/compatibility/Shortcodes.php+4
Undefined variable: event_listing
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
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/digital-events-calendar/includes/compatibility/Admin_Menu.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/digital-events-calendar/includes/metabox/events-metabox.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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
4 plugin tags: event, schedule, calendar, event calendar
digital-events-calendar/event-calender.php 77% from 13 tests
The main file in "Digital Events Calendar" v. 1.0.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: Please keep the plugin description shorter than 140 characters (currently 147 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("digital-events-calendar.php" instead of "event-calender.php")
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
No dangerous file extensions were detected4,967 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 186 | 58 | 3,298 |
PHP | 12 | 236 | 206 | 1,503 |
PO File | 1 | 47 | 64 | 118 |
JavaScript | 2 | 5 | 8 | 48 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 34.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 208.00 |
Average method complexity | 6.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 95.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 45 | |
▷ Static methods | 5 | 11.11% |
▷ Public methods | 33 | 73.33% |
▷ Protected methods | 7 | 15.56% |
▷ Private methods | 5 | 11.11% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/arrow_left.png | 0.15KB | 0.12KB | ▼ 16.67% |
assets/css/arrow_right.png | 0.15KB | 0.12KB | ▼ 18.18% |