Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.39MB] [CPU: ▼27.65ms] Passed 4 tests
This is a short check of server-side resources used by Live Landing Page Composer – visual landing page builder for digital marketers
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.82 ▲1.36 | 56.48 ▲12.83 |
Dashboard /wp-admin | 4.34 ▲1.00 | 34.77 ▼43.07 |
Posts /wp-admin/edit.php | 4.34 ▲0.99 | 39.70 ▼10.05 |
Add New Post /wp-admin/post-new.php | 4.34 ▼1.54 | 38.25 ▼58.51 |
Media Library /wp-admin/upload.php | 4.34 ▲1.12 | 37.23 ▲1.03 |
Add Template /wp-admin/post-new.php?post_type=dslc_templates | 4.34 | 35.05 |
Getting Started /wp-admin/admin.php?page=dslc_getting_started | 4.34 | 34.72 |
Templates /wp-admin/edit.php?post_type=dslc_templates | 4.35 | 35.35 |
Widgets Module /wp-admin/admin.php?page=dslc_plugin_options_widgets_m | 4.34 | 35.57 |
General Options /wp-admin/admin.php?page=dslc_plugin_options | 4.34 | 38.57 |
Slugs /wp-admin/admin.php?page=dslc_plugin_options_cpt_slugs | 4.34 | 32.73 |
Server storage [IO: ▲1.94MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 86 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Live Landing Page Composer – visual landing page builder for digital marketers
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,050 ▲289 | 14.60 ▼0.02 | 33.12 ▲30.89 | 42.52 ▼0.09 |
Dashboard /wp-admin | 2,270 ▲96 | 5.57 ▼0.06 | 85.44 ▼4.55 | 37.83 ▼2.81 |
Posts /wp-admin/edit.php | 2,162 ▲65 | 1.96 ▼0.05 | 40.65 ▲5.10 | 36.17 ▼2.21 |
Add New Post /wp-admin/post-new.php | 1,584 ▲58 | 23.08 ▼0.12 | 598.98 ▼95.91 | 51.04 ▼5.03 |
Media Library /wp-admin/upload.php | 1,465 ▲65 | 4.20 ▼0.02 | 102.59 ▼9.26 | 46.09 ▼0.93 |
Add Template /wp-admin/post-new.php?post_type=dslc_templates | 1,936 | 3.80 | 65.27 | 39.71 |
Getting Started /wp-admin/admin.php?page=dslc_getting_started | 1,202 | 4.26 | 114.61 | 61.19 |
Templates /wp-admin/edit.php?post_type=dslc_templates | 1,114 | 1.98 | 30.19 | 31.78 |
Widgets Module /wp-admin/admin.php?page=dslc_plugin_options_widgets_m | 900 | 2.18 | 26.50 | 27.38 |
General Options /wp-admin/admin.php?page=dslc_plugin_options | 918 | 2.02 | 25.16 | 32.21 |
Slugs /wp-admin/admin.php?page=dslc_plugin_options_cpt_slugs | 996 | 2.05 | 24.22 | 28.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/live-composer-lite/includes/plugin-options-framework/inc/init.php+26
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 116 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=dslc_plugin_options_cpt_slugs
- > Deprecated in wp-content/plugins/live-composer-lite/includes/plugin-options-framework/inc/init.php+156
Function create_function() is deprecated
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=dslc_getting_started
- > Notice in wp-content/plugins/live-composer-lite/includes/plugin-options-framework/getting-started.php+27
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 41× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/live-composer-lite/includes/post-options-framework/post-options-framework.php:72
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/live-composer-lite/includes/display-functions.php:487
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/live-composer-lite/lite-ds-live-composer.php:20
- > PHP Warning
Use of undefined constant DSLC_PO_FRAMEWORK_ABS - assumed 'DSLC_PO_FRAMEWORK_ABS' (this will throw an Error in a future version of PHP) in wp-content/plugins/live-composer-lite/includes/plugin-options-framework/plugin-options-framework.php on line 6
- > PHP Warning
Use of undefined constant DSLC_PO_FRAMEWORK_ABS - assumed 'DSLC_PO_FRAMEWORK_ABS' (this will throw an Error in a future version of PHP) in wp-content/plugins/live-composer-lite/includes/plugin-options-framework/plugin-options-framework.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/live-composer-lite/includes/single-templates-framework/inc/filters.php:87
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/live-composer-lite/includes/single-templates-framework/inc/functions.php:105
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/live-composer-lite/includes/plugin-options-framework/inc/init.php:59
- > PHP Fatal error
Uncaught Error: Class 'DSLC_Module' not found in wp-content/plugins/live-composer-lite/modules/separator/module.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/live-composer-lite/includes/scripts.php:56
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: builder, live, modules, page, page builder...
live-composer-lite/lite-ds-live-composer.php 77% from 13 tests
The principal PHP file in "Live Landing Page Composer – visual landing page builder for digital marketers" v. 1.0.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Plugin Name: Please don't use more than 70 characters for the plugin name (currently 80 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("live-composer-lite.php" instead of "lite-ds-live-composer.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 144 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin25,765 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 1,885 | 989 | 10,707 |
CSS | 8 | 1,240 | 459 | 7,802 |
JavaScript | 6 | 2,149 | 905 | 5,629 |
PO File | 1 | 524 | 2,022 | 1,087 |
SVG | 2 | 0 | 0 | 540 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
It is recommended to fix the following
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 111)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 20.69 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 9.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 111.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 1 | 3.23% |
▷ Public methods | 29 | 93.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.45% |
Functions | 72 | |
▷ Named functions | 72 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
25 compressed PNG files occupy 0.06MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/select.png | 0.49KB | 0.33KB | ▼ 33.40% |
images/colorpicker_submit.png | 0.96KB | 1.04KB | 0.00% |
images/custom_background.png | 1.87KB | 2.12KB | 0.00% |
images/custom_submit.png | 0.97KB | 0.99KB | 0.00% |
images/custom_hsb_b.png | 1.07KB | 0.82KB | ▼ 23.61% |