77% void-elementor-whmcs-elements

Code Review | Void Elementor WHMCS Elements For Elementor Page Builder

WordPress plugin Void Elementor WHMCS Elements For Elementor Page Builder scored77%from 54 tests.

About plugin

  • Plugin page: void-elementor-wh...
  • Plugin version: 2.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-5.8.1
  • WordPress version: 6.3.1
  • First release: Dec 19, 2017
  • Latest release: Oct 30, 2021
  • Number of updates: 57
  • Update frequency: every 24.8 days
  • Top authors: voidthemes (89.47%)voidcoders (12.28%)

Code review

54 tests

User reviews

9 reviews

Install metrics

1,000+ active /30,832 total downloads


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
Install script ran successfully

Server metrics [RAM: ▼0.00MB] [CPU: ▼6.29ms] Passed 4 tests

Server-side resources used by Void Elementor WHMCS Elements For Elementor Page Builder
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0141.96 ▲4.17
Dashboard /wp-admin3.32 ▼0.0351.71 ▼13.21
Posts /wp-admin/edit.php3.37 ▲0.0151.12 ▲0.56
Add New Post /wp-admin/post-new.php5.90 ▲0.0194.40 ▼16.69
Media Library /wp-admin/upload.php3.24 ▲0.0140.78 ▲6.41
WHMCS Elements /wp-admin/admin.php?page=void_whmcs_page3.22213.44
Go Pro /wp-admin/admin.php?page=void_whcms_pro3.2042.23

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

Void Elementor WHMCS Elements For Elementor Page Builder: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,849 ▲8814.72 ▲0.372.09 ▼0.0138.44 ▼0.72
Dashboard /wp-admin2,230 ▲535.60 ▼0.0888.60 ▼2.4343.31 ▼1.59
Posts /wp-admin/edit.php2,133 ▲301.98 ▼0.0235.34 ▼0.1834.82 ▲0.37
Add New Post /wp-admin/post-new.php1,555 ▲2723.01 ▲0.32591.52 ▼12.9952.29 ▲3.96
Media Library /wp-admin/upload.php1,436 ▲334.24 ▲0.01100.01 ▲1.8643.29 ▼3.18
WHMCS Elements /wp-admin/admin.php?page=void_whmcs_page3,92922.42603.70185.08
Go Pro /wp-admin/admin.php?page=void_whcms_pro1,0632.0024.0744.13

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • void_ewhmcse_elementor_activation_time
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

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 take a closer look at the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/void-elementor-whmcs-elements/helper/helper.php:56

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
    • > GET request to /wp-admin/admin.php?page=void_whmcs_page
    • > Other (warning) in unknown
    /wp-admin/admin.php?page=void_whmcs_page 149 Unrecognized feature: 'web-share'.


Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
  • Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
  • Screenshots: No descriptions were found for these screenshots #4, #5, #6 in void-elementor-whmcs-elements/assets to your readme.txt
The official readme.txt is a good inspiration

void-elementor-whmcs-elements/void-elementor-whmcs-elements.php 85% from 13 tests

This is the main PHP file of "Void Elementor WHMCS Elements For Elementor Page Builder" version 2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
  • Description: Keep the plugin description shorter than 140 characters (currently 168 characters long)

Code Analysis Passed 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
Everything looks great! No dangerous files found in this plugin1,867 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity8.50
▷ Minimum class complexity2.00
▷ Maximum class complexity26.00
Average method complexity2.11
▷ Minimum method complexity1.00
▷ Maximum method complexity26.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods1657.14%
▷ Protected methods932.14%
▷ Private methods310.71%
▷ Named functions1688.89%
▷ Anonymous functions211.11%
▷ Global constants2100.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
3 PNG files occupy 0.13MB with 0.08MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/banner-772x250.png106.08KB36.62KB▼ 65.48%
assets/icon-128x128.png11.84KB4.37KB▼ 63.07%
assets/WMCHS Thumbnail.png19.66KB8.31KB▼ 57.73%