84% vc-simple-all-responsive

Code Review | WPBakery Page Builder Simple All Responsive

WordPress plugin WPBakery Page Builder Simple All Responsive scored84%from 54 tests.

About plugin

  • Plugin page: vc-simple-all-res...
  • Plugin version: 1.3
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.3.2
  • WordPress version: 6.3.1
  • First release: Jan 5, 2019
  • Latest release: Jan 14, 2020
  • Number of updates: 37
  • Update frequency: every 10.1 days
  • Top authors: autonomash (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

2,000+ active /37,820 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

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

Analyzing server-side resources used by WPBakery Page Builder Simple All Responsive
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.65 ▼0.22
Dashboard /wp-admin3.31 ▲0.0144.95 ▼5.57
Posts /wp-admin/edit.php3.36 ▲0.0045.89 ▼2.69
Add New Post /wp-admin/post-new.php5.89 ▲0.0084.47 ▼19.33
Media Library /wp-admin/upload.php3.23 ▲0.0036.46 ▲0.18

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

WPBakery Page Builder Simple All Responsive: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲6713.25 ▼1.101.78 ▼0.1541.97 ▼3.92
Dashboard /wp-admin2,209 ▲274.87 ▼1.02100.09 ▼3.3841.65 ▼2.63
Posts /wp-admin/edit.php2,089 ▼02.00 ▲0.0040.01 ▲2.4236.22 ▲4.23
Add New Post /wp-admin/post-new.php1,542 ▼018.07 ▼0.18658.73 ▲63.7257.41 ▲9.68
Media Library /wp-admin/upload.php1,382 ▼04.24 ▼0.0195.66 ▼2.8741.76 ▼0.83

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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 fix the following
  • 2× 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/vc-simple-all-responsive/vc-sar-element.php:12
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vc-simple-all-responsive/vc-simple-all-responsive.php:18

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 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
3 plugin tags: page builder, responsive, wpbakery

vc-simple-all-responsive/vc-simple-all-responsive.php 85% from 13 tests

This is the main PHP file of "WPBakery Page Builder Simple All Responsive" version 1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
  • Domain Path: The domain path must begin with a forward slash character ("/")
  • Domain Path: Use only dashes and lowercase characters for the domain path ("")

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 plugin377 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP34942248
CSS13327119
SVG10110

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.82
Average class complexity20.50
▷ Minimum class complexity1.00
▷ Maximum class complexity40.00
Average method complexity14.00
▷ Minimum method complexity1.00
▷ Maximum method complexity39.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods3
▷ Static methods00.00%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.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
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/icon-256x256.png9.83KB3.40KB▼ 65.40%
assets/icon-128x128.png4.96KB2.13KB▼ 57.12%
assets/resp-icon.png6.85KB3.35KB▼ 51.17%