Benchmarks
Plugin footprint 81% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲5.96MB] [CPU: ▲30.92ms] 50% from 4 tests
This is a short check of server-side resources used by Contact Form, Survey & Popup Form Plugin for WordPress - ARForms Form Builder
Please fix the following
- CPU: Total CPU usage must kept under 500.00ms (currently 1,444.70ms on /wp-admin/admin.php?page=ARForms-Lite-addons)
- Extra RAM: The extra memory usage must be under 5MB (currently 5.96MB on /wp-admin/admin.php?page=ARForms-Lite-entries)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.47 ▲6.00 | 74.25 ▲33.03 |
Dashboard /wp-admin | 9.32 ▲6.02 | 75.86 ▲26.43 |
Posts /wp-admin/edit.php | 9.37 ▲6.01 | 90.08 ▲45.61 |
Add New Post /wp-admin/post-new.php | 11.69 ▲5.80 | 116.07 ▲18.60 |
Media Library /wp-admin/upload.php | 9.24 ▲6.01 | 97.57 ▲65.41 |
Add New Form /wp-admin/admin.php?page=ARForms-Lite&arfaction=new&isp=1 | 8.99 | 58.77 |
Upgrade To Premium /wp-admin/admin.php?page=arflite_upgrade_to_premium | 9.15 | 65.18 |
/wp-admin/admin.php?page=ARForms-Lite-settings1 | 9.14 | 67.72 |
Addons /wp-admin/admin.php?page=ARForms-Lite-addons | 9.42 | 1,444.70 |
Manage Forms /wp-admin/admin.php?page=ARForms-Lite | 8.99 | 57.03 |
Import / Export /wp-admin/admin.php?page=ARForms-Lite-import-export | 8.99 | 55.23 |
General Settings /wp-admin/admin.php?page=ARForms-Lite-settings | 8.99 | 57.10 |
Growth Plugins /wp-admin/admin.php?page=ARF-Growth-Tools | 9.19 | 64.74 |
Form Entries /wp-admin/admin.php?page=ARForms-Lite-entries | 8.99 | 53.82 |
Server storage [IO: ▲22.50MB] [DB: ▲0.19MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 1,224 new files
Database: 4 new tables, 15 new options
New tables |
---|
wp_arflite_entries |
wp_arflite_entry_values |
wp_arflite_forms |
wp_arflite_fields |
New WordPress options |
---|
widget_recent-comments |
arflite_db_version |
arflite_display_bf_sale_popup |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
arflite_options |
arfalite_css |
arflite_plugin_activated |
can_compress_scripts |
... |
Browser metrics 75% from 4 tests
Checking browser requirements for Contact Form, Survey & Popup Form Plugin for WordPress - ARForms Form Builder
A great user experience is important, so you should focus on the following
- Nodes: For the best user experience, please reduce the number of DOM nodes under 25,000 (currently 45,665 on /wp-admin/admin.php?page=arflite_upgrade_to_premium)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲163 | 13.49 ▼0.95 | 8.39 ▲6.70 | 27.38 ▼17.46 |
Dashboard /wp-admin | 2,234 ▲59 | 5.53 ▼0.16 | 93.46 ▼7.12 | 86.56 ▲49.85 |
Posts /wp-admin/edit.php | 2,151 ▲48 | 1.95 ▲0.00 | 37.44 ▼0.08 | 35.63 ▼3.19 |
Add New Post /wp-admin/post-new.php | 1,769 ▲234 | 20.36 ▲2.24 | 878.56 ▲285.26 | 44.53 ▼23.39 |
Media Library /wp-admin/upload.php | 1,454 ▲54 | 4.06 ▼0.15 | 112.37 ▲18.13 | 82.68 ▲41.75 |
Add New Form /wp-admin/admin.php?page=ARForms-Lite&arfaction=new&isp=1 | 1,922 | 4.39 | 97.37 | 82.19 |
Upgrade To Premium /wp-admin/admin.php?page=arflite_upgrade_to_premium | 45,665 | 7.02 | 234.55 | 199.17 |
/wp-admin/admin.php?page=ARForms-Lite-settings1 | 917 | 2.49 | 48.58 | 26.62 |
Addons /wp-admin/admin.php?page=ARForms-Lite-addons | 2,241 | 2.45 | 36.80 | 52.69 |
Manage Forms /wp-admin/admin.php?page=ARForms-Lite | 1,894 | 4.32 | 78.07 | 39.18 |
Import / Export /wp-admin/admin.php?page=ARForms-Lite-import-export | 1,755 | 3.51 | 66.08 | 65.01 |
General Settings /wp-admin/admin.php?page=ARForms-Lite-settings | 4,798 | 4.98 | 114.99 | 71.49 |
Growth Plugins /wp-admin/admin.php?page=ARF-Growth-Tools | 1,214 | 1.72 | 23.04 | 80.41 |
Form Entries /wp-admin/admin.php?page=ARForms-Lite-entries | 1,954 | 4.46 | 89.87 | 71.67 |
Uninstaller [IO: ▲0.06MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- wp_get_version
- arflite_display_bf_sale_popup
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=ARForms-Lite-settings1
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'arflitemaincontroller' does not have a method 'list_entries'
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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/arforms-form-builder/arformslite_cs/includes/arformslite-cs/style.php
- 575× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/arforms-form-builder/core/arflite_css_create_materialize.php on line 332
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Math\\BigInteger\\Engines\\PHP' not found in wp-content/plugins/arforms-form-builder/core/gmail/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP64.php:23
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\Handler' not found in wp-content/plugins/arforms-form-builder/core/gmail/vendor/monolog/monolog/src/Monolog/Handler/NoopHandler.php:23
- > PHP Notice
Undefined variable: is_prefix_suffix_enable in wp-content/plugins/arforms-form-builder/core/arflite_css_create_rtl.php on line 69
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/arforms-form-builder/core/controllers/arfliteprocontroller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/arforms-form-builder/core/gmail/vendor/monolog/monolog/src/Monolog/Handler/LogmaticHandler.php:21
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\Common\\BlockCipher' not found in wp-content/plugins/arforms-form-builder/core/gmail/vendor/phpseclib/phpseclib/phpseclib/Crypt/Rijndael.php:67
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Handler\\FingersCrossed\\ActivationStrategyInterface' not found in wp-content/plugins/arforms-form-builder/core/gmail/vendor/monolog/monolog/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php:41
- > PHP Fatal error
Uncaught Error: Class 'Google\\Auth\\HttpHandler\\Guzzle6HttpHandler' not found in wp-content/plugins/arforms-form-builder/core/gmail/vendor/google/auth/src/HttpHandler/Guzzle7HttpHandler.php:19
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Model\\AbstractModel' not found in wp-content/plugins/arforms-form-builder/core/models/geoip/geoip2/geoip2/src/Model/Asn.php:16
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=arflite_upgrade_to_premium
- > Security (warning) in unknown
security - Error with Feature-Policy header: Unrecognized feature: 'speaker'.
Optimizations
Plugin configuration Passed 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
5 plugin tags: survey, popup forms, payment form, custom form, contact form builder
arforms-form-builder/arforms-form-builder.php Passed 13 tests
The main file in "Contact Form, Survey & Popup Form Plugin for WordPress - ARForms Form Builder" v. 1.5.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
74 characters long description:
Most Powerful Form Builder to create wide variety of forms within a minute
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin186,149 lines of code in 996 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 857 | 22,287 | 43,595 | 112,354 |
PO File | 12 | 15,999 | 42,085 | 32,354 |
JavaScript | 41 | 1,867 | 0 | 17,307 |
SVG | 8 | 0 | 2 | 13,123 |
JSON | 20 | 0 | 0 | 7,003 |
Markdown | 14 | 954 | 0 | 3,255 |
CSS | 40 | 30 | 0 | 441 |
Pascal | 1 | 48 | 1,534 | 283 |
XML | 1 | 0 | 0 | 19 |
YAML | 1 | 0 | 0 | 7 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code 0% from 2 tests
Analyzing cyclomatic complexity and code structure
It is recommended to fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 2,237)
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 1,045)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 18.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,237.00 |
Average method complexity | 4.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1,045.00 |
Code structure | ||
---|---|---|
Namespaces | 88 | |
Interfaces | 51 | |
Traits | 15 | |
Classes | 752 | |
▷ Abstract classes | 220 | 29.26% |
▷ Concrete classes | 532 | 70.74% |
▷ Final classes | 66 | 12.41% |
Methods | 4,378 | |
▷ Static methods | 713 | 16.29% |
▷ Public methods | 3,449 | 78.78% |
▷ Protected methods | 400 | 9.14% |
▷ Private methods | 529 | 12.08% |
Functions | 200 | |
▷ Named functions | 55 | 27.50% |
▷ Anonymous functions | 145 | 72.50% |
Constants | 600 | |
▷ Global constants | 67 | 11.17% |
▷ Class constants | 533 | 88.83% |
▷ Public constants | 487 | 91.37% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
123 PNG files occupy 0.65MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/calender/images/ui-bg_glass_100_e4f1fb_1x400.png | 0.12KB | 0.15KB | 0.00% |
css/calender/images/ui-bg_highlight-soft_15_cc0000_1x100.png | 0.11KB | 0.18KB | 0.00% |
images/cs-lifetime-tick.png | 0.76KB | 0.44KB | ▼ 41.57% |
images/gvo.png | 5.03KB | 3.54KB | ▼ 29.74% |
css/calender/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png | 3.38KB | 1.68KB | ▼ 50.10% |