Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼146.91ms] Passed 4 tests
Analyzing server-side resources used by Visual Feedback
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.01 | 34.24 ▲0.22 |
Dashboard /wp-admin | 3.11 ▲0.05 | 43.24 ▼8.43 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 34.61 ▼7.76 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.03 | 89.35 ▼570.63 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 33.97 ▼0.81 |
Server storage [IO: ▲5.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 42 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Visual Feedback
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,723 ▲127 | 16.20 ▲0.87 | 10.22 ▲0.71 | 46.06 ▼4.84 |
Dashboard /wp-admin | 2,993 ▲63 | 5.87 ▼0.07 | 141.28 ▼7.07 | 106.54 ▼8.67 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.72 ▼0.00 | 66.97 ▼0.19 | 93.51 ▲8.47 |
Add New Post /wp-admin/post-new.php | 1,696 ▲13 | 18.39 ▼0.31 | 364.13 ▼52.74 | 107.64 ▲1.80 |
Media Library /wp-admin/upload.php | 1,830 ▲23 | 5.02 ▲0.01 | 166.03 ▼5.66 | 120.17 ▼9.68 |
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
The plugin uninstalled completely, with no zombie files or tables
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/visual-feedback/visual-feedback-main.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: client review, client feedback, website feedback, website review, wordpress feedback...
visual-feedback/visual-feedback.php 92% from 13 tests
"Visual Feedback" version 1.3.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 150 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin509 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 113 | 133 | 237 |
CSS | 3 | 9 | 6 | 188 |
JavaScript | 4 | 18 | 35 | 84 |
PHP code Passed 2 tests
An overview 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.54 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 PNG files occupy 4.79MB with 3.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 813.38KB | 213.64KB | ▼ 73.73% |
assets/banner-772x250.png | 128.64KB | 56.67KB | ▼ 55.95% |
public/images/banner-772x250.png | 128.64KB | 56.67KB | ▼ 55.95% |
public/images/screenshot-3.png | 156.96KB | 46.17KB | ▼ 70.58% |
assets/screenshot-1.png | 797.04KB | 217.24KB | ▼ 72.74% |