Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼13.51ms] Passed 4 tests
An overview of server-side resources used by Views for WPForms - Display & Edit WPForms Entries on your site frontend
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 36.35 ▼10.74 |
Dashboard /wp-admin | 3.38 ▲0.03 | 48.22 ▼19.92 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 49.07 ▼3.75 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 87.66 ▼19.61 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 45.53 ▲6.96 |
Get Pro /wp-admin/edit.php?post_type=wpforms-views&page=wpforms-views-get-pro | 3.28 | 34.82 |
Help /wp-admin/edit.php?post_type=wpforms-views&page=wpforms-views-help | 3.27 | 36.18 |
Edit View /wp-admin/admin.php?page=wpf-views | 3.24 | 29.85 |
All Views /wp-admin/edit.php?post_type=wpforms-views | 3.35 | 40.18 |
Server storage [IO: ▲7.56MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 59 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
wpf_views_reviews_installed_on |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Views for WPForms - Display & Edit WPForms Entries on your site frontend
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲49 | 14.28 ▲0.01 | 1.95 ▲0.16 | 39.75 ▼3.92 |
Dashboard /wp-admin | 2,232 ▲55 | 5.54 ▼0.12 | 87.67 ▼21.58 | 40.27 ▼3.77 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.02 ▲0.03 | 34.92 ▼5.21 | 35.67 ▼5.80 |
Add New Post /wp-admin/post-new.php | 1,722 ▲196 | 21.77 ▼1.23 | 643.79 ▼59.98 | 36.85 ▼18.49 |
Media Library /wp-admin/upload.php | 1,440 ▲37 | 4.16 ▼0.01 | 96.81 ▼11.80 | 42.87 ▼4.60 |
Get Pro /wp-admin/edit.php?post_type=wpforms-views&page=wpforms-views-get-pro | 1,243 | 1.99 | 21.52 | 47.51 |
Help /wp-admin/edit.php?post_type=wpforms-views&page=wpforms-views-help | 818 | 2.00 | 28.50 | 28.05 |
Edit View /wp-admin/admin.php?page=wpf-views | 854 | 4.01 | 113.59 | 20.44 |
All Views /wp-admin/edit.php?post_type=wpforms-views | 1,137 | 2.32 | 31.47 | 26.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- theysaidso_admin_options
- wpf_views_reviews_installed_on
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=wpf-views
- > Notice in wp-content/plugins/views-for-wpforms-lite/inc/admin/class-wpforms-views-editor.php+15
Undefined index: view_id
SRP 50% 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
Please 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_action() in wp-content/plugins/views-for-wpforms-lite/views-block/class-wpforms-views-block.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/views-for-wpforms-lite/inc/admin/class-wpforms-views-lite-support.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/views-for-wpforms-lite/inc/class-wpforms-views-shortcode.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/views-for-wpforms-lite/inc/admin/class-wpforms-views-list-table.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/views-for-wpforms-lite/inc/admin/class-wpforms-views-editor.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/views-for-wpforms-lite/inc/admin/class-wpforms-views-posttype.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/views-for-wpforms-lite/inc/admin/class-wpforms-views-metabox.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/views-for-wpforms-lite/inc/admin/class-wpforms-views-ajax.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/views-for-wpforms-lite/inc/admin/class-wpforms-views-upgrade-to-pro-page.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=wpf-views
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=wpf-views 0:0 Uncaught SyntaxError: "undefined" is not valid JSON
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: list view, wpforms, edit entries, display entries, table view...
views-for-wpforms-lite/wpforms-views.php 92% from 13 tests
This is the main PHP file of "Views for WPForms - Display & Edit WPForms Entries on your site frontend" version 3.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("views-for-wpforms-lite.php" instead of "wpforms-views.php")
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
Success! There were no dangerous files found in this plugin9,855 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 12 | 4,481 |
CSS | 10 | 200 | 177 | 3,331 |
PHP | 17 | 371 | 400 | 1,835 |
JavaScript | 4 | 50 | 91 | 192 |
JSON | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 13.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 80 | |
▷ Static methods | 18 | 22.50% |
▷ Public methods | 76 | 95.00% |
▷ Protected methods | 3 | 3.75% |
▷ Private methods | 1 | 1.25% |
Functions | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.00% |
Constants | 6 | |
▷ Global constants | 2 | 33.33% |
▷ Class constants | 4 | 66.67% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected