Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure had errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'AAIOF_Alladvancedform' not found
Server metrics [RAM: ▼0.49MB] [CPU: ▼11.87ms] Passed 4 tests
Analyzing server-side resources used by Advanced All In One Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 42.74 ▲3.49 |
Dashboard /wp-admin | 3.50 ▲0.20 | 46.81 ▲0.46 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 45.80 ▼0.91 |
Add New Post /wp-admin/post-new.php | 3.35 ▼2.54 | 38.62 ▼50.51 |
Media Library /wp-admin/upload.php | 3.43 ▲0.19 | 41.35 ▲9.36 |
All In One Forms /wp-admin/edit.php?post_type=advanced_form | 3.47 | 38.28 |
Recaptcha /wp-admin/edit.php?post_type=advanced_form&page=cf-recaptcha-page | 3.40 | 33.77 |
Overview /wp-admin/edit.php?post_type=advanced_form&page=cf-overview-page | 3.42 | 31.54 |
Server storage [IO: ▲2.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Advanced All In One Forms: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,010 ▲239 | 14.32 ▼0.06 | 9.90 ▲8.03 | 41.80 ▲2.07 |
Dashboard /wp-admin | 2,258 ▲72 | 5.32 ▲0.42 | 107.96 ▼9.83 | 40.21 ▲0.44 |
Posts /wp-admin/edit.php | 2,141 ▲49 | 2.53 ▲0.53 | 36.18 ▼4.42 | 33.53 ▼4.19 |
Add New Post /wp-admin/post-new.php | 1,558 ▲30 | 23.64 ▲0.44 | 664.81 ▼18.48 | 36.37 ▼17.01 |
Media Library /wp-admin/upload.php | 1,437 ▲52 | 4.67 ▲0.54 | 102.84 ▼15.58 | 45.82 ▼1.47 |
All In One Forms /wp-admin/edit.php?post_type=advanced_form | 1,102 | 2.42 | 38.49 | 28.85 |
Recaptcha /wp-admin/edit.php?post_type=advanced_form&page=cf-recaptcha-page | 888 | 2.16 | 28.31 | 33.87 |
Overview /wp-admin/edit.php?post_type=advanced_form&page=cf-overview-page | 863 | 2.19 | 31.71 | 28.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'AAIOF_Alladvancedform' not found
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=advanced_form&page=cf-overview-page
- > Notice in wp-content/plugins/advanced-all-in-one-forms/includes/class-aaiof-overview.php+47
Undefined index: form_id
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=advanced_form&page=cf-overview-page
- > Notice in wp-content/plugins/advanced-all-in-one-forms/includes/class-aaiof-overview.php+54
Undefined variable: k_name
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=advanced_form&page=cf-overview-page
- > Warning in wp-content/plugins/advanced-all-in-one-forms/includes/class-aaiof-overview.php+54
array_unique() expects parameter 1 to be array, null given
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=advanced_form&page=cf-overview-page
- > Warning in wp-content/plugins/advanced-all-in-one-forms/includes/class-aaiof-overview.php+55
Invalid argument supplied for foreach()
- > GET request to /wp-admin/edit.php?post_type=advanced_form&page=cf-overview-page
- > Notice in wp-content/plugins/advanced-all-in-one-forms/includes/class-aaiof-overview.php+53
Undefined variable: data_id
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=advanced_form&page=cf-overview-page
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).sortable is not a function" "TypeError: jQuery(...).sortable is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/advanced-all-in-one-forms/assets/js/backend.js?ver=6.3.1:27:25)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=advanced_form&page=cf-overview-page
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).sortable is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #8 (screenshot-8.png) image required
- Tags: You are using too many tags: 12 tag instead of maximum 10
advanced-all-in-one-forms/advanced-all-in-one-forms.php 92% from 13 tests
The main file in "Advanced All In One Forms" v. 1.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 144 characters long)
Code Analysis Passed 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
No dangerous file extensions were detected8,513 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 80 | 15 | 3,523 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 7 | 58 | 62 | 1,691 |
JavaScript | 6 | 37 | 13 | 628 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.01 |
Average class complexity | 96.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 494.00 |
Average method complexity | 10.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 85 | |
▷ Static methods | 4 | 4.71% |
▷ Public methods | 85 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.53MB with 0.31MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshots/screenshot-1.png | 67.41KB | 18.68KB | ▼ 72.29% |
assets/screenshots/screenshot-6.png | 85.47KB | 23.60KB | ▼ 72.38% |
assets/screenshots/screenshot-7.png | 74.04KB | 20.61KB | ▼ 72.16% |
assets/screenshots/screenshot-2.png | 79.38KB | 22.00KB | ▼ 72.29% |
assets/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |