Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼10.25ms] Passed 4 tests
An overview of server-side resources used by Display Event Location for The Events Calendar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.86 ▼6.89 |
Dashboard /wp-admin | 3.35 ▲0.01 | 51.50 ▼10.81 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 55.03 ▲4.94 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 85.30 ▼20.38 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 34.08 ▼2.92 |
Display Event Location for The Events Calendar /wp-admin/options-general.php?page=deltec_settings | 3.22 | 31.88 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Display Event Location for The Events Calendar
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.35 ▼0.00 | 1.92 ▲0.25 | 43.84 ▲0.35 |
Dashboard /wp-admin | 2,199 ▲19 | 5.51 ▼0.15 | 91.59 ▲0.79 | 40.57 ▼0.71 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.01 ▼0.01 | 39.79 ▼0.09 | 36.56 ▼3.94 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.13 ▼0.04 | 684.57 ▲1.05 | 54.04 ▼2.18 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.25 ▲0.13 | 100.21 ▼10.18 | 48.75 ▼0.20 |
Display Event Location for The Events Calendar /wp-admin/options-general.php?page=deltec_settings | 841 | 1.99 | 29.59 | 28.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=deltec_settings
- > Notice in wp-content/plugins/display-event-locations-tec/includes/settings-page/settings-page.php+41
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/display-event-locations-tec/tribe-templates/month/tooltip-venue.php:2
- > 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
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: template, override, events, customization, modern-tribe
display-event-locations-tec/display-event-locations-tec.php Passed 13 tests
The main PHP file in "Display Event Location for The Events Calendar" ver. 4.3.0 adds more information about the plugin and also serves as the entry point for this plugin
138 characters long description:
Display an event's venue (location) in the tooltip of the monthly calendar view when using The Events Calendar or The Events Calendar Pro.
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 detected598 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 1 | 100 | 0 | 378 |
PHP | 7 | 70 | 149 | 220 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 15 | 93.75% |
▷ Anonymous functions | 1 | 6.25% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin