Benchmarks
Plugin footprint 83% from 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.85MB] [CPU: ▲6.34ms] Passed 4 tests
Server-side resources used by OmniForm
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.36 ▲0.89 | 44.30 ▲6.62 |
Dashboard /wp-admin | 4.14 ▲0.84 | 51.04 ▲2.08 |
Posts /wp-admin/edit.php | 4.20 ▲0.84 | 54.39 ▲10.99 |
Add New Post /wp-admin/post-new.php | 7.19 ▲1.31 | 101.95 ▲5.66 |
Media Library /wp-admin/upload.php | 4.07 ▲0.84 | 47.99 ▲11.88 |
All Forms /wp-admin/edit.php?post_type=omniform | 4.15 | 47.02 |
Create a Form /wp-admin/post-new.php?post_type=omniform | 7.18 | 94.48 |
View responses /wp-admin/edit.php?post_type=omniform_response | 4.11 | 44.29 |
Server storage [IO: ▲1.35MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 761 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
OmniForm: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲116 | 14.68 ▲0.44 | 1.61 ▼0.22 | 37.53 ▼6.94 |
Dashboard /wp-admin | 2,240 ▲66 | 5.52 ▼0.14 | 90.67 ▼7.69 | 38.67 ▼7.46 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 1.99 ▲0.01 | 39.98 ▲4.28 | 37.01 ▲1.44 |
Add New Post /wp-admin/post-new.php | 6,438 ▲4,909 | 28.88 ▲5.46 | 899.56 ▲264.98 | 38.56 ▼10.07 |
Media Library /wp-admin/upload.php | 1,447 ▲50 | 4.27 ▲0.14 | 98.71 ▼0.29 | 44.67 ▲5.14 |
All Forms /wp-admin/edit.php?post_type=omniform | 2,242 | 2.10 | 36.11 | 34.32 |
Create a Form /wp-admin/post-new.php?post_type=omniform | 1,542 | 16.09 | 619.34 | 29.77 |
View responses /wp-admin/edit.php?post_type=omniform_response | 1,121 | 1.93 | 31.29 | 29.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 399× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'OmniForm\\Dependencies\\Respect\\Validation\\Exceptions\\ValidationException' not found in wp-content/plugins/omniform/vendor_prefixed/respect/validation/library/Exceptions/IsbnException.php:19
- > PHP Fatal error
Uncaught Error: Class 'OmniForm\\Dependencies\\Respect\\Validation\\Rules\\AbstractRule' not found in wp-content/plugins/omniform/vendor_prefixed/respect/validation/library/Rules/AlwaysInvalid.php:22
- > PHP Fatal error
Uncaught Error: Class 'OmniForm\\Dependencies\\Respect\\Validation\\Exceptions\\ValidationException' not found in wp-content/plugins/omniform/vendor_prefixed/respect/validation/library/Exceptions/MacAddressException.php:20
- > PHP Fatal error
Uncaught Error: Interface 'OmniForm\\Dependencies\\Dflydev\\DotAccessData\\DataInterface' not found in wp-content/plugins/omniform/vendor_prefixed/dflydev/dot-access-data/src/Data.php:22
- > PHP Fatal error
Uncaught Error: Class 'OmniForm\\Dependencies\\Respect\\Validation\\Exceptions\\FilteredValidationException' not found in wp-content/plugins/omniform/vendor_prefixed/respect/validation/library/Exceptions/VowelException.php:19
- > PHP Fatal error
Uncaught Error: Class 'OmniForm\\Dependencies\\Respect\\Validation\\Exceptions\\ValidationException' not found in wp-content/plugins/omniform/vendor_prefixed/respect/validation/library/Exceptions/DecimalException.php:18
- > PHP Fatal error
Uncaught Error: Interface 'OmniForm\\Dependencies\\Respect\\Stringifier\\Stringifier' not found in wp-content/plugins/omniform/vendor_prefixed/respect/stringifier/src/Stringifiers/StringableObjectStringifier.php:23
- > PHP Fatal error
Uncaught Error: Class 'OmniForm\\Dependencies\\Respect\\Validation\\Rules\\AbstractRule' not found in wp-content/plugins/omniform/vendor_prefixed/respect/validation/library/Rules/Equivalent.php:22
- > PHP Fatal error
Uncaught Error: Class 'OmniForm\\Dependencies\\Respect\\Validation\\Exceptions\\ValidationException' not found in wp-content/plugins/omniform/vendor_prefixed/respect/validation/library/Exceptions/PerfectSquareException.php:20
- > PHP Fatal error
Uncaught Error: Class 'OmniForm\\Dependencies\\Respect\\Validation\\Exceptions\estedValidationException' not found in wp-content/plugins/omniform/vendor_prefixed/respect/validation/library/Exceptions/CallbackException.php:20
- > 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 on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: contact form, form builder, forms, email, block editor
omniform/omniform.php Passed 13 tests
The main PHP script in "OmniForm" version 1.0.5 is automatically included on every request by WordPress
130 characters long description:
Easily create and manage custom forms with the block editor, customizable fields, and form submission management for your website.
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
No dangerous file extensions were detected21,289 lines of code in 753 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 455 | 1,356 | 10,200 | 13,598 |
JSON | 263 | 0 | 0 | 7,076 |
Markdown | 7 | 208 | 0 | 585 |
CSS | 15 | 0 | 0 | 16 |
JavaScript | 13 | 0 | 0 | 14 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 3.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 181.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 27 | |
Interfaces | 27 | |
Traits | 6 | |
Classes | 390 | |
▷ Abstract classes | 12 | 3.08% |
▷ Concrete classes | 378 | 96.92% |
▷ Final classes | 323 | 85.45% |
Methods | 1,093 | |
▷ Static methods | 210 | 19.21% |
▷ Public methods | 940 | 86.00% |
▷ Protected methods | 60 | 5.49% |
▷ Private methods | 93 | 8.51% |
Functions | 111 | |
▷ Named functions | 80 | 72.07% |
▷ Anonymous functions | 31 | 27.93% |
Constants | 130 | |
▷ Global constants | 6 | 4.62% |
▷ Class constants | 124 | 95.38% |
▷ Public constants | 104 | 83.87% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin