62% event-monster

Code Review | Event Monster - Event Management, Tickets Booking, Upcoming Event

WordPress plugin Event Monster - Event Management, Tickets Booking, Upcoming Event scored62%from 54 tests.

About plugin

  • Plugin page: event-monster
  • Plugin version: 1.3.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Nov 10, 2016
  • Latest release: Nov 17, 2023
  • Number of updates: 162
  • Update frequency: every 15.8 days
  • Top authors: awordpresslife (100%)

Code review

54 tests

User reviews

18 reviews

Install metrics

1,000+ active /52,355 total downloads

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: ▲0.17MB] [CPU: ▼0.64ms] Passed 4 tests

Server-side resources used by Event Monster - Event Management, Tickets Booking, Upcoming Event
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1741.42 ▲5.13
Dashboard /wp-admin3.48 ▲0.1852.21 ▲4.66
Posts /wp-admin/edit.php3.59 ▲0.2447.12 ▼2.83
Add New Post /wp-admin/post-new.php6.06 ▲0.1793.36 ▼6.93
Media Library /wp-admin/upload.php3.40 ▲0.1735.20 ▲2.55
Visitors / Attendee /wp-admin/edit.php?post_type=awl_event_monster&page=em-visitors-page3.5032.88
All Event /wp-admin/edit.php?post_type=awl_event_monster3.4538.39
Setting /wp-admin/edit.php?post_type=awl_event_monster&page=em-setting-page3.6632.38
Our Theme /wp-admin/edit.php?post_type=awl_event_monster&page=sr-theme-page3.3732.42
Add New Event /wp-admin/post-new.php?post_type=awl_event_monster3.9151.07
Docs /wp-admin/edit.php?post_type=awl_event_monster&page=sr-doc-page3.3733.16

Server storage [IO: ▲5.26MB] [DB: ▲0.01MB] Passed 3 tests

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 126 new files
Database: 3 new tables, 7 new options
New tables
wp_em_tickets
wp_em_attendees
wp_em_bookings
New WordPress options
db_upgraded
theysaidso_admin_options
awl_em_common_settings
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Event Monster - Event Management, Tickets Booking, Upcoming Event
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,835 ▲7314.34 ▲0.321.86 ▲0.1646.55 ▲8.54
Dashboard /wp-admin2,225 ▲485.57 ▼0.0385.45 ▼6.1470.88 ▲26.02
Posts /wp-admin/edit.php2,145 ▲421.99 ▲0.0138.62 ▼8.1233.42 ▼8.47
Add New Post /wp-admin/post-new.php1,575 ▲4923.20 ▼0.17661.29 ▲13.02160.87 ▲110.16
Media Library /wp-admin/upload.php1,442 ▲424.13 ▼0.1098.39 ▼6.3977.24 ▲34.06
Visitors / Attendee /wp-admin/edit.php?post_type=awl_event_monster&page=em-visitors-page1,1962.6851.0740.73
All Event /wp-admin/edit.php?post_type=awl_event_monster1,1231.9632.8328.74
Setting /wp-admin/edit.php?post_type=awl_event_monster&page=em-setting-page1,6472.2341.8678.21
Our Theme /wp-admin/edit.php?post_type=awl_event_monster&page=sr-theme-page9672.2425.4362.55
Add New Event /wp-admin/post-new.php?post_type=awl_event_monster6,2028.71256.52221.66
Docs /wp-admin/edit.php?post_type=awl_event_monster&page=sr-doc-page8712.0024.9731.96

Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • The plugin did not uninstall successfully, leaving 3 tables in the database
    • wp_em_tickets
    • wp_em_attendees
    • wp_em_bookings
  • This plugin does not fully uninstall, leaving 7 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • awl_em_common_settings

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means 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 fix the following
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/event-monster/docs.php
  • 5× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_the_title() in wp-content/plugins/event-monster/send-email.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/event-monster/shortcode.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/event-monster/shortcode-css.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/event-monster/our-theme/awp-theme.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/event-monster/setting.php:2

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=awl_event_monster
    • > Network (severe)
    wp-content/plugins/event-monster/css/style.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
    • > GET request to /wp-admin/post-new.php?post_type=awl_event_monster
    • > Network (severe)
    wp-content/plugins/event-monster/css/jasny-bootstrap.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed: You can look at the official readme.txt

event-monster/event-monster.php Passed 13 tests

This is the main PHP file of "Event Monster - Event Management, Tickets Booking, Upcoming Event" version 1.3.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
28 characters long description:
Event Monster For WordPress.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected36,711 lines of code in 69 files:
LanguageFilesBlank linesComment linesLines of code
CSS242951,98522,630
PHP132912345,453
JavaScript24123974,384
SVG7003,907
PO File1156185337

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity9.00
▷ Minimum class complexity9.00
▷ Maximum class complexity9.00
Average method complexity1.42
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods19
▷ Static methods00.00%
▷ Public methods1789.47%
▷ Protected methods210.53%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants7100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
23 PNG files occupy 0.56MB with 0.37MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/upgrade pro/event-monster-social-share.png21.65KB8.40KB▼ 61.22%
images/bootstrap-colorpicker/alpha-horizontal.png3.55KB1.62KB▼ 54.44%
images/upload_add_new.png63.54KB15.67KB▼ 75.35%
images/upgrade pro/event map.png15.95KB6.42KB▼ 59.73%
images/placeholder-840x630.png90.97KB12.95KB▼ 85.76%