Benchmarks
Plugin footprint Passed 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.00MB] [CPU: ▼303.90ms] Passed 4 tests
This is a short check of server-side resources used by Feedback Widget by mBedded Widgets
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.04 | 57.13 ▲4.03 |
Dashboard /wp-admin | 3.42 ▲0.02 | 36.78 ▼0.49 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 43.06 ▲2.95 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 93.74 ▼1,217.74 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 28.92 ▼0.31 |
Feedback Plugin Form /wp-admin/options-general.php?page=feedbackMWPlugin | 3.28 | 25.57 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Feedback Widget by mBedded Widgets: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,791 ▲46 | 16.02 ▲0.47 | 8.76 ▲2.27 | 3.48 ▲0.80 |
Dashboard /wp-admin | 2,883 ▲25 | 6.08 ▼0.03 | 115.73 ▼21.10 | 158.63 ▼4.51 |
Posts /wp-admin/edit.php | 2,693 ▲2 | 3.24 ▲0.01 | 69.82 ▲1.62 | 149.31 ▲4.05 |
Add New Post /wp-admin/post-new.php | 1,693 ▼67 | 21.22 ▼1.01 | 451.19 ▲22.84 | 154.69 ▼5.73 |
Media Library /wp-admin/upload.php | 1,703 ▲2 | 5.44 ▼0.06 | 143.92 ▼3.85 | 189.60 ▼7.60 |
Feedback Plugin Form /wp-admin/options-general.php?page=feedbackMWPlugin | 1,015 | 2.36 | 53.11 | 118.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/feedback-widget-by-mbedded-widgets/feedback-plugin.php:49
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: feedback, analytics, widget
feedback-widget-by-mbedded-widgets/feedback-plugin.php 77% from 13 tests
The main PHP file in "Feedback Widget by mBedded Widgets" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Main file name: Name the main plugin file the same as the plugin slug ("feedback-widget-by-mbedded-widgets.php" instead of "feedback-plugin.php")
- 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
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
There were no executable files found in this plugin42 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 9 | 15 | 42 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected