Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼168.93ms] Passed 4 tests
Server-side resources used by neoForms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.94 ▲0.11 | 34.73 ▲1.95 |
Dashboard /wp-admin | 3.13 ▲0.07 | 47.38 ▲5.44 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 47.37 ▲2.56 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.04 | 86.22 ▼684.69 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 31.50 ▲4.45 |
Server storage [IO: ▲1.73MB] [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: 53 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for neoForms
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,183 ▲601 | 15.89 ▲0.31 | 11.64 ▲3.42 | 44.86 ▼7.82 |
Dashboard /wp-admin | 3,188 ▲257 | 5.92 ▼0.13 | 133.04 ▼7.88 | 133.88 ▲24.04 |
Posts /wp-admin/edit.php | 2,981 ▲242 | 2.72 ▼0.01 | 59.86 ▼9.17 | 85.82 ▼5.22 |
Add New Post /wp-admin/post-new.php | 1,885 ▲202 | 19.14 ▲0.41 | 401.23 ▲24.13 | 109.18 ▲5.30 |
Media Library /wp-admin/upload.php | 2,055 ▲248 | 5.02 ▼0.08 | 124.39 ▼22.29 | 143.55 ▲18.44 |
Add Form /wp-admin/admin.php?page=neoforms#/forms/form-types | 3,287 | 5.82 | 124.71 | 126.44 |
All Forms /wp-admin/admin.php?page=neoforms#/ | 3,141 | 6.23 | 124.78 | 111.10 |
Settings /wp-admin/admin.php?page=neoforms#/settings | 3,094 | 5.49 | 104.83 | 98.90 |
Help /wp-admin/admin.php?page=neoforms#/help | 3,103 | 5.84 | 92.57 | 108.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Almost there! Just fix the following items
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/neoforms/templates/edit-form.php
- > /wp-content/plugins/neoforms/templates/core/form-builder.php
- > /wp-content/plugins/neoforms/templates/form-items.php
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/neoforms/templates/entry.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/neoforms/templates/form-items.php:308
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/neoforms/templates/settings.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/neoforms/shortcode.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_statuses() in wp-content/plugins/neoforms/templates/forms.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/neoforms/data.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/neoforms/form-builder-admin.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/neoforms/templates/help.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_statuses() in wp-content/plugins/neoforms/templates/entries.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/neoforms/templates/form-public.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in neoforms/assets to your readme.txt
- Tags: Too many tags (25 tag instead of maximum 10); only the first 5 tags are used in your directory listing
neoforms/neoforms.php 92% from 13 tests
Analyzing the main PHP file in "neoForms" version 1.0.2
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected23,491 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 20 | 1,315 | 1,545 | 11,991 |
JSON | 2 | 0 | 0 | 6,212 |
PHP | 19 | 231 | 186 | 2,889 |
CSS | 3 | 3 | 44 | 2,032 |
LESS | 1 | 13 | 13 | 367 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 24.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 3.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 25 | 50.00% |
▷ Public methods | 50 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon.png | 1.70KB | 0.84KB | ▼ 50.95% |