Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.46MB] [CPU: ▲0.53ms] Passed 4 tests
Analyzing server-side resources used by Easy Calculation Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.49 | 45.10 ▲0.94 |
Dashboard /wp-admin | 3.80 ▲0.49 | 49.91 ▼1.78 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 57.81 ▲8.59 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.45 | 96.26 ▼0.89 |
Media Library /wp-admin/upload.php | 3.66 ▲0.43 | 42.43 ▲3.86 |
Calculation Forms /wp-admin/admin.php?page=rednao_calculation_form | 3.79 | 39.07 |
Entries /wp-admin/admin.php?page=rednao_calculation_form_entries | 3.83 | 44.72 |
Help /wp-admin/admin.php?page=rednao_calculation_form_help | 3.63 | 34.43 |
Settings /wp-admin/admin.php?page=rednao_calculation_form_settings | 3.66 | 37.03 |
Server storage [IO: ▲8.31MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 345 new files
Database: 6 new tables, 6 new options
New tables |
---|
wp_rednaoeasycalculationforms_records_detail |
wp_rednaoeasycalculationforms_forms |
wp_rednaoeasycalculationforms_links |
wp_rednaoeasycalculationforms_records_meta |
wp_rednaoeasycalculationforms_records |
wp_rednaoeasycalculationforms_records_files |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Calculation Forms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲63 | 13.66 ▼0.89 | 1.57 ▼0.55 | 42.23 ▲1.44 |
Dashboard /wp-admin | 2,228 ▲37 | 5.86 ▼0.04 | 97.43 ▼5.97 | 81.87 ▲35.02 |
Posts /wp-admin/edit.php | 2,123 ▲31 | 2.00 ▲0.01 | 41.14 ▲0.55 | 36.70 ▼2.45 |
Add New Post /wp-admin/post-new.php | 6,232 ▲4,713 | 19.11 ▼4.02 | 984.51 ▲301.49 | 189.12 ▲137.24 |
Media Library /wp-admin/upload.php | 1,416 ▲25 | 4.26 ▲0.02 | 102.28 ▼3.36 | 82.16 ▲35.38 |
Calculation Forms /wp-admin/admin.php?page=rednao_calculation_form | 1,094 | 4.57 | 87.09 | 85.81 |
Entries /wp-admin/admin.php?page=rednao_calculation_form_entries | 1,259 | 6.67 | 142.96 | 109.81 |
Help /wp-admin/admin.php?page=rednao_calculation_form_help | 810 | 2.01 | 23.67 | 26.28 |
Settings /wp-admin/admin.php?page=rednao_calculation_form_settings | 1,019 | 3.85 | 79.15 | 32.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie tables were found after uninstall: 6 tables
- wp_rednaoeasycalculationforms_records
- wp_rednaoeasycalculationforms_records_meta
- wp_rednaoeasycalculationforms_records_files
- wp_rednaoeasycalculationforms_forms
- wp_rednaoeasycalculationforms_records_detail
- wp_rednaoeasycalculationforms_links
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=rednao_calculation_form
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
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
- 136× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'rednaoeasycalculationforms\\core\\db\\core\\RepositoryBase' not found in wp-content/plugins/easy-pricing-forms/core/db/FormRepository.php:15
- > PHP Fatal error
Uncaught Error: Class 'rednaoeasycalculationforms\\Managers\\QueryManager\\Formatter\\CSVFormatter\\Columns\\CSVColumn' not found in wp-content/plugins/easy-pricing-forms/Managers/QueryManager/Formatter/CSVFormatter/Columns/LinkCSVColumn.php:9
- > PHP Fatal error
Uncaught Error: Class 'rednaoeasycalculationforms\\core\\Managers\\ConditionManager\\Comparator\\ComparatorBase' not found in wp-content/plugins/easy-pricing-forms/core/Managers/ConditionManager/Comparator/MultipleValueComparator.php:7
- > PHP Fatal error
Uncaught Error: Class 'rednaoeasycalculationforms\\Managers\\QueryManager\\Formatter\\QueryFormatterBase' not found in wp-content/plugins/easy-pricing-forms/Managers/QueryManager/Formatter/CSVFormatter/CSVQueryFormatter.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/easy-pricing-forms/jstranslations/FBGoogleMaps.php:2
- > PHP Fatal error
Uncaught Error: Class 'rednaoeasycalculationforms\\core\\Managers\\FormManager\\Calculator\\CalculatorBase' not found in wp-content/plugins/easy-pricing-forms/core/Managers/FormManager/Calculator/NoneCalculator.php:7
- > PHP Fatal error
Uncaught Error: Class 'rednaoeasycalculationforms\\core\\Managers\\FormManager\\Fields\\FBFieldBase' not found in wp-content/plugins/easy-pricing-forms/Managers/FormManager/Fields/FBGroupPanel.php:16
- > PHP Fatal error
Uncaught Error: Class 'rednaoeasycalculationforms\\core\\Managers\\FormManager\\Calculator\\CalculatorBase' not found in wp-content/plugins/easy-pricing-forms/core/Managers/FormManager/Calculator/PricePerItemCalculator.php:11
- > PHP Fatal error
Uncaught Error: Class 'rednaoeasycalculationforms\\core\\Managers\\FormManager\\Calculator\\CalculatorBase' not found in wp-content/plugins/easy-pricing-forms/core/Managers/FormManager/Calculator/SurveyOptionsCalculator.php:11
- > PHP Fatal error
Uncaught Error: Class 'rednaoeasycalculationforms\\Managers\\QueryManager\\Formatter\\CSVFormatter\\Columns\\CSVColumn' not found in wp-content/plugins/easy-pricing-forms/Managers/QueryManager/Formatter/CSVFormatter/Columns/BasicStringCSVColumn.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: calculated fields, calculation forms, form, form builder, forms
easy-pricing-forms/rednaoeasycalculationforms.php 85% from 13 tests
The principal PHP file in "Easy Calculation Forms" v. 1.2.13 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("easy-pricing-forms.php" instead of "rednaoeasycalculationforms.php")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin17,865 lines of code in 305 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 209 | 3,711 | 615 | 11,399 |
CSS | 25 | 831 | 170 | 4,182 |
JavaScript | 54 | 296 | 789 | 1,831 |
PO File | 1 | 157 | 176 | 339 |
SVG | 8 | 0 | 7 | 72 |
JSON | 7 | 0 | 0 | 36 |
TypeScript | 1 | 1 | 0 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 6.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 51 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 229 | |
▷ Abstract classes | 17 | 7.42% |
▷ Concrete classes | 212 | 92.58% |
▷ Final classes | 0 | 0.00% |
Methods | 752 | |
▷ Static methods | 26 | 3.46% |
▷ Public methods | 669 | 88.96% |
▷ Protected methods | 38 | 5.05% |
▷ Private methods | 45 | 5.98% |
Functions | 55 | |
▷ Named functions | 1 | 1.82% |
▷ Anonymous functions | 54 | 98.18% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
25 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/fieldimages/textarea.png | 0.15KB | 0.11KB | ▼ 25.49% |
images/fieldimages/radio.png | 0.79KB | 0.88KB | 0.00% |
images/fieldimages/certificate.png | 3.80KB | 0.98KB | ▼ 74.07% |
images/fieldimages/hidden.png | 0.74KB | 1.10KB | 0.00% |
images/fieldimages/numeric.png | 3.00KB | 0.30KB | ▼ 90.06% |