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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 53.85 ▲14.16 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.18 ▼8.10 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.42 ▼0.40 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.22 ▼12.59 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲61 | 13.16 ▼1.40 | 2.33 ▲0.47 | 53.61 ▲7.78 |
Dashboard /wp-admin | 2,206 ▲27 | 5.84 ▲0.89 | 101.81 ▼20.64 | 39.12 ▼10.22 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.03 | 36.24 ▼0.98 | 31.52 ▼3.33 |
Add New Post /wp-admin/post-new.php | 1,538 ▲18 | 23.33 ▲0.07 | 629.77 ▼54.69 | 56.63 ▲2.32 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.25 ▼0.00 | 96.71 ▼8.72 | 41.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
- > PHP Fatal error
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 310 | 443 | 1,181 |
JavaScript | 5 | 194 | 202 | 666 |
CSS | 2 | 100 | 2 | 594 |
JSON | 1 | 0 | 0 | 5 |
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 code | 0.43 |
Average class complexity | 14.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 3 | 30.00% |
Methods | 76 | |
▷ Static methods | 27 | 35.53% |
▷ Public methods | 66 | 86.84% |
▷ Protected methods | 3 | 3.95% |
▷ Private methods | 7 | 9.21% |
Functions | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/right_arr.png | 0.74KB | 0.42KB | ▼ 43.87% |
assets/images/left_arr.png | 0.74KB | 0.42KB | ▼ 43.61% |