62% page-builder-for-wpforms

Code Review | Page Builder for WPForms - Display your WPForms entries in any page

WordPress plugin Page Builder for WPForms - Display your WPForms entries in any page scored62%from 54 tests.

About plugin

  • Plugin page: page-builder-for-...
  • Plugin version: 2.27
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-6.3
  • WordPress version: 6.3.1
  • First release: May 22, 2021
  • Latest release: Nov 14, 2023
  • Number of updates: 120
  • Update frequency: every 7.6 days
  • Top authors: EDGARROJAS (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

200+ active /4,569 total downloads

Benchmarks

Plugin footprint 65% 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.59MB] [CPU: ▼5.66ms] Passed 4 tests

An overview of server-side resources used by Page Builder for WPForms - Display your WPForms entries in any page
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /4.06 ▲0.6044.84 ▲5.29
Dashboard /wp-admin3.91 ▲0.5648.02 ▼18.66
Posts /wp-admin/edit.php3.96 ▲0.6047.60 ▲1.12
Add New Post /wp-admin/post-new.php6.49 ▲0.6085.60 ▼8.72
Media Library /wp-admin/upload.php3.83 ▲0.6038.30 ▲3.64
Templates /wp-admin/admin.php?page=rnpagebuilder3.9437.18
Settings /wp-admin/admin.php?page=rnpagebuilder_settings3.9235.30
Get help /wp-admin/admin.php?page=rnpagebuilder_help3.7333.21
Our WPForms Plugins /wp-admin/admin.php?page=rnpagebuilder_additional_plugins3.7142.03

Server storage [IO: ▲11.43MB] [DB: ▲0.01MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 1,821 new files
Database: 6 new tables, 8 new options
New tables
wp_rnpagebuilder_page
wp_rnpagebuilder_records_detail
wp_rnpagebuilder_records
wp_rnpagebuilder_form_config
wp_rnpagebuilder_entry_meta
wp_rnpagebuilder_template
New WordPress options
recovery_mode_email_last_sent
db_upgraded
rednao_rnpagebuilder_db_version
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by Page Builder for WPForms - Display your WPForms entries in any page
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,852 ▲10514.11 ▼0.491.69 ▼0.0447.08 ▲1.73
Dashboard /wp-admin2,257 ▲765.56 ▼0.1395.03 ▼16.8883.06 ▲38.52
Posts /wp-admin/edit.php2,162 ▲622.14 ▲0.1236.22 ▼1.1535.36 ▲3.07
Add New Post /wp-admin/post-new.php1,592 ▲6623.05 ▲0.07760.22 ▲79.7368.60 ▲8.11
Media Library /wp-admin/upload.php1,465 ▲654.11 ▼0.06102.24 ▲2.6881.39 ▲40.19
Templates /wp-admin/admin.php?page=rnpagebuilder1,5922.4842.5428.24
Settings /wp-admin/admin.php?page=rnpagebuilder_settings1,1793.1245.9629.04
Get help /wp-admin/admin.php?page=rnpagebuilder_help8602.0027.4126.06
Our WPForms Plugins /wp-admin/admin.php?page=rnpagebuilder_additional_plugins7351.516.9623.08

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • Zombie tables were found after uninstall: 6 tables
    • wp_rnpagebuilder_template
    • wp_rnpagebuilder_form_config
    • wp_rnpagebuilder_records
    • wp_rnpagebuilder_records_detail
    • wp_rnpagebuilder_entry_meta
    • wp_rnpagebuilder_page
  • Zombie WordPress options were found after uninstall: 8 options
    • widget_theysaidso_widget
    • rednao_rnpagebuilder_db_version
    • db_upgraded
    • widget_recent-posts
    • recovery_mode_email_last_sent
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
    • > GET request to /wp-admin/admin.php?page=rnpagebuilder_additional_plugins
    • > Error in wp-content/plugins/page-builder-for-wpforms/core/PluginBase.php+218
    Uncaught Error: Class 'rnpdfimporter\Pages\AdditionalPlugins' not found in wp-content/plugins/page-builder-for-wpforms/core/PluginBase.php:218
    Stack trace:
    #0 wp-content/plugins/page-builder-for-wpforms/core/PluginBase.php(198): rnpagebuilder\core\PluginBase->LoadMenu()
    #1 wp-includes/class-wp-hook.php(310): rnpagebuilder\core\PluginBase->rnpagebuilder\core\{closure}()
    #2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #3 wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 wp-admin/admin.php(259): do_action()
    #5 {main}
    thrown
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=rnpagebuilder_additional_plugins
    • > request to
    • > Notice in wp-config.php+20
    Undefined index: REQUEST_METHOD

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
  • 656× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Twig\\Extension\\AbstractExtension' not found in wp-content/plugins/page-builder-for-wpforms/vendor/twig/cssinliner-extra/CssInlinerExtension.php:18
    • > PHP Fatal error
      Uncaught Error: Class 'rnpagebuilder\\PageGenerator\\Core\\QueryBuilder\\Comparison\\ComparisonBase' not found in wp-content/plugins/page-builder-for-wpforms/PageGenerator/Core/QueryBuilder/Comparison/UserValueComparison.php:15
    • > PHP Fatal error
      Uncaught Error: Interface 'Endroid\\QrCode\\RoundBlockSizeMode\\RoundBlockSizeModeInterface' not found in wp-content/plugins/page-builder-for-wpforms/vendor/endroid/qr-code/src/RoundBlockSizeMode/RoundBlockSizeModeMargin.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'rnpagebuilder\\DTO\\BlockBaseOptionsDTO' not found in wp-content/plugins/page-builder-for-wpforms/DTO/FieldImageBlockOptionsDTO.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'rnpagebuilder\\PDFLib\\core\\objects\\PDFObject' not found in wp-content/plugins/page-builder-for-wpforms/PDFLib/core/objects/PDFBool.php:11
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/page-builder-for-wpforms/core/Integration/Adapters/WPForm/FormProcessor/WPFormFormProcessor.php:41
    • > PHP Fatal error
      Uncaught Error: Class 'rnpagebuilder\\DTO\\PageSectionBaseOptionsDTO' not found in wp-content/plugins/page-builder-for-wpforms/DTO/CarouselSectionOptionsDTO.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Twig\\Error\\Error' not found in wp-content/plugins/page-builder-for-wpforms/vendor/twig/twig/src/Sandbox/SecurityError.php:21
    • > PHP Fatal error
      Uncaught Error: Class 'rnpagebuilder\\PageGenerator\\Managers\\ActionManager\\ActionBase' not found in wp-content/plugins/page-builder-for-wpforms/PageGenerator/Managers/ActionManager/ExportAction.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'rnpagebuilder\\PageGenerator\\Blocks\\SearchBar\\SearchFieldTemplates\\SearchFieldTemplateBase' not found in wp-content/plugins/page-builder-for-wpforms/PageGenerator/Blocks/SearchBar/SearchFieldTemplates/SearchInputTemplate.php:12

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=rnpagebuilder_settings
    • > Console-api (warning) in wp-content/plugins/page-builder-for-wpforms/js/dist/RNPBLit_bundle.js?ver=5+0:807
    Running in dev mode. Do not use in production!
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=rnpagebuilder_settings
    • > Console-api (warning) in wp-content/plugins/page-builder-for-wpforms/js/dist/RNPBLit_bundle.js?ver=5+0:10474
    Lit is in dev mode. Not recommended for production! See https://lit.dev/msg/dev-mode for more information.
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=rnpagebuilder_settings
    • > Console-api (warning) in wp-content/plugins/page-builder-for-wpforms/js/dist/RNPBLit_bundle.js?ver=5+0:24617
    Multiple versions of Lit loaded. Loading multiple versions is not recommended. See https://lit.dev/msg/multiple-versions for more information.
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=rnpagebuilder_settings
    • > Console-api (warning) in wp-content/plugins/page-builder-for-wpforms/js/dist/RNPBLit_bundle.js?ver=5+0:47280
    lit-html is in dev mode. Not recommended for production!

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: forms, wpforms, display entries, wpform, entries

page-builder-for-wpforms/PageBuilderForWPForm.php 77% from 13 tests

This is the main PHP file of "Page Builder for WPForms - Display your WPForms entries in any page" version 2.27, 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:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("page-builder-for-wpforms.php" instead of "PageBuilderForWPForm.php")
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Domain Path: The domain path is invalid: folder "/languages/" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin129,314 lines of code in 1,690 files:
LanguageFilesBlank linesComment linesLines of code
PHP1,15714,41610,59455,454
JavaScript2055,71710,15251,102
CSS922,40935415,860
reStructuredText1172,9712,8083,666
JSON30001,149
C1171186860
Twig6312561600
Markdown9650257
make1245124
SQL19056
Bourne Shell16044
YAML28035
Python17316533
SVG60132
XML11016
C/C++ Header171315
TypeScript1106
m41215

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity5.65
▷ Minimum class complexity1.00
▷ Maximum class complexity166.00
Average method complexity2.30
▷ Minimum method complexity1.00
▷ Maximum method complexity64.00
Code structure
Namespaces214
Interfaces62
Traits0
Classes1,086
▷ Abstract classes585.34%
▷ Concrete classes1,02894.66%
▷ Final classes16415.95%
Methods4,214
▷ Static methods3498.28%
▷ Public methods3,74688.89%
▷ Protected methods2074.91%
▷ Private methods2616.19%
Functions247
▷ Named functions16365.99%
▷ Anonymous functions8434.01%
Constants250
▷ Global constants72.80%
▷ Class constants24397.20%
▷ Public constants15865.02%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
45 PNG files occupy 0.80MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/FieldIcons/video.png0.36KB0.46KB0.00%
vendor/bacon/bacon-qr-code/test/Integration/__snapshots__/files/ImagickRenderingTest__testGenericQrCode__1.png3.04KB1.72KB▼ 43.30%
images/FieldIcons/html.png0.65KB0.77KB0.00%
images/TemplateIcons/confirmation_single.png22.56KB8.02KB▼ 64.44%
images/FieldIcons/form.png0.19KB0.14KB▼ 24.62%