72% ultimate-landing-page

Code Review | Landing Page Builder - Free Landing Page Templates

WordPress plugin Landing Page Builder - Free Landing Page Templates scored72%from 54 tests.

About plugin

  • Plugin page: ultimate-landing-...
  • Plugin version: 3.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.3
  • WordPress version: 6.3.1
  • First release: Aug 12, 2014
  • Latest release: Aug 17, 2023
  • Number of updates: 464
  • Update frequency: every 7.1 days
  • Top authors: umarbajwa (100%)

Code review

54 tests

User reviews

107 reviews

Install metrics

1,000+ active /346,126 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.25MB] [CPU: ▼4.88ms] Passed 4 tests

An overview of server-side resources used by Landing Page Builder - Free Landing Page Templates
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.71 ▲0.2541.09 ▲5.40
Dashboard /wp-admin3.55 ▲0.2549.19 ▼10.75
Posts /wp-admin/edit.php3.66 ▲0.3149.64 ▲1.88
Add New Post /wp-admin/post-new.php6.14 ▲0.2585.76 ▼13.84
Media Library /wp-admin/upload.php3.47 ▲0.2439.15 ▲3.21
All Landing Pages /wp-admin/edit.php?post_type=landingpage_f3.5549.98
Add New /wp-admin/post-new.php?post_type=landingpage_f3.6151.79
Dashboard /wp-admin/edit.php?post_type=landingpage_f&page=lpp_dashboard3.4838.11

Server storage [IO: ▲1.20MB] [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: 98 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

Landing Page Builder - Free Landing Page Templates: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,852 ▲9114.53 ▲0.181.70 ▲0.1323.94 ▼14.11
Dashboard /wp-admin2,252 ▲755.61 ▼0.0593.20 ▼5.8857.55 ▲12.26
Posts /wp-admin/edit.php2,160 ▲602.08 ▲0.0633.03 ▼1.8943.09 ▲4.56
Add New Post /wp-admin/post-new.php1,577 ▲5123.31 ▼0.03640.76 ▼14.4259.96 ▲4.93
Media Library /wp-admin/upload.php1,463 ▲634.15 ▼0.0794.78 ▼16.3053.64 ▲2.09
All Landing Pages /wp-admin/edit.php?post_type=landingpage_f1,3463.8259.2040.19
Add New /wp-admin/post-new.php?post_type=landingpage_f6,7969.92225.54249.70
Dashboard /wp-admin/edit.php?post_type=landingpage_f&page=lpp_dashboard1,68911.30278.5591.00

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 0% 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 take a closer look at the following
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/ultimate-landing-page/options_lpp_template_2.php
  • 12× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Warning
      include(LPP_PLUGIN_PATH/lpp_counter.php): failed to open stream: No such file or directory in wp-content/plugins/ultimate-landing-page/lpp_template_2.php on line 1
    • > PHP Notice
      Undefined variable: lpp_cta_url in wp-content/plugins/ultimate-landing-page/options_lpp_template_2.php on line 170
    • > PHP Warning
      Use of undefined constant LPP_PLUGIN_PATH - assumed 'LPP_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ultimate-landing-page/lpp_template_2.php on line 1
    • > PHP Warning
      include(): Failed opening 'LPP_PLUGIN_PATH/lpp_counter.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/ultimate-landing-page/lpp_template_2.php on line 1
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_editor() in wp-content/plugins/ultimate-landing-page/options_lpp_template_2.php:189
    • > PHP Notice
      Undefined variable: lpp_sub_h2 in wp-content/plugins/ultimate-landing-page/options_lpp_template_2.php on line 162
    • > PHP Notice
      Undefined variable: lpp_main_h1 in wp-content/plugins/ultimate-landing-page/options_lpp_template_2.php on line 157
    • > PHP Notice
      Undefined variable: lpp_add_img_1 in wp-content/plugins/ultimate-landing-page/options_lpp_template_2.php on line 181
    • > PHP Fatal error
      Uncaught Error: Call to undefined function the_title() in wp-content/plugins/ultimate-landing-page/lpp_template_2.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ultimate-landing-page/config.php:4

User-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/edit.php?post_type=landingpage_f&page=lpp_dashboard
    • > Javascript (severe) in unknown
    /wp-content/plugins/ultimate-landing-page/js/alpha-picker.js?ver=1.2 18:16 Uncaught ReferenceError: wpColorPickerL10n is not defined
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/edit.php?post_type=landingpage_f&page=lpp_dashboard
    • > Console-api (warning) in unknown
    /wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/ultimate-landing-page/js/image-upload.js?ver=6.3.1:7:25)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1:2:27292)" undefined
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/edit.php?post_type=landingpage_f&page=lpp_dashboard
    • > Javascript (severe) in unknown
    /wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).live is not a function
    • > GET request to /wp-admin/edit.php?post_type=landingpage_f&page=lpp_dashboard
    • > Network (severe)
    https://ps.w.org/mailchimp-subscribe-sm/assets/screenshot-6.png - Failed to load resource: the server responded with a status of 404 ()

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed: You can look at the official readme.txt

ultimate-landing-page/ultimate-landing-page.php Passed 13 tests

The main file in "Landing Page Builder - Free Landing Page Templates" v. 3.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
77 characters long description:
Create Beautiful Landing Pages in minutes with Ultimate Landing Page Builder.

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 plugin4,267 lines of code in 34 files:
LanguageFilesBlank linesComment linesLines of code
PHP269462453,285
JavaScript7168181897
PO File1303285

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions31
▷ Named functions31100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
61 compressed PNG files occupy 0.96MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/templates/thumbs/template-45.png23.93KB25.18KB0.00%
images/templates/thumbs/template-15.png31.64KB31.39KB▼ 0.81%
images/templates/thumbs/template-7.png24.58KB24.33KB▼ 1.03%
images/templates/thumbs/template-44.png13.83KB14.40KB0.00%
images/templates/thumbs/template-50.png5.34KB5.95KB0.00%