Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.71MB] [CPU: ▲1.80ms] Passed 4 tests
Analyzing server-side resources used by EventON
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.42 | 55.28 ▼2.26 |
Dashboard /wp-admin | 4.11 ▲0.77 | 56.23 ▼2.45 |
Posts /wp-admin/edit.php | 4.16 ▲0.81 | 49.99 ▲3.09 |
Add New Post /wp-admin/post-new.php | 6.93 ▲1.04 | 118.23 ▲23.32 |
Media Library /wp-admin/upload.php | 4.09 ▲0.86 | 39.84 ▲8.80 |
Getting started with EventON Lite Calendar /wp-admin/index.php?page=evo-getting-started | 4.09 | 37.49 |
EventON Lite Changelog /wp-admin/index.php?page=evo-changelog | 4.09 | 35.48 |
Welcome to EventON Lite /wp-admin/index.php?page=evo-about | 4.09 | 37.44 |
Server storage [IO: ▲3.78MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 198 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_evcalwidget_four |
evo_data_log |
can_compress_scripts |
widget_evcalwidget_sc |
theysaidso_admin_options |
widget_recent-comments |
widget_evcalwidget_three |
eventon_events_page_id |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for EventON
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,128 ▲381 | 15.72 ▲1.45 | 52.74 ▲48.86 | 74.77 ▲10.39 |
Dashboard /wp-admin | 2,335 ▲164 | 6.03 ▲0.50 | 95.11 ▼4.68 | 39.45 ▼7.89 |
Posts /wp-admin/edit.php | 2,238 ▲138 | 2.21 ▲0.26 | 40.42 ▲5.23 | 34.11 ▲0.78 |
Add New Post /wp-admin/post-new.php | 8,258 ▲6,732 | 19.24 ▼4.08 | 875.64 ▲194.31 | 73.20 ▲17.15 |
Media Library /wp-admin/upload.php | 1,541 ▲138 | 4.43 ▲0.28 | 99.78 ▲0.12 | 41.39 ▼2.50 |
Getting started with EventON Lite Calendar /wp-admin/index.php?page=evo-getting-started | 1,067 | 2.20 | 26.51 | 56.13 |
EventON Lite Changelog /wp-admin/index.php?page=evo-changelog | 957 | 2.20 | 26.04 | 37.30 |
Welcome to EventON Lite /wp-admin/index.php?page=evo-about | 979 | 2.20 | 25.90 | 52.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 14 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_evcalwidget_four
- widget_recent-posts
- db_upgraded
- widget_evcalwidget_three
- eventon_events_page_id
- widget_evcalwidget
- evo_data_log
- widget_evcalwidget_next_month
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 33× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/eventon-lite/includes/admin/post_types/class-meta_boxes-cmf.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/eventon-lite/includes/admin/settings/settings_support_tab.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function EVO() in wp-content/plugins/eventon-lite/includes/admin/post_types/class-meta_boxes-attendance.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/eventon-lite/assets/css/dynamic_styles.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/eventon-lite/templates/_evo-template-control.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function evo_get_page_header() in wp-content/plugins/eventon-lite/templates/taxonomy-event_location.php:13
- > PHP Fatal error
Uncaught Error: Class 'EVO_Settings' not found in wp-content/plugins/eventon-lite/includes/admin/views/taxonomy_settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eventon-lite/includes/integration/elementor/class-elementor-init.php:17
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/eventon-lite/includes/admin/settings/class-settings-content.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function register_widget() in wp-content/plugins/eventon-lite/includes/class-evo-wp-widgets.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/index.php?page=evo-changelog
- > Network (severe)
wp-content/plugins/eventon-lite/assets/images/welcome/evo-badge.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 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
8 plugin tags: organizer, directory, event calendar, virtual events, location...
eventon-lite/eventon.php 77% from 13 tests
The main PHP file in "EventON" ver. 2.2.4 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Domain Path: The domain path folder was not found ("/lang/languages/")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("eventon-lite.php" instead of "eventon.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin55,681 lines of code in 150 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 94 | 8,455 | 3,052 | 26,563 |
CSS | 26 | 3,167 | 489 | 15,705 |
JavaScript | 25 | 3,447 | 1,557 | 13,412 |
SVG | 1 | 0 | 0 | 1 |
HTML | 4 | 0 | 20 | 0 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
These items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 179)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 56.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 468.00 |
Average method complexity | 5.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 179.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 61 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 61 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 739 | |
▷ Static methods | 19 | 2.57% |
▷ Public methods | 713 | 96.48% |
▷ Protected methods | 6 | 0.81% |
▷ Private methods | 20 | 2.71% |
Functions | 114 | |
▷ Named functions | 106 | 92.98% |
▷ Anonymous functions | 8 | 7.02% |
Constants | 16 | |
▷ Global constants | 14 | 87.50% |
▷ Class constants | 2 | 12.50% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
32 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/lib/colorpicker/colorpicker_rgb_g.png | 1.04KB | 0.83KB | ▼ 20.21% |
assets/lib/jquery-ui/images/ui-bg_inset-hard_75_999999_1x100.png | 0.30KB | 0.15KB | ▼ 50.00% |
assets/lib/jquery-ui/images/ui-icons_fbc856_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |
assets/images/admin/useri_002.png | 2.22KB | 1.01KB | ▼ 54.36% |
assets/images/admin/useri_001.png | 1.58KB | 0.47KB | ▼ 70.28% |