Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼1.09MB] [CPU: ▼46.35ms] Passed 4 tests
Analyzing server-side resources used by Lowlevel Webforms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▼0.57 | 16.26 ▼28.08 |
Dashboard /wp-admin | 2.92 ▼0.38 | 22.16 ▼34.47 |
Posts /wp-admin/edit.php | 2.92 ▼0.43 | 18.31 ▼30.81 |
Add New Post /wp-admin/post-new.php | 2.92 ▼2.96 | 18.79 ▼92.04 |
Media Library /wp-admin/upload.php | 2.92 ▼0.31 | 17.68 ▼16.84 |
Lowlevel Webforms /wp-admin/plugins.php?page=lowlevelwebforms | 3.02 | 23.43 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Lowlevel Webforms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲124 | 13.29 ▼1.08 | 1.85 ▼0.21 | 45.20 ▲2.08 |
Dashboard /wp-admin | 2,240 ▲52 | 4.86 ▼0.00 | 103.59 ▲0.75 | 40.24 ▼6.15 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.01 ▼0.01 | 36.22 ▲1.15 | 32.25 ▼3.45 |
Add New Post /wp-admin/post-new.php | 1,559 ▲31 | 23.35 ▲0.18 | 685.63 ▲56.13 | 53.68 ▼2.81 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.21 ▼0.01 | 97.42 ▼1.42 | 44.14 ▲1.42 |
Lowlevel Webforms /wp-admin/plugins.php?page=lowlevelwebforms | 862 | 2.06 | 23.24 | 41.86 |
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
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/lowlevel-webforms/lowlevelwebforms.php+495
Undefined property: WP_Role::$ID
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- 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
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=lowlevelwebforms
- > Notice in wp-content/plugins/lowlevel-webforms/lowlevelwebforms.php+498
Undefined property: WP_Role::$ID
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/lowlevel-webforms/template/single-lw_webform.php
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/lowlevel-webforms/custom/contact/single-lw_webform.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lowlevel-webforms/custom/contact/functions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/lowlevel-webforms/lowlevelwebforms.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/lowlevel-webforms/template/log-in.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 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
4 plugin tags: html, forms, webform, application
lowlevel-webforms/lowlevelwebforms.php 92% from 13 tests
The main file in "Lowlevel Webforms" v. 0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("lowlevel-webforms.php" instead of "lowlevelwebforms.php")
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
Good job! No executable or dangerous file extensions detected863 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 125 | 54 | 863 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG files were detected