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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.55 ▲3.09 | 43.52 ▲3.12 |
Dashboard /wp-admin | 5.20 ▲1.85 | 49.26 ▼14.75 |
Posts /wp-admin/edit.php | 5.25 ▲1.89 | 50.45 ▲6.81 |
Add New Post /wp-admin/post-new.php | 7.72 ▲1.83 | 83.97 ▼6.73 |
Media Library /wp-admin/upload.php | 5.17 ▲1.95 | 38.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲183 | 13.39 ▼0.95 | 9.44 ▲7.75 | 44.40 ▲0.67 |
Dashboard /wp-admin | 2,202 ▲25 | 5.50 ▼0.18 | 81.20 ▼10.74 | 40.03 ▼5.86 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.96 ▼0.03 | 33.24 ▼0.61 | 33.53 ▲1.74 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 23.24 ▼0.07 | 665.57 ▲26.34 | 53.96 ▼7.78 |
Media Library /wp-admin/upload.php | 1,410 ▲7 | 4.19 ▼0.01 | 101.34 ▲4.63 | 42.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
- > PHP Fatal error
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 89 | 3,599 | 2,501 | 13,911 |
PHP | 155 | 2,088 | 7,466 | 9,758 |
JSON | 5 | 0 | 0 | 8,339 |
CSS | 9 | 165 | 13 | 2,010 |
Markdown | 1 | 66 | 0 | 181 |
SVG | 2 | 0 | 0 | 139 |
YAML | 1 | 7 | 0 | 27 |
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 code | 0.49 |
Average class complexity | 10.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 135 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 135 | 100.00% |
▷ Final classes | 8 | 5.93% |
Methods | 533 | |
▷ Static methods | 101 | 18.95% |
▷ Public methods | 297 | 55.72% |
▷ Protected methods | 188 | 35.27% |
▷ Private methods | 48 | 9.01% |
Functions | 40 | |
▷ Named functions | 17 | 42.50% |
▷ Anonymous functions | 23 | 57.50% |
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
8 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/assets/images/jquery.fs.stepper-arrows.png | 0.30KB | 0.18KB | ▼ 40.52% |
lib/assets/images/2cr.png | 0.85KB | 0.27KB | ▼ 68.58% |
lib/assets/images/1c.png | 0.77KB | 0.15KB | ▼ 80.03% |
lib/assets/images/3cr.png | 0.91KB | 0.32KB | ▼ 64.81% |
lib/assets/images/3cl.png | 0.91KB | 0.32KB | ▼ 64.26% |