94% addonify-quick-view

Code Review | Addonify Quick View

WordPress plugin Addonify Quick View scored 94% from 54 tests.

About plugin

  • Plugin page: addonify-quick-view
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0.0-5.8
  • WordPress version: 5.8.1
  • First release: Aug 18, 2020
  • Latest release: Jul 21, 2021
  • Number of updates: 6
  • Update frequency: every 56.2 days
  • Top authors: addonify (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 468 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.25MB] [CPU: ▼149.54ms] Passed 4 tests

A check of server-side resources used by Addonify Quick View
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.92 ▲0.0820.60 ▼3.49
Dashboard /wp-admin3.41 ▲0.3533.58 ▼1.57
Posts /wp-admin/edit.php3.45 ▲0.3531.71 ▲1.93
Add New Post /wp-admin/post-new.php5.70 ▲0.2770.47 ▼595.04
Media Library /wp-admin/upload.php3.29 ▲0.2925.80 ▲2.41

Server storage [IO: ▲0.52MB] [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: 55 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Addonify Quick View
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,242 ▼35915.84 ▲0.150.37 ▼4.8516.16 ▼62.48
Dashboard /wp-admin2,940 ▲476.14 ▼0.02116.31 ▼16.88166.39 ▼3.04
Posts /wp-admin/edit.php2,757 ▲173.25 ▲0.2067.02 ▲2.76138.13 ▼0.61
Add New Post /wp-admin/post-new.php3,752 ▲1718.84 ▼0.10431.45 ▼12.78164.72 ▼2.14
Media Library /wp-admin/upload.php1,766 ▲145.55 ▲0.03143.01 ▼0.07195.85 ▲13.46

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
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 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/addonify-quick-view/public/templates/addonify-quick-view-content-wrapper.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: products quick view, quick view, woocommerce, woocommerce quick view

addonify-quick-view/addonify-quick-view.php Passed 13 tests

This is the main PHP file of "Addonify Quick View" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
120 characters long description:
Addonify WooCommerce Quick View plugin adds functionality to have a WooCommerce product quick preview on a modal window.

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
There were no executable files found in this plugin10,614 lines of code in 46 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity14.29
▷ Minimum class complexity1.00
▷ Maximum class complexity59.00
Average method complexity2.77
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
▷ Static methods23.70%
▷ Public methods4277.78%
▷ Protected methods00.00%
▷ Private methods1222.22%
▷ Named functions3100.00%
▷ Anonymous functions00.00%
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected