Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.54MB] [CPU: ▲4.97ms] Passed 4 tests
A check of server-side resources used by Flow Fields
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.50 | 40.83 ▼5.37 |
Dashboard /wp-admin | 3.91 ▲0.60 | 57.46 ▲9.50 |
Posts /wp-admin/edit.php | 3.95 ▲0.60 | 53.37 ▲6.83 |
Add New Post /wp-admin/post-new.php | 6.42 ▲0.53 | 100.67 ▲11.34 |
Media Library /wp-admin/upload.php | 3.74 ▲0.51 | 40.82 ▲8.92 |
Flow Fields /wp-admin/admin.php?page=flow_field_boxes | 3.74 | 40.95 |
Report a Bug /wp-admin/admin.php?page=report_bug | 3.74 | 43.15 |
Custom Post Types /wp-admin/admin.php?page=flow_cpts | 3.74 | 41.68 |
Tools /wp-admin/admin.php?page=flow_tools | 3.74 | 43.37 |
Taxonomies /wp-admin/admin.php?page=flow_taxonomies | 3.74 | 40.93 |
Settings /wp-admin/admin.php?page=flow_field_boxes_options | 3.71 | 35.39 |
Server storage [IO: ▲0.42MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 22 new files
Database: 4 new tables, 7 new options
New tables |
---|
wp_flow_fields |
wp_flow_taxonomies |
wp_flow_boxes |
wp_flow_custom_post_types |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
flow_fields_db_version |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Flow Fields
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,007 ▲272 | 15.38 ▲1.01 | 1.66 ▼0.51 | 38.80 ▼14.67 |
Dashboard /wp-admin | 2,413 ▲222 | 6.93 ▲1.06 | 144.34 ▲30.32 | 42.68 ▼0.62 |
Posts /wp-admin/edit.php | 2,322 ▲236 | 3.54 ▲1.54 | 59.05 ▲22.99 | 30.41 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,584 ▲51 | 18.62 ▼4.42 | 577.60 ▼96.41 | 32.09 ▼26.96 |
Media Library /wp-admin/upload.php | 1,455 ▲73 | 4.71 ▲0.51 | 89.62 ▼11.75 | 40.55 ▼2.58 |
Flow Fields /wp-admin/admin.php?page=flow_field_boxes | 1,101 | 3.59 | 47.51 | 71.87 |
Report a Bug /wp-admin/admin.php?page=report_bug | 1,056 | 3.50 | 47.38 | 54.90 |
Custom Post Types /wp-admin/admin.php?page=flow_cpts | 1,084 | 3.62 | 48.63 | 71.69 |
Tools /wp-admin/admin.php?page=flow_tools | 1,085 | 3.57 | 44.21 | 83.48 |
Taxonomies /wp-admin/admin.php?page=flow_taxonomies | 1,077 | 3.72 | 45.60 | 75.73 |
Settings /wp-admin/admin.php?page=flow_field_boxes_options | 1,173 | 3.93 | 53.50 | 94.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure failed, leaving 4 tables in the database
- wp_flow_boxes
- wp_flow_taxonomies
- wp_flow_custom_post_types
- wp_flow_fields
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- flow_fields_db_version
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% 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
- > GET request to /wp-admin/admin.php?page=flow_field_boxes_options
- > Warning in wp-content/plugins/flow-fields/includes/templates/create_admin_pages.php+210
array_key_exists() expects parameter 2 to be array, bool given
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
Almost there! Just fix the following items
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/flow-fields/includes/fields/flow_fields_for_bricks.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flow-fields/includes/fields/flow_fields_output.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flow-fields/includes/fields/flow_fields_manage.php:76
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flow-fields/includes/taxonomies/flow_tax.php:265
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flow-fields/includes/cpt/flow_cpt_admin.php:519
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flow-fields/includes/templates/create_admin_pages.php:78
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flow-fields/includes/templates/admin_assets.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flow-fields/flow-fields.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/flow-fields/includes/general_functions.php:149
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=flow_field_boxes_options
- > Deprecation (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in flow-fields/assets to your readme.txt
flow-fields/flow-fields.php Passed 13 tests
"Flow Fields" version 1.1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
35 characters long description:
Manage fields and custom post types
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin5,443 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 568 | 238 | 3,582 |
CSS | 1 | 51 | 17 | 939 |
JavaScript | 6 | 196 | 101 | 922 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 68 | |
▷ Named functions | 64 | 94.12% |
▷ Anonymous functions | 4 | 5.88% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin