72% bulk-edit-events

Code Review | Bulk Edit Events - Create Events in a Bulk Editor

WordPress plugin Bulk Edit Events - Create Events in a Bulk Editor scored72%from 54 tests.

About plugin

  • Plugin page: bulk-edit-events
  • Plugin version: 1.1.25
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.4
  • WordPress version: 6.3.1
  • First release: Nov 11, 2018
  • Latest release: Nov 1, 2023
  • Number of updates: 123
  • Update frequency: every 14.8 days
  • Top authors: JoseVega (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

100+ active /8,563 total downloads

Benchmarks

Plugin footprint 64% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲6.84MB] [CPU: ▲41.87ms] 50% from 4 tests

Server-side resources used by Bulk Edit Events - Create Events in a Bulk Editor
It is recommended to improve the following
  • RAM: Total memory usage should be kept under 10MB (currently 10.19MB on /wp-admin/admin.php?page=vg_sheet_editor_extensions)
  • Extra RAM: The extra memory usage must be under 5MB (currently 6.84MB on /wp-admin/admin.php?page=vg_sheet_editor_extensions)
PageMemory (MB)CPU Time (ms)
Home /10.02 ▲6.5584.33 ▲43.86
Dashboard /wp-admin10.26 ▲6.9196.90 ▲33.34
Posts /wp-admin/edit.php10.37 ▲7.01106.31 ▲59.12
Add New Post /wp-admin/post-new.php12.84 ▲6.94128.15 ▲31.50
Media Library /wp-admin/upload.php10.18 ▲6.9594.74 ▲58.76
Sheet Editor /wp-admin/admin.php?page=vgse-bulk-edit-tribe_events10.4289.44
Settings /wp-admin/admin.php?page=vg_sheet_editor10.3088.54
Sheet Editor /wp-admin/admin.php?page=vgse-bulk-edit-tribe_organizer10.3987.85
WP Sheet Editor /wp-admin/admin.php?page=vg_sheet_editor_setup10.2188.37
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius10.4277.14
Sheet Editor /wp-admin/admin.php?page=vgse-bulk-edit-tribe_venue10.3983.84
Extensions /wp-admin/admin.php?page=vg_sheet_editor_extensions10.1983.94

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 380 new files
Database: no new tables, 14 new options
New WordPress options
vgse_disable_quick_setup
db_upgraded
fs_active_plugins
vgse_columns_visibility
widget_recent-comments
fs_debug_mode
vg_sheet_editor
can_compress_scripts
widget_theysaidso_widget
vgse_columns_visibility_migrated
...

Browser metrics Passed 4 tests

Checking browser requirements for Bulk Edit Events - Create Events in a Bulk Editor
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,994 ▲24814.35 ▼0.051.56 ▼0.0428.31 ▼16.00
Dashboard /wp-admin2,403 ▲2255.56 ▼0.1591.68 ▼20.4276.06 ▲28.31
Posts /wp-admin/edit.php2,196 ▲962.01 ▼0.0038.71 ▲3.4636.76 ▲0.08
Add New Post /wp-admin/post-new.php1,607 ▲8122.76 ▼0.74689.42 ▼21.3896.14 ▲40.62
Media Library /wp-admin/upload.php1,486 ▲924.10 ▼0.08100.23 ▲3.8874.81 ▲23.68
Sheet Editor /wp-admin/admin.php?page=vgse-bulk-edit-tribe_events8144.14138.9723.07
Settings /wp-admin/admin.php?page=vg_sheet_editor2,1775.79137.2981.24
Sheet Editor /wp-admin/admin.php?page=vgse-bulk-edit-tribe_organizer8133.8142.1622.02
WP Sheet Editor /wp-admin/admin.php?page=vg_sheet_editor_setup2,1215.7477.3568.16
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius1,1501.8424.7127.87
Sheet Editor /wp-admin/admin.php?page=vgse-bulk-edit-tribe_venue8134.0443.8820.33
Extensions /wp-admin/admin.php?page=vg_sheet_editor_extensions1,9715.6072.4868.92

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • Uninstall procedure had uncaught errors
    • > Notice in wp-content/plugins/bulk-edit-events/vendor/freemius/includes/class-freemius.php+8546
    Undefined property: stdClass::$plugins
  • This plugin does not fully uninstall, leaving 12 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • vgse_columns_visibility
    • can_compress_scripts
    • vg_sheet_editor
    • fs_accounts
    • wpsee_welcome_redirect
    • fs_debug_mode
    • widget_theysaidso_widget
    • ...

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
  • 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/bulk-edit-events/vendor/vg-plugin-sdk/views/page-template.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/bulk-edit-events/vendor/vg-plugin-sdk/views/settings-page.php:2
    • > PHP Fatal error
      Uncaught Error: Class 'WPSE_Sheet_Factory' not found in wp-content/plugins/bulk-edit-events/integrations/the-events-calendar-organizers.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-edit-events/modules/wp-sheet-editor/inc/integrations/elementor.php:107
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/bulk-edit-events/vendor/vg-plugin-sdk/samples/email-optin-form.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'VGSE_Provider_Post' not found in wp-content/plugins/bulk-edit-events/integrations/providers/tribe_venue.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'VGSE_Provider_Post' not found in wp-content/plugins/bulk-edit-events/integrations/providers/tribe_events.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'WPSE_Sheet_Factory' not found in wp-content/plugins/bulk-edit-events/integrations/the-events-calendar-events.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'WPSE_Sheet_Factory' not found in wp-content/plugins/bulk-edit-events/integrations/the-events-calendar-venues.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function VGSE() in wp-content/plugins/bulk-edit-events/modules/wp-sheet-editor/views/whats-new/2.6.0.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: calendar, organizer, venue, events, event

bulk-edit-events/events.php 77% from 13 tests

"Bulk Edit Events - Create Events in a Bulk Editor" version 1.1.25's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Requires at least: The required version number did not match the one declared in readme.txt ("4.7" instead of "3.0")
  • Text Domain: Please use dashes and lowercase characters for text domains
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("bulk-edit-events.php" instead of "events.php")

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin176,229 lines of code in 254 files:
LanguageFilesBlank linesComment linesLines of code
PO File2718,44627,29061,931
JavaScript1215,52818,55554,363
PHP19010,50818,86749,036
CSS189173397,726
SVG4002,691
Markdown12110429
JSON10037
XML13016

PHP code 50% from 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
These items need your attention
  • Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,096)
Cyclomatic complexity
Average complexity per logical line of code0.60
Average class complexity71.28
▷ Minimum class complexity1.00
▷ Maximum class complexity3,096.00
Average method complexity4.59
▷ Minimum method complexity1.00
▷ Maximum method complexity94.00
Code structure
Namespaces0
Interfaces1
Traits0
Classes97
▷ Abstract classes33.09%
▷ Concrete classes9496.91%
▷ Final classes00.00%
Methods1,972
▷ Static methods23912.12%
▷ Public methods1,54378.25%
▷ Protected methods170.86%
▷ Private methods41220.89%
Functions129
▷ Named functions12697.67%
▷ Anonymous functions32.33%
Constants154
▷ Global constants10769.48%
▷ Class constants4730.52%
▷ Public constants47100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
11 PNG files occupy 0.15MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
modules/wp-sheet-editor/assets/imgs/icon-20x20.png45.33KB0.51KB▼ 98.88%
modules/wp-sheet-editor/assets/imgs/logo-248x102.png14.09KB5.48KB▼ 61.08%
modules/wp-sheet-editor/assets/vendor/images/chosen-sprite.png0.53KB0.88KB0.00%
vendor/freemius/assets/img/theme-icon.png10.97KB5.78KB▼ 47.37%
assets/imgs/icon-20x20.png45.33KB0.51KB▼ 98.88%