Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲2.29MB] [CPU: ▲7.39ms] Passed 4 tests
Server-side resources used by Event Organiser
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.38 ▲1.92 | 54.83 ▲14.99 |
Dashboard /wp-admin | 5.72 ▲2.42 | 64.76 ▲17.62 |
Posts /wp-admin/edit.php | 5.78 ▲2.43 | 59.65 ▲8.57 |
Add New Post /wp-admin/post-new.php | 8.35 ▲2.47 | 94.03 ▼11.61 |
Media Library /wp-admin/upload.php | 5.63 ▲2.41 | 54.20 ▲21.08 |
Categories /wp-admin/edit-tags.php?taxonomy=event-category&post_type=event | 5.63 | 49.83 |
Extensions /wp-admin/edit.php?post_type=event&page=eo-addons | 5.63 | 454.09 |
System Info /wp-admin/edit.php?post_type=event&page=debug | 5.61 | 49.91 |
Add New /wp-admin/post-new.php?post_type=event | 5.79 | 68.50 |
Calendar View /wp-admin/edit.php?post_type=event&page=calendar | 5.62 | 49.41 |
Venues /wp-admin/edit.php?post_type=event&page=venues | 5.65 | 45.91 |
Event Organiser /wp-admin/options-general.php?page=event-settings | 5.63 | 46.04 |
All Events /wp-admin/edit.php?post_type=event | 5.71 | 52.69 |
Server storage [IO: ▲5.90MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 211 new files
Database: 2 new tables, 14 new options
New tables |
---|
wp_eo_events |
wp_eo_venuemeta |
New WordPress options |
---|
widget_theysaidso_widget |
widget_eo_events_agenda_widget |
widget_eo-event-venues |
widget_eo-event-categories |
eventorganiser_admin_notices |
widget_eo_calendar_widget |
db_upgraded |
widget_recent-comments |
eventorganiser_version |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
Event Organiser: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲155 | 13.20 ▼1.09 | 2.10 ▲0.41 | 38.70 ▼0.91 |
Dashboard /wp-admin | 2,266 ▲78 | 5.84 ▲0.97 | 99.29 ▼23.79 | 37.09 ▼2.55 |
Posts /wp-admin/edit.php | 2,155 ▲69 | 2.03 ▲0.06 | 33.55 ▼6.80 | 33.48 ▼3.88 |
Add New Post /wp-admin/post-new.php | 1,566 ▲47 | 23.34 ▼0.05 | 686.74 ▲74.93 | 61.89 ▼7.88 |
Media Library /wp-admin/upload.php | 1,451 ▲66 | 4.30 ▲0.10 | 94.13 ▼5.58 | 44.20 ▲1.20 |
Categories /wp-admin/edit-tags.php?taxonomy=event-category&post_type=event | 1,370 | 2.33 | 30.69 | 27.26 |
Extensions /wp-admin/edit.php?post_type=event&page=eo-addons | 1,112 | 2.20 | 27.51 | 41.44 |
System Info /wp-admin/edit.php?post_type=event&page=debug | 1,138 | 2.07 | 23.49 | 34.88 |
Add New /wp-admin/post-new.php?post_type=event | 4,043 | 9.24 | 244.46 | 88.40 |
Calendar View /wp-admin/edit.php?post_type=event&page=calendar | 1,908 | 4.61 | 112.95 | 50.34 |
Venues /wp-admin/edit.php?post_type=event&page=venues | 1,271 | 1.84 | 27.96 | 33.48 |
Event Organiser /wp-admin/options-general.php?page=event-settings | 1,171 | 1.74 | 24.71 | 31.23 |
All Events /wp-admin/edit.php?post_type=event | 1,292 | 1.96 | 33.84 | 32.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- This plugin does not fully uninstall, leaving 10 options in the database
- db_upgraded
- can_compress_scripts
- widget_eo-event-categories
- widget_eo-event-venues
- theysaidso_admin_options
- widget_eo_event_list_widget
- widget_recent-posts
- widget_eo_events_agenda_widget
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/event-organiser/includes/class-event-organiser-im-export.php
- 55× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant EVENT_ORGANISER_DIR - assumed 'EVENT_ORGANISER_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/event-organiser/event-organiser-debug.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/event-organiser/includes/event-organiser-archives.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/event-organiser/includes/class-eo-theme-compatability.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function have_posts() in wp-content/plugins/event-organiser/templates/eo-loop-events.php:20
- > PHP Warning
require_once(EVENT_ORGANISER_DIRclasses/class-eventorganiser-admin-page.php): failed to open stream: No such file or directory in wp-content/plugins/event-organiser/event-organiser-venues.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/event-organiser/event-organiser-edit.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/event-organiser/event-organiser-manage.php:41
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/event-organiser/classes/class-eo-calendar-widget.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/event-organiser/templates/taxonomy-event-venue.php:20
- > PHP Warning
require_once(EVENT_ORGANISER_DIRclasses/class-eventorganiser-admin-page.php): failed to open stream: No such file or directory in wp-content/plugins/event-organiser/event-organiser-calendar.php on line 3
- > PHP Warning
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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
event-organiser/event-organiser.php 92% from 13 tests
The main PHP file in "Event Organiser" ver. 3.12.4 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin144,974 lines of code in 134 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 28 | 18,842 | 14,269 | 75,063 |
PO File | 43 | 20,941 | 25,628 | 52,934 |
PHP | 47 | 3,077 | 5,277 | 11,511 |
CSS | 15 | 431 | 1,163 | 5,459 |
YAML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 40.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 180.00 |
Average method complexity | 4.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 1 | 4.76% |
▷ Concrete classes | 20 | 95.24% |
▷ Final classes | 0 | 0.00% |
Methods | 207 | |
▷ Static methods | 37 | 17.87% |
▷ Public methods | 195 | 94.20% |
▷ Protected methods | 8 | 3.86% |
▷ Private methods | 4 | 1.93% |
Functions | 251 | |
▷ Named functions | 250 | 99.60% |
▷ Anonymous functions | 1 | 0.40% |
Constants | 6 | |
▷ Global constants | 6 | 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
27 PNG files occupy 0.11MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/eo-pro-venue-cf.png | 10.36KB | 4.44KB | ▼ 57.12% |
css/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
lib/leaflet/images/marker-icon.png | 1.43KB | 1.55KB | 0.00% |
lib/leaflet/images/layers.png | 0.68KB | 1.05KB | 0.00% |
css/images/ui-bg_flat_10_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |