Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.98ms] Passed 4 tests
This is a short check of server-side resources used by Event Feeds for Eventim
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.29 ▼1.76 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.17 ▼17.96 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.02 ▼8.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.50 ▼5.12 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.01 ▼4.43 |
Server storage [IO: ▲2.06MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 89 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Event Feeds for Eventim: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.48 ▲0.09 | 1.66 ▼0.08 | 37.44 ▼2.22 |
Dashboard /wp-admin | 2,194 ▲6 | 5.79 ▲0.87 | 98.73 ▼12.31 | 40.01 ▼4.12 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.00 ▲0.03 | 35.29 ▼6.97 | 34.49 ▼4.01 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.52 ▼5.81 | 607.18 ▼65.55 | 62.13 ▲6.36 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.19 ▼0.00 | 97.65 ▼11.79 | 42.05 ▼7.22 |
Uninstaller [IO: ▲2.06MB] [DB: ▲0.07MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attentionZombie WordPress options detected upon uninstall: 7 options
- This plugin did not uninstall without warnings or errors
- > Error in wp-content/plugins/event-feed-for-eventim/uninstall.php+10
Uncaught Error: Class 'Floor9design\Eventim\Wordpress\EventimFeedScheduler' not found in wp-content/plugins/event-feed-for-eventim/uninstall.php:10
Stack trace:
#0 wp-admin/includes/plugin.php(1245): include_once()
#1 wp-admin/includes/plugin.php(960): uninstall_plugin() - The plugin did not uninstall successfully, leaving 89 files (2.06MB) in the plugin directory
- (new file) CHANGELOG.md
- (new file) README.md
- (new file) LICENCE.md
- (new file) admin/partials/eventim-feed-import-display.php
- (new file) admin/partials/eventim-feed-instructions-page.php
- (new file) admin/feeds/feed.json
- (new file) admin/index.php
- (new file) admin/css/eventim-feed-admin.css
- (new file) admin/js/eventim-feed-admin.js
- (new file) admin/class-eventim-feed-admin.php
- ...
- theysaidso_admin_options
- widget_recent-comments
- recovery_mode_email_last_sent
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/event-feed-for-eventim/public/partials/eventim-feed-promoted.php
- > /wp-content/plugins/event-feed-for-eventim/public/partials/eventim-feed-public-display.php
- > /wp-content/plugins/event-feed-for-eventim/public/partials/eventim-feed-list.php
- > /wp-content/plugins/event-feed-for-eventim/public/partials/eventim-feed-venue.php
- 25× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function getEventStatusLookup() on null in wp-content/plugins/event-feed-for-eventim/public/partials/eventim-feed-buy-now-button.php:30
- > PHP Notice
Undefined variable: posts in wp-content/plugins/event-feed-for-eventim/public/partials/eventim-feed-list.php on line 22
- > PHP Notice
Undefined variable: post in wp-content/plugins/event-feed-for-eventim/public/partials/eventim-feed-buy-now-button.php on line 30
- > PHP Fatal error
Uncaught Error: Class 'Floor9design\\Eventim\\Wordpress\\EventimEventPostExtender' not found in wp-content/plugins/event-feed-for-eventim/public/partials/eventim-feed-single-event-serie.php:23
- > PHP Fatal error
Uncaught Error: Class 'Floor9design\\Eventim\\PluginCore\\Models\\EventFeed' not found in wp-content/plugins/event-feed-for-eventim/vendor/floor9design/plugin-core.eventim.co.uk/src/Models/EventFeedJson.php:41
- > PHP Notice
Undefined variable: events in wp-content/plugins/event-feed-for-eventim/public/partials/eventim-feed-venue.php on line 29
- > PHP Notice
Trying to get property 'event' of non-object in wp-content/plugins/event-feed-for-eventim/public/partials/eventim-feed-event-list.php on line 29
- > PHP Notice
Undefined variable: post in wp-content/plugins/event-feed-for-eventim/public/partials/eventim-feed-event-list.php on line 29
- > PHP Notice
Trying to get property 'event' of non-object in wp-content/plugins/event-feed-for-eventim/public/partials/eventim-feed-buy-now-button.php on line 30
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/event-feed-for-eventim/admin/partials/eventim-feed-introduction-page.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== event-feed-for-eventim ===
)
event-feed-for-eventim/eventim-feed.php 69% from 13 tests
This is the main PHP file of "Event Feeds for Eventim" version 1.4.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("event-feed-for-eventim.php" instead of "eventim-feed.php")
- Domain Path: The domain path should use only dashes and lowercase characters ("src/languages")
- Git Repository: Please do not include Git repositories in your plugin
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
No dangerous file extensions were detected13,087 lines of code in 73 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 56 | 1,158 | 3,582 | 6,825 |
JSON | 4 | 0 | 0 | 5,324 |
Markdown | 6 | 197 | 0 | 654 |
CSS | 2 | 57 | 37 | 208 |
YAML | 2 | 9 | 13 | 36 |
XML | 1 | 0 | 0 | 34 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 14.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 115.00 |
Average method complexity | 2.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 1 | 3.85% |
▷ Concrete classes | 25 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 340 | |
▷ Static methods | 25 | 7.35% |
▷ Public methods | 314 | 92.35% |
▷ Protected methods | 10 | 2.94% |
▷ Private methods | 16 | 4.71% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 1.18MB with 0.73MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 61.15KB | 20.62KB | ▼ 66.27% |
assets/screenshot-2.png | 75.60KB | 37.29KB | ▼ 50.67% |
assets/screenshot-1.png | 48.76KB | 23.30KB | ▼ 52.22% |
assets/banner-1544x500.png | 797.78KB | 226.96KB | ▼ 71.55% |
assets/banner-772x250.png | 202.21KB | 62.49KB | ▼ 69.10% |