Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.16ms] Passed 4 tests
Analyzing server-side resources used by Feedback Form Users
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 35.29 ▼4.62 |
Dashboard /wp-admin | 3.33 ▲0.03 | 42.53 ▼6.02 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 47.55 ▼4.16 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 91.52 ▼5.84 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.36 ▲5.06 |
Add New /wp-admin/post-new.php?post_type=feedbackform | 3.41 | 46.79 |
Settings /wp-admin/edit.php?post_type=feedbackform&page=ffu_settings | 3.22 | 37.48 |
All Feedbacks /wp-admin/edit.php?post_type=feedbackform | 3.30 | 31.60 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Feedback Form Users
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,979 ▲217 | 14.14 ▼0.22 | 1.95 ▲0.31 | 54.22 ▲10.05 |
Dashboard /wp-admin | 2,226 ▲46 | 5.63 ▲0.02 | 83.59 ▼15.40 | 38.27 ▼5.56 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.95 ▼0.04 | 39.63 ▲0.48 | 38.20 ▲3.28 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.35 ▼0.12 | 682.76 ▲22.66 | 54.76 ▲7.43 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.17 ▼0.03 | 98.34 ▲1.72 | 45.16 ▲5.40 |
Add New /wp-admin/post-new.php?post_type=feedbackform | 2,514 | 7.56 | 181.37 | 66.21 |
Settings /wp-admin/edit.php?post_type=feedbackform&page=ffu_settings | 895 | 1.99 | 22.52 | 28.80 |
All Feedbacks /wp-admin/edit.php?post_type=feedbackform | 1,143 | 1.90 | 30.58 | 28.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
- 3× 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/feedback-form-users/include/posttype.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/feedback-form-users/include/enqueue.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/feedback-form-users/index.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
5 plugin tags: survey, contact, feedback, accessibility, report form
feedback-form-users/index.php 77% from 13 tests
The entry point to "Feedback Form Users" version 1.02 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/lang")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("feedback-form-users.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin418 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 1 | 24 | 231 |
CSS | 3 | 16 | 11 | 186 |
JavaScript | 1 | 0 | 6 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin