10% events-manager-pro-extended

Code Review | Events Manager Pro - extended

WordPress plugin Events Manager Pro - extended scored10%from 54 tests.

About plugin

  • Plugin page: events-manager-pr...
  • Plugin version: 0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.4
  • WordPress version: 6.3.1
  • First release: Nov 6, 2013
  • Latest release: Nov 8, 2013
  • Number of updates: 15
  • Update frequency: every 0.2 days
  • Top authors: jerin.kalexander@gmail.com (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

50+ active /3,308 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
  • This plugin did not install gracefully
    • > Notice in wp-content/plugins/events-manager-pro-extended/plugin-register.class.php+36
    session_start(): A session had already been started - ignoring

Server metrics [RAM: ▼1.96MB] [CPU: ▼55.62ms] Passed 4 tests

A check of server-side resources used by Events Manager Pro - extended
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.443.99 ▼34.66
Dashboard /wp-admin2.05 ▼1.264.84 ▼44.64
Posts /wp-admin/edit.php2.05 ▼1.315.95 ▼47.57
Add New Post /wp-admin/post-new.php2.05 ▼3.845.33 ▼95.61
Media Library /wp-admin/upload.php2.05 ▼1.184.43 ▼29.50
Reminder Email /wp-admin/tools.php?page=reminder2.055.43

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

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

Browser metrics Passed 4 tests

Events Manager Pro - extended: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲714.72 ▲0.371.81 ▲0.0245.02 ▲1.38
Dashboard /wp-admin2,193 ▲125.48 ▼0.2286.67 ▼22.5838.12 ▼4.45
Posts /wp-admin/edit.php2,104 ▲12.01 ▲0.0140.12 ▼6.0534.85 ▼1.39
Add New Post /wp-admin/post-new.php1,538 ▲1218.37 ▼5.02619.12 ▼81.4765.23 ▲5.14
Media Library /wp-admin/upload.php1,407 ▲104.20 ▲0.0198.64 ▼25.1440.72 ▼7.80
Reminder Email /wp-admin/tools.php?page=reminder1,3975.69125.3554.98

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • Uninstall procedure validation failed for this plugin
    • > Notice in wp-content/plugins/events-manager-pro-extended/plugin-register.class.php+36
    session_start(): A session had already been started - ignoring
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
    • > GET request to /wp-admin/tools.php?page=reminder
    • > Notice in wp-content/plugins/events-manager-pro-extended/plugin-register.class.php+36
    session_start(): A session had already been started - ignoring
    • > GET request to /wp-admin/tools.php?page=reminder
    • > Notice in wp-content/plugins/events-manager-pro-extended/reminder-email.php+148
    Undefined index: reminder_body

SRP 50% 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 items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/events-manager-pro-extended/plugin-register.class.php:37

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
  • Plugin Name: Please specify the plugin name on the first line ( === events-manager-pro-extended === )
  • Tags: Please reduce the number of tags, currently 27 tag instead of maximum 10
The official readme.txt might help

events-manager-pro-extended/reminder-email.php 92% from 13 tests

Analyzing the main PHP file in "Events Manager Pro - extended" version 0.1
The following require your attention:
  • Main file name: Name the main plugin file the same as the plugin slug ("events-manager-pro-extended.php" instead of "reminder-email.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin266 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP23935266

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.43
Average class complexity11.00
▷ Minimum class complexity11.00
▷ Maximum class complexity11.00
Average method complexity4.33
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods3
▷ Static methods00.00%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin