Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼11.76ms] Passed 4 tests
This is a short check of server-side resources used by Liane Form
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 39.45 ▼3.92 |
Dashboard /wp-admin | 3.39 ▲0.00 | 48.06 ▼22.68 |
Posts /wp-admin/edit.php | 3.50 ▲0.11 | 50.66 ▼2.22 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.04 | 90.12 ▼18.21 |
Media Library /wp-admin/upload.php | 3.31 ▲0.04 | 35.48 ▼1.21 |
Liane Form /wp-admin/options-general.php?page=liane_form | 3.26 | 33.86 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_liane_form_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Liane Form
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲74 | 14.52 ▲0.15 | 2.54 ▲0.82 | 42.51 ▼1.53 |
Dashboard /wp-admin | 2,202 ▲22 | 5.61 ▼0.06 | 85.57 ▼17.34 | 38.23 ▼9.68 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.96 ▼0.04 | 39.05 ▲4.56 | 36.27 ▲0.15 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.35 ▲0.02 | 606.76 ▼86.94 | 68.36 ▲12.63 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.19 ▲0.03 | 95.00 ▼0.67 | 45.07 ▼1.57 |
Liane Form /wp-admin/options-general.php?page=liane_form | 816 | 2.00 | 25.69 | 29.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_liane_form_widget
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=liane_form
- > Notice in wp-content/plugins/liane-form/settings.php+87
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/liane-form/liane-form.php:58
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/liane-form/widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/liane-form/settings.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: liane, form, shortcode
liane-form/liane-form.php Passed 13 tests
The main file in "Liane Form" v. 0.1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
17 characters long description:
Embed Liane Forms
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin215 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 21 | 16 | 214 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 4.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin