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
Installer ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▼1.57ms] Passed 4 tests
Server-side resources used by Ninja Forms Views - Display & Edit Ninja Forms Submissions on your site frontend
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 37.80 ▲0.33 |
Dashboard /wp-admin | 3.64 ▲0.33 | 47.10 ▼1.49 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 51.17 ▲1.62 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 88.61 ▼6.72 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 39.69 ▲3.51 |
Get Pro /wp-admin/edit.php?post_type=nf-views&page=nf-views-get-pro | 3.47 | 33.28 |
All NF Views /wp-admin/edit.php?post_type=nf-views | 3.54 | 37.33 |
Add NF View /wp-admin/post-new.php?post_type=nf-views | 3.53 | 41.45 |
Help /wp-admin/edit.php?post_type=nf-views&page=nf-views-help | 3.46 | 31.34 |
Server storage [IO: ▲5.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 41 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
nf_views_reviews_installed_on |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Ninja Forms Views - Display & Edit Ninja Forms Submissions on your site frontend
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲124 | 13.17 ▼1.20 | 1.85 ▲0.19 | 40.22 ▼2.72 |
Dashboard /wp-admin | 2,242 ▲54 | 5.88 ▼0.02 | 105.93 ▲3.02 | 37.65 ▼6.02 |
Posts /wp-admin/edit.php | 2,122 ▲30 | 2.01 ▼0.03 | 35.41 ▼8.41 | 31.72 ▼5.53 |
Add New Post /wp-admin/post-new.php | 1,569 ▲50 | 23.04 ▼0.22 | 602.47 ▼62.94 | 61.53 ▲10.04 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.20 ▼0.01 | 96.82 ▼17.50 | 42.29 ▼6.46 |
Get Pro /wp-admin/edit.php?post_type=nf-views&page=nf-views-get-pro | 1,157 | 1.99 | 21.82 | 43.85 |
All NF Views /wp-admin/edit.php?post_type=nf-views | 1,110 | 1.93 | 33.23 | 34.76 |
Add NF View /wp-admin/post-new.php?post_type=nf-views | 1,506 | 4.27 | 75.23 | 60.30 |
Help /wp-admin/edit.php?post_type=nf-views&page=nf-views-help | 805 | 2.02 | 23.60 | 25.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- nf_views_reviews_installed_on
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
The following issues need your attention
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/views-for-ninja-forms/inc/admin/class-nf-views-upgrade-to-pro-page.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/views-for-ninja-forms/inc/admin/class-nf-views-posttype.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/views-for-ninja-forms/inc/class-nf-views-shortcode.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/views-for-ninja-forms/inc/admin/class-nf-views-lite-support.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/views-for-ninja-forms/inc/admin/class-nf-views-ajax.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/views-for-ninja-forms/inc/admin/class-nf-views-metabox.php:7
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/post-new.php?post_type=nf-views
- > Javascript (severe) in unknown
/wp-content/plugins/views-for-ninja-forms/build/static/js/admin.js?ver=6.3.1 0:209184 Uncaught Error: Minified React error #200; visit https://reactjs.o… for full errors and additional helpful warnings.
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: list view, display ninja forms submissions, ninja forms, table view, contact form...
views-for-ninja-forms/nf-form-views.php 92% from 13 tests
This is the main PHP file of "Ninja Forms Views - Display & Edit Ninja Forms Submissions on your site frontend" version 2.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("views-for-ninja-forms.php" instead of "nf-form-views.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin6,083 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 4,479 |
PHP | 13 | 303 | 334 | 1,519 |
CSS | 6 | 6 | 25 | 84 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 15.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 16 | 24.24% |
▷ Public methods | 61 | 92.42% |
▷ Protected methods | 3 | 4.55% |
▷ Private methods | 2 | 3.03% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin