77% eventon-lite

Code Review | EventON

WordPress plugin EventON scored77%from 54 tests.

About plugin

  • Plugin page: eventon-lite
  • Plugin version: 2.2.4
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Jan 22, 2022
  • Latest release: Nov 14, 2023
  • Number of updates: 24
  • Update frequency: every 27.6 days
  • Top authors: ashanjay (100%)

Code review

54 tests

User reviews

18 reviews

Install metrics

4,000+ active /44,017 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.88 ▲0.4255.28 ▼2.26
Dashboard /wp-admin4.11 ▲0.7756.23 ▼2.45
Posts /wp-admin/edit.php4.16 ▲0.8149.99 ▲3.09
Add New Post /wp-admin/post-new.php6.93 ▲1.04118.23 ▲23.32
Media Library /wp-admin/upload.php4.09 ▲0.8639.84 ▲8.80
Getting started with EventON Lite Calendar /wp-admin/index.php?page=evo-getting-started4.0937.49
EventON Lite Changelog /wp-admin/index.php?page=evo-changelog4.0935.48
Welcome to EventON Lite /wp-admin/index.php?page=evo-about4.0937.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,128 ▲38115.72 ▲1.4552.74 ▲48.8674.77 ▲10.39
Dashboard /wp-admin2,335 ▲1646.03 ▲0.5095.11 ▼4.6839.45 ▼7.89
Posts /wp-admin/edit.php2,238 ▲1382.21 ▲0.2640.42 ▲5.2334.11 ▲0.78
Add New Post /wp-admin/post-new.php8,258 ▲6,73219.24 ▼4.08875.64 ▲194.3173.20 ▲17.15
Media Library /wp-admin/upload.php1,541 ▲1384.43 ▲0.2899.78 ▲0.1241.39 ▼2.50
Getting started with EventON Lite Calendar /wp-admin/index.php?page=evo-getting-started1,0672.2026.5156.13
EventON Lite Changelog /wp-admin/index.php?page=evo-changelog9572.2026.0437.30
Welcome to EventON Lite /wp-admin/index.php?page=evo-about9792.2025.9052.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

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:
LanguageFilesBlank linesComment linesLines of code
PHP948,4553,05226,563
CSS263,16748915,705
JavaScript253,4471,55713,412
SVG1001
HTML40200

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 code0.48
Average class complexity56.89
▷ Minimum class complexity1.00
▷ Maximum class complexity468.00
Average method complexity5.49
▷ Minimum method complexity1.00
▷ Maximum method complexity179.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes61
▷ Abstract classes00.00%
▷ Concrete classes61100.00%
▷ Final classes00.00%
Methods739
▷ Static methods192.57%
▷ Public methods71396.48%
▷ Protected methods60.81%
▷ Private methods202.71%
Functions114
▷ Named functions10692.98%
▷ Anonymous functions87.02%
Constants16
▷ Global constants1487.50%
▷ Class constants212.50%
▷ Public constants2100.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
FileSize - originalSize - compressedSavings
assets/lib/colorpicker/colorpicker_rgb_g.png1.04KB0.83KB▼ 20.21%
assets/lib/jquery-ui/images/ui-bg_inset-hard_75_999999_1x100.png0.30KB0.15KB▼ 50.00%
assets/lib/jquery-ui/images/ui-icons_fbc856_256x240.png4.57KB4.18KB▼ 8.43%
assets/images/admin/useri_002.png2.22KB1.01KB▼ 54.36%
assets/images/admin/useri_001.png1.58KB0.47KB▼ 70.28%