Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼140.50ms] Passed 4 tests
An overview of server-side resources used by Eventbrite EventON
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 30.59 ▲9.50 |
Dashboard /wp-admin | 3.09 ▲0.03 | 44.31 ▼11.30 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 43.20 ▲6.66 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 90.77 ▼560.59 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 35.66 ▲3.22 |
Server storage [IO: ▲0.09MB] [DB: ▲0.62MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Eventbrite EventON
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,710 ▲114 | 16.34 ▲0.89 | 7.93 ▲0.45 | 50.16 ▲3.74 |
Dashboard /wp-admin | 3,004 ▲70 | 6.21 ▲0.33 | 135.67 ▼2.72 | 118.52 ▲0.57 |
Posts /wp-admin/edit.php | 2,767 ▲28 | 2.74 ▲0.05 | 70.40 ▲7.03 | 90.74 ▼1.87 |
Add New Post /wp-admin/post-new.php | 1,910 ▲234 | 16.05 ▼2.78 | 379.70 ▲2.52 | 123.93 ▲0.09 |
Media Library /wp-admin/upload.php | 1,838 ▲28 | 5.11 ▲0.10 | 132.80 ▼12.62 | 118.98 ▲3.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.62MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: mmt_eo_exim in wp-content/plugins/mmt-eventon-exim-lite/includes/admin/pages/page-eventbrite-display.php on line 14
- > PHP Notice
Undefined variable: mmt_eo_exim in wp-content/plugins/mmt-eventon-exim-lite/includes/admin/pages/page-eventbrite-settings.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/mmt-eventon-exim-lite/includes/admin/pages/page-eventbrite-import.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mmt-eventon-exim-lite/includes/admin/class-admin-ajax.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mmt-eventon-exim-lite/mmt-exim-lite.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mmt-eventon-exim-lite/includes/admin/class-export-eventbrite.php:14
- > PHP Notice
Trying to get property 'fn' of non-object in wp-content/plugins/mmt-eventon-exim-lite/includes/admin/pages/page-eventbrite-display.php on line 14
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/mmt-eventon-exim-lite/includes/class-mmt-eventbrite-widget.php:9
- > PHP Fatal error
Uncaught Error: Call to a member function mmt_eo_exim_eb_org_list() on null in wp-content/plugins/mmt-eventon-exim-lite/includes/admin/pages/page-eventbrite-display.php:14
- > PHP Notice
Trying to get property 'fn' of non-object in wp-content/plugins/mmt-eventon-exim-lite/includes/admin/pages/page-eventbrite-settings.php on line 15
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: calendar, export, import, display, eventon...
mmt-eventon-exim-lite/mmt-exim-lite.php 77% from 13 tests
The main PHP file in "Eventbrite EventON" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("mmt-eventon-exim-lite.php" instead of "mmt-exim-lite.php")
- Requires at least: Required version must match the one declared in readme.txt ("5.4.1" instead of "5.0.0")
- 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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin2,188 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 56 | 325 | 1,388 |
CSS | 2 | 6 | 17 | 570 |
JavaScript | 1 | 0 | 7 | 230 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 5.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 42 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected