Benchmarks
Plugin footprint 65% 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.62MB] [CPU: ▲5.01ms] Passed 4 tests
A check of server-side resources used by AIO Forms - Your #1 companion for those difficult forms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.07 ▲0.60 | 41.88 ▲3.18 |
Dashboard /wp-admin | 3.93 ▲0.63 | 49.84 ▲1.12 |
Posts /wp-admin/edit.php | 3.98 ▲0.62 | 58.79 ▲8.03 |
Add New Post /wp-admin/post-new.php | 6.52 ▲0.63 | 97.19 ▲16.67 |
Media Library /wp-admin/upload.php | 3.85 ▲0.62 | 39.73 ▲7.70 |
Entries (Little version) /wp-admin/admin.php?page=rednao_entries_form | 4.23 | 57.84 |
Settings /wp-admin/admin.php?page=rednao_calculation_form_settings | 4.01 | 38.77 |
AIO Forms /wp-admin/admin.php?page=rednao_calculation_form | 4.04 | 43.84 |
Help/Documentation /wp-admin/admin.php?page=support | 3.76 | 34.09 |
Server storage [IO: ▲7.97MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 1,472 new files
Database: 7 new tables, 7 new options
New tables |
---|
wp_rednaoeasycalculationforms_records |
wp_rednaoeasycalculationforms_field_templates |
wp_rednaoeasycalculationforms_forms |
wp_rednaoeasycalculationforms_records_files |
wp_rednaoeasycalculationforms_records_detail |
wp_rednaoeasycalculationforms_links |
wp_rednaoeasycalculationforms_records_meta |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
rednao_rednaoeasycalculationforms_db_version |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for AIO Forms - Your #1 companion for those difficult forms
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲80 | 14.24 ▼0.04 | 1.63 ▲0.02 | 37.76 ▼6.65 |
Dashboard /wp-admin | 2,250 ▲75 | 5.66 ▼0.02 | 90.85 ▼20.93 | 41.28 ▼2.36 |
Posts /wp-admin/edit.php | 2,152 ▲52 | 1.97 ▲0.02 | 39.99 ▲4.81 | 35.12 ▲3.48 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 23.62 ▲0.54 | 637.88 ▲5.47 | 50.72 ▲0.60 |
Media Library /wp-admin/upload.php | 1,453 ▲59 | 4.21 ▲0.04 | 98.94 ▼0.08 | 40.45 ▼2.75 |
Entries (Little version) /wp-admin/admin.php?page=rednao_entries_form | 2,156 | 9.26 | 184.11 | 69.62 |
Settings /wp-admin/admin.php?page=rednao_calculation_form_settings | 1,713 | 2.78 | 40.72 | 35.81 |
AIO Forms /wp-admin/admin.php?page=rednao_calculation_form | 1,882 | 3.68 | 52.46 | 27.44 |
Help/Documentation /wp-admin/admin.php?page=support | 843 | 1.97 | 27.50 | 26.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie tables detected upon uninstall: 7 tables
- wp_rednaoeasycalculationforms_forms
- wp_rednaoeasycalculationforms_field_templates
- wp_rednaoeasycalculationforms_records_detail
- wp_rednaoeasycalculationforms_records
- wp_rednaoeasycalculationforms_records_files
- wp_rednaoeasycalculationforms_links
- wp_rednaoeasycalculationforms_records_meta
- Zombie WordPress options detected upon uninstall: 7 options
- rednao_rednaoeasycalculationforms_db_version
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/all-in-one-forms/vendor/masterminds/html5/bin/entities.php
- 739× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'rednaoeasycalculationforms\\Parser\\Core\\ParserElementBase' not found in wp-content/plugins/all-in-one-forms/Parser/Elements/Scalars/ParseVariable.php:9
- > PHP Fatal error
Uncaught Error: Class 'HtmlSanitizer\\Visitor\\AbstractNodeVisitor' not found in wp-content/plugins/all-in-one-forms/vendor/tgalopin/html-sanitizer/src/Extension/Basic/NodeVisitor/H5NodeVisitor.php:26
- > PHP Fatal error
Uncaught Error: Class 'rednaoeasycalculationforms\\core\\Managers\\FormManager\\Fields\\FBTextField' not found in wp-content/plugins/all-in-one-forms/core/Managers/FormManager/Fields/FBEmail.php:9
- > PHP Fatal error
Uncaught Error: Class 'rednaoeasycalculationforms\\Parser\\Core\\ParseBase' not found in wp-content/plugins/all-in-one-forms/Parser/Elements/ParseIfStatement.php:8
- > PHP Fatal error
Uncaught Error: Class 'rednaoeasycalculationforms\\Managers\\QueryManager\\Formatter\\CSVFormatter\\Columns\\CSVColumn' not found in wp-content/plugins/all-in-one-forms/Managers/QueryManager/Formatter/CSVFormatter/Columns/BasicStringCSVColumn.php:7
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\AbstractExpression' not found in wp-content/plugins/all-in-one-forms/vendor/twig/twig/src/Node/Expression/BlockReferenceExpression.php:23
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/all-in-one-forms/vendor/tgalopin/html-sanitizer/tests/AbstractSanitizerTest.php:18
- > PHP Fatal error
Uncaught Error: Class 'DASPRiD\\Enum\\AbstractEnum' not found in wp-content/plugins/all-in-one-forms/vendor/dasprid/enum/test/Planet.php:18
- > PHP Fatal error
Uncaught Error: Interface 'Twig\\Cache\\CacheInterface' not found in wp-content/plugins/all-in-one-forms/vendor/twig/twig/src/Cache/FilesystemCache.php:19
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\CssSelector\\XPath\\Extension\\AbstractExtension' not found in wp-content/plugins/all-in-one-forms/vendor/symfony/css-selector/XPath/Extension/NodeExtension.php:28
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rednao_calculation_form
- > Console-api (warning) in wp-content/plugins/all-in-one-forms/js/dist/RNMainLit_bundle.js?ver=62+0:809
Running in dev mode. Do not use in production!
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rednao_calculation_form
- > Console-api (warning) in wp-content/plugins/all-in-one-forms/js/dist/RNMainLit_bundle.js?ver=62+0:10476
Lit is in dev mode. Not recommended for production! See https://lit.dev/msg/dev-mode for more information.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rednao_calculation_form
- > Console-api (warning) in wp-content/plugins/all-in-one-forms/js/dist/RNMainLit_bundle.js?ver=62+0:24619
Multiple versions of Lit loaded. Loading multiple versions is not recommended. See https://lit.dev/msg/multiple-versions for more information.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rednao_calculation_form
- > Console-api (warning) in wp-content/plugins/all-in-one-forms/js/dist/RNMainLit_bundle.js?ver=62+0:47282
lit-html is in dev mode. Not recommended for production!
Optimizations
Plugin configuration 93% 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 need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6 in all-in-one-forms/assets to your readme.txt
all-in-one-forms/rednaoeasycalculationforms.php 92% from 13 tests
The entry point to "AIO Forms - Your #1 companion for those difficult forms" version 1.2.140 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("all-in-one-forms.php" instead of "rednaoeasycalculationforms.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin74,818 lines of code in 1,399 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,035 | 13,154 | 13,972 | 56,999 |
CSS | 55 | 1,010 | 187 | 6,790 |
JavaScript | 103 | 1,009 | 1,002 | 4,055 |
reStructuredText | 114 | 2,494 | 2,409 | 2,934 |
JSON | 22 | 0 | 0 | 1,549 |
Markdown | 21 | 328 | 0 | 1,214 |
HTML | 3 | 138 | 12 | 608 |
Twig | 29 | 43 | 28 | 379 |
make | 1 | 24 | 5 | 124 |
SVG | 10 | 0 | 7 | 76 |
XML | 3 | 4 | 1 | 50 |
Python | 1 | 73 | 165 | 33 |
TypeScript | 1 | 1 | 0 | 6 |
YAML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 6.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 195 | |
Interfaces | 61 | |
Traits | 9 | |
Classes | 931 | |
▷ Abstract classes | 43 | 4.62% |
▷ Concrete classes | 888 | 95.38% |
▷ Final classes | 161 | 18.13% |
Methods | 3,740 | |
▷ Static methods | 275 | 7.35% |
▷ Public methods | 3,177 | 84.95% |
▷ Protected methods | 314 | 8.40% |
▷ Private methods | 249 | 6.66% |
Functions | 212 | |
▷ Named functions | 116 | 54.72% |
▷ Anonymous functions | 96 | 45.28% |
Constants | 253 | |
▷ Global constants | 4 | 1.58% |
▷ Class constants | 249 | 98.42% |
▷ Public constants | 167 | 67.07% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
33 PNG files occupy 0.09MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/rating/star-empty.png | 0.57KB | 0.35KB | ▼ 38.16% |
images/fieldimages/group.png | 0.49KB | 0.44KB | ▼ 10.42% |
images/icons/check.png | 0.17KB | 0.17KB | 0.00% |
images/fieldimages/date.png | 0.92KB | 0.74KB | ▼ 18.96% |
Templates/Locals/ContactForm/Image.png | 3.14KB | 1.71KB | ▼ 45.76% |