Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.35MB] [CPU: ▼288.26ms] Passed 4 tests
This is a short check of server-side resources used by CBX Feedback Button
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.41 | 60.73 ▲0.61 |
Dashboard /wp-admin | 3.76 ▲0.35 | 35.36 ▲0.31 |
Posts /wp-admin/edit.php | 3.98 ▲0.35 | 42.01 ▲3.03 |
Add New Post /wp-admin/post-new.php | 7.29 ▲0.32 | 134.83 ▼1,155.82 |
Media Library /wp-admin/upload.php | 3.70 ▲0.40 | 29.11 ▲1.87 |
All Buttons /wp-admin/edit.php?post_type=cbxfeedbackbtn | 3.74 | 30.22 |
Add New /wp-admin/post-new.php?post_type=cbxfeedbackbtn | 3.98 | 56.19 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 57 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for CBX Feedback Button
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,814 ▲60 | 15.50 ▼0.09 | 7.39 ▼1.18 | 2.20 ▼0.51 |
Dashboard /wp-admin | 2,923 ▲69 | 6.11 ▲0.02 | 123.78 ▼4.23 | 171.72 ▲6.10 |
Posts /wp-admin/edit.php | 2,719 ▲28 | 3.23 ▼0.01 | 69.01 ▼1.58 | 149.55 ▼1.75 |
Add New Post /wp-admin/post-new.php | 1,718 ▲79 | 22.42 ▲0.96 | 427.56 ▼6.84 | 157.79 ▼38.03 |
Media Library /wp-admin/upload.php | 1,729 ▲31 | 5.52 ▼0.02 | 146.56 ▲1.28 | 196.70 ▼47.02 |
All Buttons /wp-admin/edit.php?post_type=cbxfeedbackbtn | 1,379 | 3.16 | 62.56 | 117.15 |
Add New /wp-admin/post-new.php?post_type=cbxfeedbackbtn | 3,744 | 10.29 | 226.35 | 245.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
wpfixedverticalfeedbackbutton/wpfixedverticalfeedbackbutton.php Passed 13 tests
"CBX Feedback Button" version 4.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
79 characters long description:
Fixed vertical Feedback button with and popular Forms Integration customs Forms
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
There were no executable files found in this plugin3,143 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 549 | 1,294 | 1,490 |
JavaScript | 4 | 533 | 331 | 1,419 |
CSS | 4 | 47 | 43 | 234 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 29.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 4.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 77 | |
▷ Static methods | 14 | 18.18% |
▷ Public methods | 70 | 90.91% |
▷ Protected methods | 2 | 2.60% |
▷ Private methods | 5 | 6.49% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 5 | 35.71% |
▷ Class constants | 9 | 64.29% |
▷ Public constants | 9 | 100.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
28 PNG files occupy 0.07MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/requestacallback_small.png | 0.97KB | 0.67KB | ▼ 30.75% |
assets/images/bg-input-focus-aristo.png | 0.18KB | 0.18KB | ▼ 1.08% |
assets/images/feedback_tab_white.png | 2.29KB | 2.00KB | ▼ 12.48% |
assets/images/contact_us_mix.png | 0.96KB | 0.64KB | ▼ 33.09% |
assets/images/btn-submit-active.png | 0.17KB | 0.24KB | 0.00% |