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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.35ms] Passed 4 tests
Server-side resources used by Feedback Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.73 ▼4.54 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.12 ▼6.04 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.49 ▼1.61 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.36 ▼13.22 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 39.36 ▲5.89 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Feedback Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,940 ▲205 | 13.26 ▼1.04 | 6.05 ▲4.20 | 44.22 ▲0.71 |
Dashboard /wp-admin | 2,230 ▲42 | 5.80 ▲0.87 | 104.70 ▲2.49 | 75.20 ▲29.08 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 1.99 ▼0.02 | 38.95 ▼2.03 | 37.08 ▼0.03 |
Add New Post /wp-admin/post-new.php | 1,688 ▲155 | 22.46 ▼0.74 | 664.91 ▲86.60 | 51.63 ▼3.36 |
Media Library /wp-admin/upload.php | 1,406 ▲24 | 4.15 ▼0.05 | 100.74 ▲3.33 | 83.38 ▲41.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/feedback-manager/getresponse.php on line 44
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/feedback-manager/feedback.php:11
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Chat Widget Minimized), #2 (Live Chat Widget), #3 (Customize Chat Widget via BizChatBox Dashboard)
feedback-manager/feedback.php 92% from 13 tests
This is the main PHP file of "Feedback Plugin" version 1.0, 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: Name the main plugin file the same as the plugin slug ("feedback-manager.php" instead of "feedback.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected657 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 95 | 35 | 361 |
SVG | 1 | 0 | 0 | 284 |
CSS | 2 | 3 | 21 | 10 |
JavaScript | 1 | 0 | 14 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 9 | |
▷ Named functions | 9 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
logo.png | 5.67KB | 3.04KB | ▼ 46.42% |
images/feedback-errors-corner.png | 0.35KB | 0.30KB | ▼ 13.37% |
images/close.png | 0.16KB | 0.15KB | ▼ 10.71% |
images/callout.png | 0.28KB | 0.23KB | ▼ 16.61% |
images/ok.png | 1.04KB | 0.15KB | ▼ 85.14% |