Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼6.00ms] Passed 4 tests
Analyzing server-side resources used by WP Roadmap - Product Feedback Board
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 38.10 ▼0.09 |
Dashboard /wp-admin | 3.53 ▲0.18 | 47.56 ▼13.69 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 46.59 ▲3.09 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 84.75 ▼13.08 |
Media Library /wp-admin/upload.php | 3.46 ▲0.22 | 35.70 ▲2.87 |
Settings /wp-admin/admin.php?page=wp_roadmap_settings | 3.45 | 37.23 |
Board /wp-admin/admin.php?page=wp_roadmap_feedback_dashboard | 3.45 | 36.99 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 49 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_feedback_upvote |
wp_feedback |
wp_feedback_status |
New WordPress options |
---|
theysaidso_admin_options |
widget_rmpf_widget |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
wp_feedback_roadmap_general_settings |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Roadmap - Product Feedback Board
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲193 | 13.53 ▼0.82 | 8.13 ▲6.49 | 25.80 ▼18.08 |
Dashboard /wp-admin | 2,233 ▲56 | 5.69 ▲0.03 | 86.17 ▼12.13 | 82.05 ▲39.79 |
Posts /wp-admin/edit.php | 2,141 ▲41 | 2.02 ▲0.04 | 35.49 ▼0.77 | 41.72 ▲8.44 |
Add New Post /wp-admin/post-new.php | 6,403 ▲4,869 | 27.88 ▲9.73 | 907.45 ▲282.03 | 43.26 ▼28.83 |
Media Library /wp-admin/upload.php | 1,432 ▲35 | 4.16 ▼0.05 | 99.13 ▼5.97 | 89.09 ▲46.63 |
Settings /wp-admin/admin.php?page=wp_roadmap_settings | 1,397 | 2.31 | 32.83 | 39.04 |
Board /wp-admin/admin.php?page=wp_roadmap_feedback_dashboard | 1,313 | 2.10 | 29.18 | 41.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 3 tables in the database
- wp_feedback_upvote
- wp_feedback_status
- wp_feedback
- Zombie WordPress options were found after uninstall: 8 options
- db_upgraded
- wp_feedback_roadmap_general_settings
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_rmpf_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-roadmap/public/partials/rmpf-public-display.php
- > /wp-content/plugins/wp-roadmap/admin/partials/rmpf-admin-display.php
- 15× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-roadmap/includes/block-widget.php on line 5
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/wp-roadmap/includes/block-widget.php:9
- > PHP Warning
Use of undefined constant RMPF_PATH - assumed 'RMPF_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-roadmap/admin/view/feedback-board.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wp-roadmap/admin/view/settings.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-roadmap/includes/class-rmpf-widget.php:5
- > PHP Warning
require_once(RMPF_PATHadmin/view/feedback-detail.php): failed to open stream: No such file or directory in wp-content/plugins/wp-roadmap/admin/view/feedback-board.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wp-roadmap/admin/view/status-settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wp-roadmap/admin/view/feedback-modal.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-roadmap/utils/rmpf_wiget_helper.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wp-roadmap/admin/view/feedback-detail.php:6
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=wp_roadmap_settings
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wp_roadmap_settings 204 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: feedback, elementor, roadmap, kanban
wp-roadmap/wp-roadmap-product-feedback.php 85% from 13 tests
The principal PHP file in "WP Roadmap - Product Feedback Board" v. 1.0.9 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 149 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-roadmap.php" instead of "wp-roadmap-product-feedback.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
Good job! No executable or dangerous file extensions detected3,842 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 280 | 572 | 2,426 |
CSS | 6 | 135 | 10 | 600 |
JavaScript | 8 | 14 | 49 | 588 |
PO File | 1 | 59 | 91 | 137 |
SVG | 4 | 0 | 1 | 91 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 10.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 2.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 6 | 11.11% |
▷ Public methods | 47 | 87.04% |
▷ Protected methods | 2 | 3.70% |
▷ Private methods | 5 | 9.26% |
Functions | 15 | |
▷ Named functions | 11 | 73.33% |
▷ Anonymous functions | 4 | 26.67% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
No PNG files were detected