Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲5.64MB] [CPU: ▲28.74ms] 75% from 4 tests
A check of server-side resources used by Show Eventbrite Events - Event Feed for Eventbrite
It is recommended to improve the following
- Extra RAM: Extra memory usage must be kept under 5MB (currently 5.64MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.20 ▲5.74 | 70.71 ▲25.35 |
Dashboard /wp-admin | 9.22 ▲5.92 | 84.64 ▲32.74 |
Posts /wp-admin/edit.php | 9.22 ▲5.87 | 91.09 ▲41.55 |
Add New Post /wp-admin/post-new.php | 10.93 ▲5.04 | 133.44 ▲21.08 |
Media Library /wp-admin/upload.php | 9.22 ▲5.99 | 72.98 ▲35.80 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.22 | 67.35 |
Server storage [IO: ▲5.75MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 269 new files
Database: no new tables, 10 new options
New WordPress options |
---|
fs_debug_mode |
widget_theysaidso_widget |
widget_recent-comments |
fs_active_plugins |
db_upgraded |
fs_accounts |
can_compress_scripts |
event-feed-for-eventbrite-formats |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Show Eventbrite Events - Event Feed for Eventbrite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,986 ▲225 | 14.47 ▼0.04 | 1.61 ▼0.20 | 28.47 ▼14.84 |
Dashboard /wp-admin | 2,380 ▲206 | 6.22 ▲0.54 | 113.21 ▲21.60 | 47.05 ▲3.77 |
Posts /wp-admin/edit.php | 2,306 ▲206 | 3.37 ▲1.37 | 55.82 ▲18.79 | 40.66 ▲4.41 |
Add New Post /wp-admin/post-new.php | 1,724 ▲186 | 21.80 ▼1.36 | 685.18 ▲4.75 | 37.29 ▼9.32 |
Media Library /wp-admin/upload.php | 1,442 ▲42 | 4.18 ▼0.05 | 81.74 ▼24.24 | 45.04 ▼3.48 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,287 | 3.12 | 45.93 | 31.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/event-feed-for-eventbrite/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 10 options in the database
- fs_debug_mode
- theysaidso_admin_options
- db_upgraded
- fs_active_plugins
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- fs_accounts
- event-feed-for-eventbrite-formats
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/event-feed-for-eventbrite/admin/partials/event-feed/metabox-popup.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/event-feed-for-eventbrite/admin/partials/event-feed/metabox-eventbrite.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/event-feed-for-eventbrite/admin/partials/event-feed/metabox-shortcode.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/event-feed-for-eventbrite/admin/partials/settings/settings.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/event-feed-for-eventbrite/admin/partials/event-feed/metabox-card.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/event-feed-for-eventbrite/admin/partials/event-feed/metabox-design.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/event-feed-for-eventbrite/admin/partials/event-feed/metabox-checkout.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/event-feed-for-eventbrite/admin/partials/event-feed/metabox-filters.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function EFFE_Plugin\\get_option() in wp-content/plugins/event-feed-for-eventbrite/includes/class-event-feed-api.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/event-feed-for-eventbrite/admin/partials/event-feed/metabox-advanced.php:4
- > 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: calendar, eventbrite, api, events, widget
event-feed-for-eventbrite/event-feed-for-eventbrite.php Passed 13 tests
The entry point to "Show Eventbrite Events - Event Feed for Eventbrite" version 1.1.2 is a PHP file that has certain tags in its header comment area
68 characters long description:
The easiest way to publish Eventbrite events to your WordPress site.
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin40,990 lines of code in 188 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 142 | 8,968 | 18,586 | 37,475 |
SVG | 2 | 0 | 1 | 2,681 |
CSS | 23 | 38 | 20 | 407 |
Markdown | 1 | 68 | 0 | 214 |
JavaScript | 20 | 34 | 72 | 213 |
PHP code 0% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,073)
- Please reduce cyclomatic complexity of methods to less than 100 (currently 109)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 83.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 109.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 59 | |
▷ Abstract classes | 2 | 3.39% |
▷ Concrete classes | 57 | 96.61% |
▷ Final classes | 0 | 0.00% |
Methods | 1,376 | |
▷ Static methods | 200 | 14.53% |
▷ Public methods | 969 | 70.42% |
▷ Protected methods | 25 | 1.82% |
▷ Private methods | 382 | 27.76% |
Functions | 156 | |
▷ Named functions | 101 | 64.74% |
▷ Anonymous functions | 55 | 35.26% |
Constants | 148 | |
▷ Global constants | 100 | 67.57% |
▷ Class constants | 48 | 32.43% |
▷ Public constants | 48 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/layout-cards.png | 2.24KB | 0.72KB | ▼ 67.77% |
admin/assets/img/layout-list.png | 2.49KB | 0.82KB | ▼ 67.02% |
admin/assets/img/layout-grid.png | 2.09KB | 0.61KB | ▼ 70.73% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
admin/assets/img/layout-widget.png | 2.23KB | 0.74KB | ▼ 66.94% |