Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.68MB] [CPU: ▼19.25ms] Passed 4 tests
Analyzing server-side resources used by Feedback Plugin - Flowdust
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 38.27 ▲1.66 |
Dashboard /wp-admin | 3.33 ▼0.02 | 47.24 ▼14.20 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.11 ▲6.18 |
Add New Post /wp-admin/post-new.php | 3.16 ▼2.73 | 33.45 ▼67.71 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.36 ▲3.26 |
Server storage [IO: ▲2.60MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Feedback Plugin - Flowdust
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲69 | 13.18 ▼1.46 | 1.87 ▲0.11 | 44.10 ▲0.94 |
Dashboard /wp-admin | 2,224 ▲36 | 5.84 ▲0.67 | 95.95 ▼9.40 | 77.17 ▲36.78 |
Posts /wp-admin/edit.php | 2,104 ▲12 | 1.99 ▼0.04 | 34.50 ▼6.44 | 32.96 ▼2.49 |
Add New Post /wp-admin/post-new.php | 1,681 ▲138 | 22.52 ▲4.26 | 675.05 ▲33.13 | 52.36 ▼0.50 |
Media Library /wp-admin/upload.php | 1,406 ▲15 | 4.20 ▲0.01 | 93.91 ▼3.77 | 72.57 ▲28.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- 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
Good news, no errors were detected
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 items
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/flowdust/inc/sidebar.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/flowdust/inc/options.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/flowdust/1.0.22/inc/options.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/flowdust/1.0.22/flowdust.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/flowdust/1.0.22/inc/sidebar.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/flowdust/flowdust.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #5, #6 in flowdust/assets to your readme.txt
flowdust/flowdust.php 92% from 13 tests
The principal PHP file in "Feedback Plugin - Flowdust" v. 1.0.22 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin110 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 63 | 60 | 110 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
16 PNG files occupy 2.02MB with 1.59MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 63.39KB | 19.21KB | ▼ 69.69% |
1.0.22/assets/icon.png | 15.24KB | 0.38KB | ▼ 97.53% |
1.0.22/assets/screenshot-3.png | 115.77KB | 43.21KB | ▼ 62.68% |
assets/icon.png | 15.24KB | 0.38KB | ▼ 97.53% |
assets/screenshot-2.png | 82.91KB | 28.10KB | ▼ 66.11% |