90% events-manager-customization

Code Review | Events Manager Customization

WordPress plugin Events Manager Customization scored 90% from 54 tests.

About plugin

  • Plugin page: events-manager-cu...
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.1+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-5.8
  • WordPress version: 6.3.1
  • First release: Nov 23, 2020
  • Latest release: Aug 29, 2021
  • Number of updates: 6
  • Update frequency: every 46.5 days
  • Top authors: patrickrobrecht (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 486 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▼3.57ms] Passed 4 tests

An overview of server-side resources used by Events Manager Customization
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0242.77 ▲2.18
Dashboard /wp-admin3.32 ▲0.0144.77 ▼5.97
Posts /wp-admin/edit.php3.37 ▲0.0147.22 ▼1.01
Add New Post /wp-admin/post-new.php5.90 ▲0.0197.78 ▼6.61
Media Library /wp-admin/upload.php3.24 ▲0.0134.23 ▼0.70

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
db_upgraded
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Events Manager Customization
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.29 ▼1.091.66 ▼0.2343.85 ▲3.98
Dashboard /wp-admin2,206 ▲185.86 ▲0.97105.01 ▼5.8038.22 ▼5.16
Posts /wp-admin/edit.php2,089 ▼32.04 ▼0.0040.48 ▼1.5935.65 ▲0.02
Add New Post /wp-admin/post-new.php1,519 ▼2323.25 ▲5.24641.88 ▲46.6455.55 ▼6.39
Media Library /wp-admin/upload.php1,391 ▲34.17 ▼0.0298.80 ▼3.0642.01 ▼5.46

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration Passed 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
2 plugin tags: bookings, event management

events-manager-customization/events-manager-customization.php Passed 13 tests

The main PHP script in "Events Manager Customization" version 1.0.0 is automatically included on every request by WordPress
42 characters long description:
Customization of the Events Manager plugin

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin178 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP33456178

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity9.00
▷ Minimum class complexity2.00
▷ Maximum class complexity16.00
Average method complexity2.23
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods13
▷ Static methods753.85%
▷ Public methods13100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin