72% wp-sheet-editor-edd-downloads

Code Review | Bulk Edit Easy Digital Downloads - Fast Bulk Creator

WordPress plugin Bulk Edit Easy Digital Downloads - Fast Bulk Creator scored72%from 54 tests.

About plugin

  • Plugin page: wp-sheet-editor-e...
  • Plugin version: 1.0.65
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.4
  • WordPress version: 6.3.1
  • First release: Dec 22, 2018
  • Latest release: Nov 1, 2023
  • Number of updates: 117
  • Update frequency: every 15.2 days
  • Top authors: JoseVega (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

90+ active /10,592 total downloads

Benchmarks

Plugin footprint 64% 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 gracefully, with no errors

Server metrics [RAM: ▲6.67MB] [CPU: ▲38.98ms] 50% from 4 tests

Analyzing server-side resources used by Bulk Edit Easy Digital Downloads - Fast Bulk Creator
The following require your attention
  • RAM: Try to keep total memory usage under 10MB (currently 10.22MB on /wp-admin/admin.php?page=freemius)
  • Extra RAM: The extra memory usage must be under 5MB (currently 6.67MB on /wp-admin/admin.php?page=freemius)
PageMemory (MB)CPU Time (ms)
Home /9.95 ▲6.4978.79 ▲39.18
Dashboard /wp-admin10.06 ▲6.7192.46 ▲27.92
Posts /wp-admin/edit.php10.10 ▲6.74102.29 ▲53.77
Add New Post /wp-admin/post-new.php12.63 ▲6.74130.99 ▲35.03
Media Library /wp-admin/upload.php9.98 ▲6.7595.08 ▲58.24
Extensions /wp-admin/admin.php?page=vg_sheet_editor_extensions9.9992.50
Sheet Editor /wp-admin/admin.php?page=vgse-bulk-edit-download11.0691.36
WP Sheet Editor /wp-admin/admin.php?page=vg_sheet_editor_setup10.0189.03
Settings /wp-admin/admin.php?page=vg_sheet_editor10.1183.90
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius10.2278.95

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Bulk Edit Easy Digital Downloads - Fast Bulk Creator
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,986 ▲24014.07 ▼0.531.76 ▲0.0629.52 ▼15.38
Dashboard /wp-admin2,377 ▲1965.56 ▼0.1494.87 ▼4.7194.31 ▲56.80
Posts /wp-admin/edit.php2,191 ▲881.98 ▼0.0439.14 ▲0.2336.93 ▼3.34
Add New Post /wp-admin/post-new.php1,746 ▲21819.77 ▼3.51788.22 ▲93.8853.65 ▼0.02
Media Library /wp-admin/upload.php1,487 ▲874.12 ▼0.03100.22 ▼8.3772.27 ▲25.16
Extensions /wp-admin/admin.php?page=vg_sheet_editor_extensions1,9635.83169.3282.47
Sheet Editor /wp-admin/admin.php?page=vgse-bulk-edit-download8054.11133.8923.06
WP Sheet Editor /wp-admin/admin.php?page=vg_sheet_editor_setup2,1045.8276.9881.19
Settings /wp-admin/admin.php?page=vg_sheet_editor2,1715.6968.9763.33
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius1,1391.6924.6428.18

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin cannot be uninstalled
    • > Notice in wp-content/plugins/wp-sheet-editor-edd-downloads/vendor/freemius/includes/class-freemius.php+8546
    Undefined property: stdClass::$plugins
  • Zombie WordPress options detected upon uninstall: 12 options
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • fs_debug_mode
    • fs_accounts
    • widget_theysaidso_widget
    • widget_recent-posts
    • fs_active_plugins
    • vg_sheet_editor
    • ...

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
Please fix the following
  • 7× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-sheet-editor-edd-downloads/modules/wp-sheet-editor/inc/integrations/visual-composer.php:15
    • > PHP Fatal error
      Uncaught Error: Call to undefined function VGSE() in wp-content/plugins/wp-sheet-editor-edd-downloads/modules/wp-sheet-editor/views/whats-new/2.6.0.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-sheet-editor-edd-downloads/vendor/vg-plugin-sdk/views/settings-form.php:1
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/wp-sheet-editor-edd-downloads/vendor/vg-plugin-sdk/views/page-template.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-sheet-editor-edd-downloads/vendor/vg-plugin-sdk/views/settings-page.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-sheet-editor-edd-downloads/modules/wp-sheet-editor/inc/integrations/elementor.php:107
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-sheet-editor-edd-downloads/vendor/vg-plugin-sdk/samples/email-optin-form.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 86% 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
Attributes that need to be fixed: Please take inspiration from this readme.txt

wp-sheet-editor-edd-downloads/edd-downloads.php 77% from 13 tests

The primary PHP file in "Bulk Edit Easy Digital Downloads - Fast Bulk Creator" version 1.0.65 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Requires at least: Required version must match the one declared in readme.txt ("4.7" instead of "3.0")
  • Main file name: The principal plugin file should be the same as the plugin slug ("wp-sheet-editor-edd-downloads.php" instead of "edd-downloads.php")
  • Text Domain: The text domain should only use lowercase characters and dashes

Code Analysis 97% from 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
No dangerous file extensions were detected177,052 lines of code in 261 files:
LanguageFilesBlank linesComment linesLines of code
PO File3818,66927,41863,046
JavaScript1215,52818,55554,363
PHP18610,46718,86648,745
CSS189173397,726
SVG4002,691
Markdown12110429
JSON10036
XML13016

PHP code 50% from 2 tests

Analyzing cyclomatic complexity and code structure
Please fix the following
  • Class cyclomatic complexity should be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity
Average complexity per logical line of code0.60
Average class complexity73.90
▷ Minimum class complexity1.00
▷ Maximum class complexity3,096.00
Average method complexity4.60
▷ Minimum method complexity1.00
▷ Maximum method complexity94.00
Code structure
Namespaces0
Interfaces1
Traits0
Classes93
▷ Abstract classes33.23%
▷ Concrete classes9096.77%
▷ Final classes00.00%
Methods1,957
▷ Static methods23912.21%
▷ Public methods1,52878.08%
▷ Protected methods170.87%
▷ Private methods41221.05%
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

PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 0.15MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
modules/wp-sheet-editor/assets/vendor/images/input-unchecked.png0.15KB0.15KB0.00%
vendor/freemius/assets/img/theme-icon.png10.97KB5.78KB▼ 47.37%
modules/wp-sheet-editor/assets/imgs/freemius-icon.png12.54KB6.09KB▼ 51.47%
assets/imgs/logo-248x102.png14.09KB5.48KB▼ 61.08%
modules/wp-sheet-editor/assets/imgs/icon-20x20.png45.33KB0.51KB▼ 98.88%