100% wpfixedverticalfeedbackbutton

Code Review | CBX Feedback Button

WordPress plugin CBX Feedback Button scored 100% from 54 tests.

About plugin

  • Plugin page: wpfixedverticalfe...
  • Plugin version: 4.0.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.1.1
  • WordPress version: 5.9.2
  • First release: Oct 23, 2014
  • Latest release: Mar 21, 2019
  • Number of updates: 40
  • Update frequency: every 50.9 days
  • Top authors: manchumahara (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

1,000+ active / 16,025 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.92 ▲0.4160.73 ▲0.61
Dashboard /wp-admin3.76 ▲0.3535.36 ▲0.31
Posts /wp-admin/edit.php3.98 ▲0.3542.01 ▲3.03
Add New Post /wp-admin/post-new.php7.29 ▲0.32134.83 ▼1,155.82
Media Library /wp-admin/upload.php3.70 ▲0.4029.11 ▲1.87
All Buttons /wp-admin/edit.php?post_type=cbxfeedbackbtn3.7430.22
Add New /wp-admin/post-new.php?post_type=cbxfeedbackbtn3.9856.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,814 ▲6015.50 ▼0.097.39 ▼1.182.20 ▼0.51
Dashboard /wp-admin2,923 ▲696.11 ▲0.02123.78 ▼4.23171.72 ▲6.10
Posts /wp-admin/edit.php2,719 ▲283.23 ▼0.0169.01 ▼1.58149.55 ▼1.75
Add New Post /wp-admin/post-new.php1,718 ▲7922.42 ▲0.96427.56 ▼6.84157.79 ▼38.03
Media Library /wp-admin/upload.php1,729 ▲315.52 ▼0.02146.56 ▲1.28196.70 ▼47.02
All Buttons /wp-admin/edit.php?post_type=cbxfeedbackbtn1,3793.1662.56117.15
Add New /wp-admin/post-new.php?post_type=cbxfeedbackbtn3,74410.29226.35245.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)
Please take inspiration from this readme.txt

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:
LanguageFilesBlank linesComment linesLines of code
PHP125491,2941,490
JavaScript45333311,419
CSS44743234

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 code0.51
Average class complexity29.56
▷ Minimum class complexity1.00
▷ Maximum class complexity134.00
Average method complexity4.34
▷ Minimum method complexity1.00
▷ Maximum method complexity77.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes00.00%
Methods77
▷ Static methods1418.18%
▷ Public methods7090.91%
▷ Protected methods22.60%
▷ Private methods56.49%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants14
▷ Global constants535.71%
▷ Class constants964.29%
▷ Public constants9100.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
FileSize - originalSize - compressedSavings
assets/images/requestacallback_small.png0.97KB0.67KB▼ 30.75%
assets/images/bg-input-focus-aristo.png0.18KB0.18KB▼ 1.08%
assets/images/feedback_tab_white.png2.29KB2.00KB▼ 12.48%
assets/images/contact_us_mix.png0.96KB0.64KB▼ 33.09%
assets/images/btn-submit-active.png0.17KB0.24KB0.00%