Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.08ms] Passed 4 tests
Analyzing server-side resources used by QuickForm
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 44.11 ▲2.53 |
Dashboard /wp-admin | 3.36 ▲0.06 | 51.07 ▼1.27 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 52.54 ▲2.36 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 85.77 ▼19.94 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 43.16 ▲4.94 |
E-mail History /wp-admin/admin.php?page=qf3-historys | 2.05 | 6.44 |
Projects /wp-admin/admin.php?page=qf3-projects | 2.05 | 7.52 |
/wp-admin/admin.php?page=qf3-forms | 2.05 | 7.10 |
General settings /wp-admin/admin.php?page=qf3-settings | 2.05 | 7.05 |
Server storage [IO: ▲0.51MB] [DB: ▲0.06MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 84 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_qf3_ps |
wp_qf3_projects |
wp_qf3_forms |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
QuickForm: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲88 | 14.26 ▼0.29 | 1.89 ▼0.15 | 42.65 ▼1.61 |
Dashboard /wp-admin | 2,255 ▲75 | 5.50 ▼0.16 | 86.78 ▼9.85 | 38.06 ▼5.63 |
Posts /wp-admin/edit.php | 2,160 ▲60 | 1.99 ▲0.03 | 35.44 ▼2.51 | 35.95 ▲0.47 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 23.19 ▼0.55 | 650.81 ▼29.17 | 52.58 ▼12.66 |
Media Library /wp-admin/upload.php | 1,458 ▲58 | 4.21 ▼0.02 | 96.30 ▼23.14 | 44.39 ▼2.69 |
E-mail History /wp-admin/admin.php?page=qf3-historys | 985 | 2.05 | 27.16 | 66.65 |
Projects /wp-admin/admin.php?page=qf3-projects | 1,075 | 2.04 | 28.03 | 50.79 |
/wp-admin/admin.php?page=qf3-forms | 1,731 | 2.26 | 29.72 | 53.41 |
General settings /wp-admin/admin.php?page=qf3-settings | 1,046 | 1.82 | 25.41 | 54.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=qf3-settings
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the list.js handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=qf3-settings
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the list.css handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=qf3-settings
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the awesome handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 97% 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
Please fix the following attributes:
- Tags: You are using too many tags: 12 tag instead of maximum 10
quickform/quickform.php Passed 13 tests
The main file in "QuickForm" v. 3.3.03 serves as a complement to information provided in readme.txt and as the entry point to the plugin
18 characters long description:
Cool Form Builder.
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
No dangerous file extensions were detected13,217 lines of code in 73 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 49 | 1,379 | 239 | 6,349 |
JavaScript | 5 | 372 | 14 | 3,424 |
CSS | 6 | 430 | 60 | 2,240 |
INI | 8 | 20 | 0 | 996 |
XML | 5 | 62 | 0 | 208 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 26.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 216.00 |
Average method complexity | 4.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 45 | |
▷ Abstract classes | 2 | 4.44% |
▷ Concrete classes | 43 | 95.56% |
▷ Final classes | 0 | 0.00% |
Methods | 303 | |
▷ Static methods | 20 | 6.60% |
▷ Public methods | 184 | 60.73% |
▷ Protected methods | 119 | 39.27% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 3 | 25.00% |
▷ Anonymous functions | 9 | 75.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
site/assets/shopcart/imgs/cart_2.png | 2.51KB | 1.83KB | ▼ 27.07% |
site/assets/shopcart/imgs/cart_3.png | 2.58KB | 1.89KB | ▼ 26.79% |
site/assets/datepicker/images/calendar.png | 1.49KB | 1.56KB | 0.00% |
site/assets/shopcart/imgs/cart_0.png | 2.21KB | 1.72KB | ▼ 22.07% |
site/assets/shopcart/imgs/cart_1.png | 2.40KB | 1.78KB | ▼ 25.75% |