78% finest-quickview

Code Review | WooCommerce Quick View

WordPress plugin WooCommerce Quick View scored78%from 54 tests.

About plugin

  • Plugin page: finest-quickview
  • Plugin version: 1.1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8.1
  • WordPress version: 6.3.1
  • First release: Nov 12, 2021
  • Latest release: Dec 1, 2021
  • Number of updates: 24
  • Update frequency: every 0.8 days
  • Top authors: finestdevs (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /388 total downloads

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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲1.88MB] [CPU: ▼3.02ms] Passed 4 tests

Analyzing server-side resources used by WooCommerce Quick View
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /6.55 ▲3.0943.52 ▲3.12
Dashboard /wp-admin5.20 ▲1.8549.26 ▼14.75
Posts /wp-admin/edit.php5.25 ▲1.8950.45 ▲6.81
Add New Post /wp-admin/post-new.php7.72 ▲1.8383.97 ▼6.73
Media Library /wp-admin/upload.php5.17 ▲1.9538.22 ▲6.28

Server storage [IO: ▲2.54MB] [DB: ▲0.18MB] Passed 3 tests

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 278 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-comments
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for WooCommerce Quick View
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,929 ▲18313.39 ▼0.959.44 ▲7.7544.40 ▲0.67
Dashboard /wp-admin2,202 ▲255.50 ▼0.1881.20 ▼10.7440.03 ▼5.86
Posts /wp-admin/edit.php2,107 ▲71.96 ▼0.0333.24 ▼0.6133.53 ▲1.74
Add New Post /wp-admin/post-new.php1,535 ▲723.24 ▼0.07665.57 ▲26.3453.96 ▼7.78
Media Library /wp-admin/upload.php1,410 ▲74.19 ▼0.01101.34 ▲4.6342.34 ▼0.49

Uninstaller [IO: ▲0.00MB] [DB: ▲0.18MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 0% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 7× PHP files output text when accessed directly:
    • > /wp-content/plugins/finest-quickview/lib/controls/views/radio.php
    • > /wp-content/plugins/finest-quickview/lib/controls/views/textarea.php
    • > /wp-content/plugins/finest-quickview/lib/controls/views/select.php
    • > /wp-content/plugins/finest-quickview/lib/controls/views/number.php
    • > /wp-content/plugins/finest-quickview/lib/controls/views/code.php
    • > /wp-content/plugins/finest-quickview/lib/controls/views/color.php
    • > /wp-content/plugins/finest-quickview/lib/controls/views/generic.php
  • 71× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Kirki_Field_Dimensions' not found in wp-content/plugins/finest-quickview/lib/field/class-kirki-field-spacing.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'Kirki_Output' not found in wp-content/plugins/finest-quickview/lib/modules/css/field/class-kirki-output-field-image.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'Kirki_Field_Custom' not found in wp-content/plugins/finest-quickview/lib/field/class-kirki-field-group-title.php:16
    • > PHP Fatal error
      Uncaught Error: Class 'Kirki_Output_Property' not found in wp-content/plugins/finest-quickview/lib/modules/css/property/class-kirki-output-property-background-image.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'Kirki_Field' not found in wp-content/plugins/finest-quickview/lib/field/class-kirki-field-code.php:15
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_normalize_path() in wp-content/plugins/finest-quickview/lib/deprecated/deprecated.php:17
    • > PHP Fatal error
      Uncaught Error: Class 'Kirki_Field' not found in wp-content/plugins/finest-quickview/lib/field/class-kirki-field-multicolor.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'Kirki_Field' not found in wp-content/plugins/finest-quickview/lib/field/class-kirki-field-kirki-generic.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'Kirki_Field_Radio' not found in wp-content/plugins/finest-quickview/lib/field/class-kirki-field-radio-buttonset.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'Kirki_Field_Select' not found in wp-content/plugins/finest-quickview/lib/field/class-kirki-field-dropdown-pages.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: products quick view, free quick view, quick views ingle product

finest-quickview/finest-quickview.php 85% from 13 tests

The entry point to "WooCommerce Quick View" version 1.1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Domain Path: The domain path folder does not exist ("/languages/")
  • Git Repository: Please remove the Git repository from this plugin

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
Good job! No executable or dangerous file extensions detected34,365 lines of code in 262 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript893,5992,50113,911
PHP1552,0887,4669,758
JSON5008,339
CSS9165132,010
Markdown1660181
SVG200139
YAML17027

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.49
Average class complexity10.61
▷ Minimum class complexity1.00
▷ Maximum class complexity84.00
Average method complexity3.44
▷ Minimum method complexity1.00
▷ Maximum method complexity31.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes135
▷ Abstract classes00.00%
▷ Concrete classes135100.00%
▷ Final classes85.93%
Methods533
▷ Static methods10118.95%
▷ Public methods29755.72%
▷ Protected methods18835.27%
▷ Private methods489.01%
Functions40
▷ Named functions1742.50%
▷ Anonymous functions2357.50%
Constants8
▷ Global constants8100.00%
▷ Class constants00.00%
▷ Public constants00.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
8 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
lib/assets/images/jquery.fs.stepper-arrows.png0.30KB0.18KB▼ 40.52%
lib/assets/images/2cr.png0.85KB0.27KB▼ 68.58%
lib/assets/images/1c.png0.77KB0.15KB▼ 80.03%
lib/assets/images/3cr.png0.91KB0.32KB▼ 64.81%
lib/assets/images/3cl.png0.91KB0.32KB▼ 64.26%