Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.83MB] [CPU: ▼294.57ms] 75% from 4 tests
This is a short check of server-side resources used by Limelight Forms
Please have a look at the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 762.30ms on /wp-admin/post-new.php?post_type=ll-form)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.16 ▲0.65 | 60.08 ▲1.50 |
Dashboard /wp-admin | 4.31 ▲0.90 | 42.93 ▲8.97 |
Posts /wp-admin/edit.php | 4.53 ▲0.89 | 47.35 ▼24.77 |
Add New Post /wp-admin/post-new.php | 7.84 ▲0.87 | 100.96 ▼1,163.97 |
Media Library /wp-admin/upload.php | 4.26 ▲0.96 | 39.11 ▲12.21 |
Limelight Logs /wp-admin/edit.php?post_type=ld-forms-log | 4.30 | 36.15 |
Integrations /wp-admin/edit.php?post_type=ll-form&page=ll_form_integrations | 4.18 | 32.88 |
Add New /wp-admin/post-new.php?post_type=ll-form | 8.23 | 762.30 |
Form Submissions /wp-admin/edit.php?post_type=ll-form-submission | 4.30 | 30.28 |
All Limelight Forms /wp-admin/edit.php?post_type=ll-form | 4.30 | 36.49 |
Server storage [IO: ▲20.68MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 273 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Limelight Forms: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,138 ▲415 | 34.79 ▲19.88 | 130.11 ▲124.39 | 2.17 ▼0.33 |
Dashboard /wp-admin | 3,230 ▲369 | 21.40 ▲15.17 | 238.57 ▲102.92 | 169.14 ▼2.30 |
Posts /wp-admin/edit.php | 2,900 ▲206 | 18.83 ▲15.60 | 205.19 ▲139.47 | 143.13 ▼4.68 |
Add New Post /wp-admin/post-new.php | 2,153 ▲401 | 34.36 ▲12.76 | 580.16 ▲114.53 | 168.14 ▼33.72 |
Media Library /wp-admin/upload.php | 1,944 ▲250 | 20.98 ▲15.46 | 270.68 ▲71.62 | 191.56 ▼1.69 |
Limelight Logs /wp-admin/edit.php?post_type=ld-forms-log | 1,568 | 18.81 | 181.35 | 115.98 |
Integrations /wp-admin/edit.php?post_type=ll-form&page=ll_form_integrations | 927 | 18.02 | 203.13 | 113.19 |
Add New /wp-admin/post-new.php?post_type=ll-form | 6,397 | 49.51 | 757.45 | 210.32 |
Form Submissions /wp-admin/edit.php?post_type=ll-form-submission | 1,635 | 18.79 | 178.73 | 110.82 |
All Limelight Forms /wp-admin/edit.php?post_type=ll-form | 1,590 | 18.80 | 178.42 | 109.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=ll-form
- > Notice in wp-content/plugins/limelight-forms/vendor/limelight/forms/app/Elements/Recaptcha.php+68
Trying to access array offset on value of type bool
SRP 0% 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
The following issues need your attention
- 8× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/limelight-forms/vendor/limelight/forms/views/admin/styles.php
- > /wp-content/plugins/limelight-forms/vendor/limelight/forms/views/admin/builder.php
- > /wp-content/plugins/limelight-forms/vendor/limelight/forms/views/public/form.php
- > /wp-content/plugins/limelight-forms/vendor/limelight/forms/views/admin/settings.php
- > /wp-content/plugins/limelight-forms/vendor/limelight/forms/views/admin/events.php
- > /wp-content/plugins/limelight-forms/vendor/limelight/forms/views/admin/meta.php
- > /wp-content/plugins/limelight-forms/vendor/limelight/forms/views/admin/options.php
- > /wp-content/plugins/limelight-forms/vendor/limelight/forms/views/admin/layout.php
- 61× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: id in wp-content/plugins/limelight-forms/vendor/limelight/forms/views/admin/meta.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'Limelight\\Forms\\Elements\\Element' not found in wp-content/plugins/limelight-forms/vendor/limelight/forms/app/Elements/BoxModel.php:5
- > PHP Fatal error
Uncaught Error: Class 'Limelight\\Forms\\Events\\Event' not found in wp-content/plugins/limelight-forms/vendor/limelight/forms/app/Events/Redirect.php:9
- > PHP Fatal error
Uncaught Error: Class 'Limelight\\Forms\\Elements\\Template' not found in wp-content/plugins/limelight-forms/vendor/limelight/forms/app/Templates/WPRegister.php:7
- > PHP Notice
Undefined variable: form in wp-content/plugins/limelight-forms/vendor/limelight/forms/views/admin/options.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Limelight\\Forms\\Elements\\Element' not found in wp-content/plugins/limelight-forms/vendor/limelight/forms/app/Elements/Media.php:5
- > PHP Fatal error
Uncaught Error: Class 'Limelight\\Forms\\Elements\\Element' not found in wp-content/plugins/limelight-forms/vendor/limelight/forms/app/Elements/Template.php:7
- > PHP Notice
Undefined variable: instanceID in wp-content/plugins/limelight-forms/vendor/limelight/forms/views/admin/meta.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'Limelight\\Forms\\Events\\Event' not found in wp-content/plugins/limelight-forms/vendor/limelight/forms/app/Events/Custom.php:9
- > PHP Fatal error
Uncaught Error: Class 'Limelight\\Forms\\Elements\\Element' not found in wp-content/plugins/limelight-forms/vendor/limelight/forms/app/Elements/Button.php:7
- > PHP Notice
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 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Donate link: Invalid URI ("")
limelight-forms/index.php 85% from 13 tests
The principal PHP file in "Limelight Forms" v. 1.2.5 is loaded by WordPress automatically on each request
You should first fix the following items:
- Git Repository: An alternative Git repository was detected
- Main file name: It is recommended to name the main PHP file as the plugin slug ("limelight-forms.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin109,607 lines of code in 219 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 115 | 2,603 | 2,530 | 36,809 |
JSON | 10 | 0 | 0 | 29,692 |
JavaScript | 24 | 3,890 | 1,761 | 28,488 |
SVG | 3 | 0 | 0 | 9,546 |
Vuejs Component | 55 | 530 | 17 | 2,727 |
Sass | 5 | 212 | 6 | 2,302 |
Markdown | 5 | 17 | 0 | 39 |
CSS | 2 | 0 | 34 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 14.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 162.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 80 | |
▷ Abstract classes | 1 | 1.25% |
▷ Concrete classes | 79 | 98.75% |
▷ Final classes | 4 | 5.06% |
Methods | 429 | |
▷ Static methods | 154 | 35.90% |
▷ Public methods | 380 | 88.58% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 49 | 11.42% |
Functions | 122 | |
▷ Named functions | 112 | 91.80% |
▷ Anonymous functions | 10 | 8.20% |
Constants | 20 | |
▷ Global constants | 14 | 70.00% |
▷ Class constants | 6 | 30.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin