84% eventin-divi-addon

Code Review | Eventin Divi Addon

WordPress plugin Eventin Divi Addon scored84%from 54 tests.

About plugin

  • Plugin page: eventin-divi-addon
  • Plugin version: 1.0.4
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.3.1
  • WordPress version: 6.3.1
  • First release: Aug 14, 2022
  • Latest release: Nov 29, 2023
  • Number of updates: 8
  • Update frequency: every 59.6 days
  • Top authors: themewinter (100%)

Code review

54 tests

User reviews

1 review

Install metrics

700+ active /4,471 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

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

Analyzing server-side resources used by Eventin Divi Addon
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0244.41 ▲1.10
Dashboard /wp-admin3.32 ▼0.0244.90 ▼15.44
Posts /wp-admin/edit.php3.37 ▲0.0246.45 ▲0.73
Add New Post /wp-admin/post-new.php5.90 ▲0.0290.54 ▲0.56
Media Library /wp-admin/upload.php3.24 ▲0.0231.74 ▼0.93

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 91 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for Eventin Divi Addon
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲4214.67 ▲0.281.64 ▲0.0136.20 ▼9.01
Dashboard /wp-admin2,198 ▲295.64 ▲0.0293.20 ▼18.5440.27 ▼1.46
Posts /wp-admin/edit.php2,103 ▲62.00 ▲0.0638.95 ▲1.5637.13 ▲4.84
Add New Post /wp-admin/post-new.php1,529 ▲323.19 ▼0.19588.72 ▼33.8255.02 ▲4.34
Media Library /wp-admin/upload.php1,403 ▲34.15 ▼0.0495.19 ▼0.5142.88 ▼0.20

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 27× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/eventin-divi-addon/includes/modules/EventsCountdownPro/EventsCountdownPro.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/eventin-divi-addon/includes/modules/SpeakerPro/SpeakerPro.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/eventin-divi-addon/includes/modules/EtnEvents/EtnEvents.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/eventin-divi-addon/includes/modules/AdvancedSearch/AdvancedSearch.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/eventin-divi-addon/includes/modules/RecurringEventPro/RecurringEventPro.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/eventin-divi-addon/includes/modules/EventsTicketFormPro/EventsTicketFormPro.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/eventin-divi-addon/includes/modules/ScheduleListsPro/ScheduleListsPro.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/eventin-divi-addon/includes/modules/ScheduleLists/ScheduleLists.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/eventin-divi-addon/includes/modules/EventsTabspro/EventsTabspro.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/eventin-divi-addon/includes/modules/EventsSliderpro/EventsSliderpro.php:6

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

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
4 plugin tags: event, divi addon, divi modules, events

eventin-divi-addon/eventin-divi-addon.php Passed 13 tests

Analyzing the main PHP file in "Eventin Divi Addon" version 1.0.4
59 characters long description:
Simple and Easy to use Event Management Solution With Divi.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected3,501 lines of code in 50 files:
LanguageFilesBlank linesComment linesLines of code
PHP316582933,420
JavaScript44261
SVG130013
JSON1005
CSS1102

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.09
Average class complexity3.75
▷ Minimum class complexity1.00
▷ Maximum class complexity17.00
Average method complexity1.66
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes28
▷ Abstract classes00.00%
▷ Concrete classes28100.00%
▷ Final classes13.57%
Methods117
▷ Static methods3227.35%
▷ Public methods11699.15%
▷ Protected methods00.00%
▷ Private methods10.85%
Functions4
▷ Named functions375.00%
▷ Anonymous functions125.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