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.01MB] [CPU: ▼2.79ms] Passed 4 tests
Analyzing server-side resources used by Chamber Dashboard Events Calendar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.11 ▼0.97 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.92 ▼7.65 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.79 ▲0.42 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 104.05 ▲9.85 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.25 ▼2.97 |
Tags /wp-admin/edit-tags.php?taxonomy=event-tag&post_type=event | 3.04 | 24.33 |
Add New /wp-admin/post-new.php?post_type=event | 3.04 | 22.34 |
Categories /wp-admin/edit-tags.php?taxonomy=event-category&post_type=event | 3.04 | 25.13 |
All Events /wp-admin/edit.php?post_type=event | 3.04 | 25.53 |
Locations /wp-admin/edit-tags.php?taxonomy=event-location&post_type=event | 3.04 | 31.58 |
Server storage [IO: ▲5.95MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 348 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_cdash_events_calendar_widget |
widget_cdash_events_list_widget |
theysaidso_admin_options |
widget_cdash_events_categories_widget |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Chamber Dashboard Events Calendar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.18 ▼1.08 | 1.66 ▼0.04 | 43.28 ▼1.18 |
Dashboard /wp-admin | 2,200 ▲18 | 5.84 ▼0.20 | 101.95 ▼0.36 | 43.57 ▼6.17 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.00 | 42.55 ▲5.04 | 33.64 ▲1.02 |
Add New Post /wp-admin/post-new.php | 1,514 ▼16 | 17.62 ▼0.62 | 651.55 ▲30.83 | 50.44 ▼4.61 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.22 ▲0.07 | 95.04 ▼0.41 | 43.83 ▼0.22 |
Tags /wp-admin/edit-tags.php?taxonomy=event-tag&post_type=event | 28 | 0.44 | 0.06 | 3.46 |
Add New /wp-admin/post-new.php?post_type=event | 28 | 0.44 | 0.06 | 3.20 |
Categories /wp-admin/edit-tags.php?taxonomy=event-category&post_type=event | 28 | 0.44 | 0.08 | 3.53 |
All Events /wp-admin/edit.php?post_type=event | 28 | 0.44 | 0.07 | 3.57 |
Locations /wp-admin/edit-tags.php?taxonomy=event-location&post_type=event | 28 | 0.44 | 0.06 | 3.72 |
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
- This plugin did not uninstall successfully, leaving 9 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_cdash_events_calendar_widget
- widget_theysaidso_widget
- widget_cdash_events_categories_widget
- widget_cdash_events_list_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/chamber-dashboard-events-calendar/css/calendar_front_styles.php
- > /wp-content/plugins/chamber-dashboard-events-calendar/required_files.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/chamber-dashboard-events-calendar/member-events/add_events.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chamber-dashboard-events-calendar/includes/template-hooks.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/chamber-dashboard-events-calendar/member-events/me_functions.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit-tags.php?taxonomy=event-tag&post_type=event
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=event-tag&post_type=event - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/post-new.php?post_type=event
- > Network (severe)
wp-admin/post-new.php?post_type=event - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/edit-tags.php?taxonomy=event-category&post_type=event
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=event-category&post_type=event - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/edit.php?post_type=event
- > Network (severe)
wp-admin/edit.php?post_type=event - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/edit-tags.php?taxonomy=event-location&post_type=event
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=event-location&post_type=event - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Please add images for these screenshots: #1 (Month View), #2 (Month view with event overlay), #3 (List view), #4 (Event Calendar options in the admin), #5 (Events widget setup), #6 (Events widget on the front end), #7 (Add events from the front end)
chamber-dashboard-events-calendar/cdash-event-calendar.php 69% from 13 tests
This is the main PHP file of "Chamber Dashboard Events Calendar" version 2.3.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Git Repository: An alternative Git repository was detected
- Main file name: It is recommended to name the main PHP file as the plugin slug ("chamber-dashboard-events-calendar.php" instead of "cdash-event-calendar.php")
- Description: The description should be shorter than 140 characters (currently 154 characters long)
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 detected78,456 lines of code in 309 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 204 | 1,463 | 5,313 | 46,219 |
JSON | 11 | 0 | 0 | 16,530 |
PHP | 43 | 1,948 | 1,470 | 8,174 |
TypeScript | 8 | 119 | 27 | 3,504 |
CSS | 21 | 584 | 784 | 2,965 |
PO File | 1 | 315 | 352 | 691 |
XML | 11 | 0 | 0 | 246 |
Sass | 1 | 12 | 0 | 74 |
Markdown | 9 | 38 | 0 | 53 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 55.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 197.00 |
Average method complexity | 7.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 98.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 149 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 139 | 93.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 6.71% |
Functions | 99 | |
▷ Named functions | 99 | 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 0% from 2 tests
Image compression 0% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
16 PNG files occupy 0.59MB with 0.43MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) images/icon-events-16.png | 0.65KB | 0.00KB | ▼ 100.00% |
screenshot-5.png | 32.79KB | 10.14KB | ▼ 69.08% |
screenshot-4.png | 190.63KB | 60.58KB | ▼ 68.22% |
screenshot-6.png | 38.46KB | 11.05KB | ▼ 71.27% |
screenshot-2.png | 43.96KB | 17.45KB | ▼ 60.31% |