Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.60ms] Passed 4 tests
Server-side resources used by Upcoming Events Lists
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 38.09 ▼2.40 |
Dashboard /wp-admin | 3.36 ▲0.02 | 46.65 ▼12.75 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 49.20 ▲6.47 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 82.62 ▼6.62 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 31.18 ▼0.62 |
Add New /wp-admin/post-new.php?post_type=event | 3.41 | 43.77 |
All Events /wp-admin/edit.php?post_type=event | 3.33 | 37.46 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_sis_upcoming_events |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Upcoming Events Lists: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲60 | 14.16 ▼0.19 | 1.80 ▼0.01 | 43.89 ▼0.08 |
Dashboard /wp-admin | 2,222 ▲41 | 5.53 ▼0.18 | 94.31 ▼19.13 | 39.88 ▼2.25 |
Posts /wp-admin/edit.php | 2,127 ▲30 | 2.00 ▼0.02 | 39.32 ▲2.90 | 36.27 ▼0.82 |
Add New Post /wp-admin/post-new.php | 6,387 ▲4,861 | 27.71 ▲4.82 | 901.07 ▲306.04 | 54.10 ▲5.09 |
Media Library /wp-admin/upload.php | 1,424 ▲21 | 4.22 ▲0.02 | 96.45 ▼1.49 | 64.45 ▲23.29 |
Add New /wp-admin/post-new.php?post_type=event | 2,460 | 7.63 | 197.63 | 66.29 |
All Events /wp-admin/edit.php?post_type=event | 1,099 | 1.90 | 30.93 | 29.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_sis_upcoming_events
- can_compress_scripts
- db_upgraded
Smoke tests 75% 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 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
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/post-new.php?post_type=event
- > Network (severe)
wp-content/plugins/upcoming-events-lists/assets/css/admin-style.css?ver=1.4.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/post-new.php?post_type=event
- > Network (severe)
wp-content/plugins/upcoming-events-lists/assets/js/admin.js?ver=1.4.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: events, widget, calendar, feed, upcoming-events
upcoming-events-lists/upcoming-events-lists.php 85% from 13 tests
"Upcoming Events Lists" version 1.4.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages/")
- Domain Path: Please prefix the domain path with a forward slash character ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin1,202 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 330 | 730 | 1,200 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 13.09 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 98 | |
▷ Static methods | 14 | 14.29% |
▷ Public methods | 87 | 88.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 11.22% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 8 | |
▷ Global constants | 7 | 87.50% |
▷ Class constants | 1 | 12.50% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected