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
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/ci-eventspot/ci-event-spot.php+28
Function create_function() is deprecated
Server metrics [RAM: ▼1.91MB] [CPU: ▼50.60ms] Passed 4 tests
This is a short check of server-side resources used by CI EventSpot
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 8.14 ▼29.64 |
Dashboard /wp-admin | 2.09 ▼1.21 | 6.62 ▼42.27 |
Posts /wp-admin/edit.php | 2.09 ▼1.26 | 6.44 ▼41.51 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.79 | 6.14 ▼88.98 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 8.14 ▼23.93 |
1 /wp-admin/admin.php?page=es_manage_event | 2.09 | 7.35 |
1 /wp-admin/admin.php?page=es_tutorial | 2.09 | 6.43 |
1 /wp-admin/admin.php?page=es_update_event | 2.09 | 5.48 |
1 /wp-admin/admin.php?page=es_help_page | 2.09 | 6.83 |
1 /wp-admin/admin.php?page=es_settings_page | 2.09 | 6.30 |
Server storage [IO: ▲2.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 48 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
widget_cies_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for CI EventSpot
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,108 ▲362 | 14.06 ▼0.31 | 10.73 ▲8.99 | 52.00 ▲10.89 |
Dashboard /wp-admin | 2,277 ▲89 | 5.10 ▲0.25 | 139.07 ▲23.05 | 98.50 ▲57.21 |
Posts /wp-admin/edit.php | 2,160 ▲71 | 2.41 ▲0.40 | 44.80 ▲8.12 | 47.91 ▲11.74 |
Add New Post /wp-admin/post-new.php | 1,561 ▲28 | 17.69 ▼5.52 | 610.77 ▼33.17 | 36.97 ▼10.79 |
Media Library /wp-admin/upload.php | 1,450 ▲65 | 4.37 ▲0.14 | 110.11 ▲7.99 | 80.48 ▲36.04 |
1 /wp-admin/admin.php?page=es_manage_event | 3,413 | 1.92 | 40.55 | 54.74 |
1 /wp-admin/admin.php?page=es_tutorial | 1,003 | 1.85 | 28.04 | 31.13 |
1 /wp-admin/admin.php?page=es_update_event | 3,489 | 1.89 | 36.94 | 51.27 |
1 /wp-admin/admin.php?page=es_help_page | 891 | 1.88 | 26.34 | 29.73 |
1 /wp-admin/admin.php?page=es_settings_page | 963 | 1.87 | 32.84 | 31.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/ci-eventspot/ci-event-spot.php+28
Function create_function() is deprecated
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_cies_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 0% 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 errors were triggered by the plugin
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_settings_page
- > Deprecated in wp-content/plugins/ci-eventspot/ci-event-spot.php+28
Function create_function() is deprecated
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_settings_page
- > Deprecated in wp-content/plugins/ci-eventspot/controller/es_widget.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; cies_widget has a deprecated constructor
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_settings_page
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-core handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_settings_page
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-datepicker handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_settings_page
- > User notice in wp-includes/functions.php+5905
Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_settings_page
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_settings_page
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in cies_widget is deprecated since version 4.3.0! Use __construct() instead.
- 15 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_settings_page
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/admin.php?page=es_manage_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_manage_event.php+870
Undefined index: results
- > GET request to /wp-admin/admin.php?page=es_manage_event
- > Warning in wp-content/plugins/ci-eventspot/view/es_manage_event.php+871
count(): Parameter must be an array or an object that implements Countable
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+12
Undefined index: event_id
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+25
Undefined index: title
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+30
Undefined index: name
- 25 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+61
Undefined index: type
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+67
Undefined index: description
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+78
Undefined index: start_date
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+79
Undefined index: end_date
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+81
Undefined offset: 1
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+211
Undefined variable: selected_pm
- 126 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+346
Undefined index: time_zone_id
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+366
Undefined index: location
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+370
Undefined index: city
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+358
Undefined index: state
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+358
Undefined index: country
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+865
Undefined index: postal_code
- 240 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+859
Undefined index: country_code
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+887
Undefined index: contact
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Notice in wp-content/plugins/ci-eventspot/view/es_update_event.php+887
Trying to access array offset on value of type null
- > GET request to /wp-admin/admin.php?page=es_settings_page
- > Notice in wp-content/plugins/ci-eventspot/ci-event-spot.php+112
Undefined index: constant_contact_api_key
- > GET request to /wp-admin/admin.php?page=es_settings_page
- > Notice in wp-content/plugins/ci-eventspot/ci-event-spot.php+131
Undefined index: constant_contact_secret_key
- > GET request to /wp-admin/admin.php?page=es_settings_page
- > Notice in wp-content/plugins/ci-eventspot/ci-event-spot.php+150
Undefined index: constant_contact_access_token
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ci-eventspot/view/es_dashboard.php
- > /wp-content/plugins/ci-eventspot/view/es_settings.php
- > /wp-content/plugins/ci-eventspot/view/es_header.php
- > /wp-content/plugins/ci-eventspot/view/es_support.php
- 37× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ci-eventspot/controller/es_widget.php:3
- > PHP Notice
Undefined index: page in wp-content/plugins/ci-eventspot/view/es_header.php on line 15
- > PHP Notice
Undefined index: page in wp-content/plugins/ci-eventspot/view/es_header.php on line 15
- > PHP Notice
Undefined index: page in wp-content/plugins/ci-eventspot/view/es_header.php on line 12
- > PHP Notice
Undefined variable: api_key in wp-content/plugins/ci-eventspot/view/es_settings.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ci-eventspot/controller/function.php:100
- > PHP Notice
Undefined index: page in wp-content/plugins/ci-eventspot/view/es_header.php on line 15
- > PHP Notice
Undefined variable: secret_key in wp-content/plugins/ci-eventspot/view/es_settings.php on line 25
- > PHP Notice
Undefined index: page in wp-content/plugins/ci-eventspot/view/es_header.php on line 9
- > PHP Notice
Undefined index: page in wp-content/plugins/ci-eventspot/view/es_header.php on line 12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=es_manage_event
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=es_manage_event 148:22 Uncaught TypeError: jQuery(...).live is not a function
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Network (severe)
wp-content/plugins/ci-eventspot/js/images/ui-bg_flat_75_ffffff_40x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=es_tutorial
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=es_tutorial 148:22 Uncaught TypeError: jQuery(...).live is not a function
- > GET request to /wp-admin/admin.php?page=es_update_event
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=es_update_event 148:22 Uncaught TypeError: jQuery(...).live is not a function
- > GET request to /wp-admin/admin.php?page=es_help_page
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=es_help_page 148:22 Uncaught TypeError: jQuery(...).live is not a function
- > GET request to /wp-admin/admin.php?page=es_settings_page
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=es_settings_page 148:22 Uncaught TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Donate link: Please fix this invalid URI: ""
- Screenshots: No descriptions were found for these screenshots #0, #0, #0, #0 in ci-eventspot/assets to your readme.txt
ci-eventspot/ci-event-spot.php 85% from 13 tests
"CI EventSpot" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ci-eventspot.php" instead of "ci-event-spot.php")
- Requires at least: Required version must match the one declared in readme.txt ("4.6" instead of "4.4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin3,149 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 223 | 74 | 1,478 |
PHP | 11 | 312 | 57 | 1,012 |
JavaScript | 6 | 167 | 56 | 659 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.20 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
18 PNG files occupy 0.61MB with 0.33MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshort/EventSpot_80_80.png | 9.01KB | 3.01KB | ▼ 66.57% |
screenshort/preview/EventSpot_80_80.png | 9.01KB | 3.01KB | ▼ 66.57% |
screenshot2.png | 52.17KB | 29.48KB | ▼ 43.48% |
screenshort/EventSpot_widget.png | 56.12KB | 34.44KB | ▼ 38.63% |
screenshort/EventSpot_500_300.png | 45.22KB | 20.90KB | ▼ 53.78% |