Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/yoel-product-list/cuztom/classes/fields/multi_select.class.php+23
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
Server metrics [RAM: ▼1.59MB] [CPU: ▼47.78ms] Passed 4 tests
Server-side resources used by yoel bootstrap easy product catalog
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.39 ▼1.07 | 6.16 ▼33.00 |
Dashboard /wp-admin | 2.41 ▼0.89 | 8.97 ▼42.76 |
Posts /wp-admin/edit.php | 2.41 ▼0.94 | 8.11 ▼34.52 |
Add New Post /wp-admin/post-new.php | 2.41 ▼3.47 | 9.40 ▼80.82 |
Media Library /wp-admin/upload.php | 2.41 ▼0.81 | 8.86 ▼25.23 |
All Yoel Products /wp-admin/edit.php?post_type=yoel_products | 2.42 | 7.59 |
Add New /wp-admin/post-new.php?post_type=yoel_products | 2.42 | 9.08 |
how to use yoel products /wp-admin/edit.php?post_type=yoel_products&page=wnm_fund_set | 2.42 | 9.07 |
Products Categories /wp-admin/edit-tags.php?taxonomy=products_category&post_type=yoel_products | 2.42 | 11.57 |
Server storage [IO: ▲1.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 72 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
products_category_children |
Browser metrics Passed 4 tests
An overview of browser requirements for yoel bootstrap easy product catalog
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,136 ▲350 | 15.75 ▲1.50 | 12.64 ▲10.80 | 46.11 ▲5.23 |
Dashboard /wp-admin | 2,405 ▲225 | 6.57 ▲0.90 | 110.08 ▲24.29 | 36.83 ▼4.87 |
Posts /wp-admin/edit.php | 2,346 ▲246 | 3.40 ▲1.43 | 53.23 ▲14.83 | 31.11 ▼5.66 |
Add New Post /wp-admin/post-new.php | 1,761 ▲235 | 24.99 ▲1.53 | 660.62 ▲42.66 | 35.37 ▼22.44 |
Media Library /wp-admin/upload.php | 1,486 ▲86 | 4.58 ▲0.40 | 83.45 ▼21.46 | 42.23 ▼1.40 |
All Yoel Products /wp-admin/edit.php?post_type=yoel_products | 1,297 | 3.77 | 55.47 | 33.80 |
Add New /wp-admin/post-new.php?post_type=yoel_products | 1,885 | 4.09 | 80.75 | 45.01 |
how to use yoel products /wp-admin/edit.php?post_type=yoel_products&page=wnm_fund_set | 1,077 | 3.40 | 49.45 | 28.53 |
Products Categories /wp-admin/edit-tags.php?taxonomy=products_category&post_type=yoel_products | 1,628 | 3.57 | 53.24 | 34.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/yoel-product-list/cuztom/classes/fields/multi_select.class.php+23
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
- The uninstall procedure has failed, leaving 7 options in the database
- products_category_children
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 25 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=products_category&post_type=yoel_products
- > Deprecated in wp-content/plugins/yoel-product-list/cuztom/classes/fields/term_checkboxes.class.php+37
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/yoel-product-list/help_page.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (edit/add product.), #2 (col-md-5 view test.), #3 (col-md-4 with "all" category test .), #4 (lightbox.), #5 (lightbox change main img.), #6 (responsivness test.)
yoel-product-list/index.php 92% from 13 tests
Analyzing the main PHP file in "yoel bootstrap easy product catalog" version 1.2
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("yoel-product-list.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin4,751 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 601 | 1,071 | 2,484 |
JavaScript | 4 | 335 | 349 | 2,035 |
CSS | 2 | 20 | 8 | 118 |
Markdown | 1 | 41 | 0 | 99 |
JSON | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 10.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 35 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 35 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 132 | |
▷ Static methods | 10 | 7.58% |
▷ Public methods | 129 | 97.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 2.27% |
Functions | 19 | |
▷ Named functions | 16 | 84.21% |
▷ Anonymous functions | 3 | 15.79% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
20 PNG files occupy 1.04MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
cuztom/assets/images/jquery-ui/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
cuztom/assets/images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
cuztom/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
cuztom/assets/images/jquery-ui/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
cuztom/assets/images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |