Benchmarks
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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.92 ▲0.08 | 20.60 ▼3.49 |
Dashboard /wp-admin | 3.41 ▲0.35 | 33.58 ▼1.57 |
Posts /wp-admin/edit.php | 3.45 ▲0.35 | 31.71 ▲1.93 |
Add New Post /wp-admin/post-new.php | 5.70 ▲0.27 | 70.47 ▼595.04 |
Media Library /wp-admin/upload.php | 3.29 ▲0.29 | 25.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,242 ▼359 | 15.84 ▲0.15 | 0.37 ▼4.85 | 16.16 ▼62.48 |
Dashboard /wp-admin | 2,940 ▲47 | 6.14 ▼0.02 | 116.31 ▼16.88 | 166.39 ▼3.04 |
Posts /wp-admin/edit.php | 2,757 ▲17 | 3.25 ▲0.20 | 67.02 ▲2.76 | 138.13 ▼0.61 |
Add New Post /wp-admin/post-new.php | 3,752 ▲17 | 18.84 ▼0.10 | 431.45 ▼12.78 | 164.72 ▼2.14 |
Media Library /wp-admin/upload.php | 1,766 ▲14 | 5.55 ▲0.03 | 143.01 ▼0.07 | 195.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
Optimizations
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 7,738 |
JavaScript | 9 | 277 | 113 | 1,319 |
PHP | 22 | 411 | 609 | 1,094 |
Sass | 7 | 118 | 18 | 375 |
CSS | 5 | 18 | 1 | 78 |
SVG | 1 | 0 | 0 | 10 |
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 code | 0.38 |
Average class complexity | 14.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 2 | 3.70% |
▷ Public methods | 42 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 22.22% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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