10% wp-website-creator

Code Review | Website remote Install vor Gravity, WPForms, Formidable, Ninja, Caldera

WordPress plugin Website remote Install vor Gravity, WPForms, Formidable, Ninja, Caldera scored10%from 54 tests.

About plugin

  • Plugin page: wp-website-creator
  • Plugin version: 4.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.5
  • WordPress version: 6.3.1
  • First release: Nov 5, 2017
  • Latest release: Jan 15, 2021
  • Number of updates: 74
  • Update frequency: every 15.8 days
  • Top authors: wpwebsitecreator (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

20+ active /2,012 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
  • Install procedure had errors
    • > Notice in wp-content/plugins/wp-website-creator/class.settings-api.php+18
    Trying to get property 'Name' of non-object

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

Analyzing server-side resources used by Website remote Install vor Gravity, WPForms, Formidable, Ninja, Caldera
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0039.23 ▼2.88
Dashboard /wp-admin3.31 ▲0.0053.83 ▲7.23
Posts /wp-admin/edit.php3.36 ▲0.0044.20 ▼0.97
Add New Post /wp-admin/post-new.php5.89 ▲0.0077.60 ▼14.84
Media Library /wp-admin/upload.php3.23 ▲0.0037.71 ▲3.76

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

Website remote Install vor Gravity, WPForms, Formidable, Ninja, Caldera: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.40 ▲0.131.73 ▼0.0643.80 ▼0.65
Dashboard /wp-admin2,203 ▲124.83 ▼0.0697.39 ▼9.9839.78 ▼3.76
Posts /wp-admin/edit.php2,068 ▼212.01 ▲0.0033.50 ▼4.4134.17 ▲0.09
Add New Post /wp-admin/post-new.php1,514 ▼017.75 ▲0.26685.88 ▼28.5447.73 ▼14.79
Media Library /wp-admin/upload.php1,388 ▼04.24 ▲0.0392.38 ▼15.9942.75 ▼5.18

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
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 0% 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
The following issues need your attention
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/wp-website-creator/includes/wpwc_customserverconnect.php
  • 20× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-website-creator/includes/wpwc_metabox_content_functions.php:662
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-website-creator/includes/wpwc_save_themes_to_mapper_header1.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wpwc_is_valid_domain() in wp-content/plugins/wp-website-creator/includes/wpwc_cpanel_call_domainexist.php:11
    • > PHP Notice
      Undefined variable: this_cPanel_password in wp-content/plugins/wp-website-creator/includes/wpwc_servercalls.php on line 7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-website-creator/includes/wpwc_metaboxes.php:48
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_wpwc_credentials_email() in wp-content/plugins/wp-website-creator/includes/wpwc_testemail.php:13
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-website-creator/class.settings-api.php:21
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-website-creator/class.settings-api.php:21
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-website-creator/includes/wpwc_save_options.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function prepare_wpwc_server_login_url() in wp-content/plugins/wp-website-creator/includes/wpwc_cpanel_response.php:10

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
  • Tags: You are using too many tags: 13 tag instead of maximum 10
You can look at the official readme.txt

wp-website-creator/wp-website-creator.php Passed 13 tests

"Website remote Install vor Gravity, WPForms, Formidable, Ninja, Caldera" version 4.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
137 characters long description:
Install websites with a simple email form. WPForm, Ninja forms, gravity forms, formidable, caldera forms or contact form 7 are supported.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin15,511 lines of code in 31 files:
LanguageFilesBlank linesComment linesLines of code
PHP191,3885387,318
JavaScript61,9961,8266,847
PO File3245268728
CSS35514618

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity32.50
▷ Minimum class complexity21.00
▷ Maximum class complexity44.00
Average method complexity3.62
▷ Minimum method complexity1.00
▷ Maximum method complexity19.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods24
▷ Static methods14.17%
▷ Public methods24100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions98
▷ Named functions9798.98%
▷ Anonymous functions11.02%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin