84% matrix-quick-view

Code Review | Quick View, Quick View For WooCommerce, WooCommerce Product Quick View - Matrix Quick View

WordPress plugin Quick View, Quick View For WooCommerce, WooCommerce Product Quick View - Matrix Quick View scored84%from 54 tests.

About plugin

  • Plugin page: matrix-quick-view
  • Plugin version: 1.0.6
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.2
  • WordPress version: 6.3.1
  • First release: May 27, 2022
  • Latest release: Apr 29, 2023
  • Number of updates: 8
  • Update frequency: every 42.3 days
  • Top authors: matrixaddons (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /1,477 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: ▲0.02MB] [CPU: ▼5.62ms] Passed 4 tests

An overview of server-side resources used by Quick View, Quick View For WooCommerce, WooCommerce Product Quick View - Matrix Quick View
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0353.85 ▲14.16
Dashboard /wp-admin3.33 ▲0.0345.18 ▼8.10
Posts /wp-admin/edit.php3.38 ▲0.0245.42 ▼0.40
Add New Post /wp-admin/post-new.php5.91 ▲0.0290.22 ▼12.59
Media Library /wp-admin/upload.php3.25 ▲0.0234.19 ▼1.37

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Quick View, Quick View For WooCommerce, WooCommerce Product Quick View - Matrix Quick View
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,807 ▲6113.16 ▼1.402.33 ▲0.4753.61 ▲7.78
Dashboard /wp-admin2,206 ▲275.84 ▲0.89101.81 ▼20.6439.12 ▼10.22
Posts /wp-admin/edit.php2,089 ▼02.02 ▼0.0336.24 ▼0.9831.52 ▼3.33
Add New Post /wp-admin/post-new.php1,538 ▲1823.33 ▲0.07629.77 ▼54.6956.63 ▲2.32
Media Library /wp-admin/upload.php1,391 ▲64.25 ▼0.0096.71 ▼8.7241.78 ▼2.75

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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 take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'WC_Settings_Page' not found in wp-content/plugins/matrix-quick-view/includes/Admin/Settings/QuickView.php:5

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: product popup, woocommerce, woocommerce quick view, products quick view, quick view

matrix-quick-view/matrix-quick-view.php 85% from 13 tests

"Quick View, Quick View For WooCommerce, WooCommerce Product Quick View - Matrix Quick View" version 1.0.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 234 characters long)
  • Requires at least: Required version must be the same as the one declared in readme.txt ("5.4" instead of "6.0")

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 plugin2,446 lines of code in 27 files:
LanguageFilesBlank linesComment linesLines of code
PHP193104431,181
JavaScript5194202666
CSS21002594
JSON1005

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.43
Average class complexity14.20
▷ Minimum class complexity1.00
▷ Maximum class complexity47.00
Average method complexity2.76
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces5
Interfaces0
Traits0
Classes10
▷ Abstract classes00.00%
▷ Concrete classes10100.00%
▷ Final classes330.00%
Methods76
▷ Static methods2735.53%
▷ Public methods6686.84%
▷ Protected methods33.95%
▷ Private methods79.21%
Functions12
▷ Named functions1191.67%
▷ Anonymous functions18.33%
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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/right_arr.png0.74KB0.42KB▼ 43.87%
assets/images/left_arr.png0.74KB0.42KB▼ 43.61%