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
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.58ms] Passed 4 tests
Analyzing server-side resources used by Feedbucket - Website Feedback Tool
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.50 ▼5.43 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.29 ▼4.68 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.96 ▼3.85 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.83 ▲0.81 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.48 ▼4.36 |
Feedbucket /wp-admin/options-general.php?page=feedbucket-plugin | 3.24 | 31.10 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
feedbucket_options |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Feedbucket - Website Feedback Tool
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲79 | 15.17 ▲0.83 | 22.62 ▲20.87 | 36.87 ▼7.55 |
Dashboard /wp-admin | 2,196 ▲19 | 5.62 ▲0.05 | 88.47 ▼14.74 | 39.11 ▼3.36 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.05 | 39.85 ▼6.63 | 35.29 ▼2.48 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.56 ▲0.30 | 661.80 ▲73.28 | 57.87 ▲10.27 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.16 ▼0.05 | 97.31 ▼2.01 | 42.62 ▲0.39 |
Feedbucket /wp-admin/options-general.php?page=feedbucket-plugin | 1,073 | 2.55 | 49.53 | 28.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_json_encode() in wp-content/plugins/feedbucket/templates/feedbucket-plugin-admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/feedbucket/feedbucket.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: screenshot, user feedback, video recording, website feedback, feedback widget...
feedbucket/feedbucket.php Passed 13 tests
The entry point to "Feedbucket - Website Feedback Tool" version 1.0.2 is a PHP file that has certain tags in its header comment area
127 characters long description:
Enabling your clients and team members to submit feedback with screenshots and video recording directly on your WordPress site.
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 plugin298 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 40 | 9 | 296 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 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.48 |
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 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/feedbucket_logo.png | 4.83KB | 2.08KB | ▼ 56.90% |