Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲1.62MB] [CPU: ▲8.73ms] Passed 4 tests
An overview of server-side resources used by Easy Product Catalog
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.97 ▲1.50 | 56.90 ▲12.70 |
Dashboard /wp-admin | 4.97 ▲1.66 | 64.00 ▲7.81 |
Posts /wp-admin/edit.php | 5.03 ▲1.67 | 67.48 ▲10.41 |
Add New Post /wp-admin/post-new.php | 7.68 ▲1.79 | 110.57 ▲4.01 |
Media Library /wp-admin/upload.php | 4.89 ▲1.66 | 61.48 ▲16.93 |
Filters /wp-admin/edit-tags.php?taxonomy=coreft-catalog-filters&post_type=coreft-products | 4.89 | 56.56 |
Categories /wp-admin/edit-tags.php?taxonomy=coreft-catalog-cats&post_type=coreft-products | 4.89 | 50.60 |
Store Settings /wp-admin/admin.php?page=coreft-catalog-store | 6.34 | 61.78 |
Attributes /wp-admin/edit-tags.php?taxonomy=coreft-catalog-attributes&post_type=coreft-products | 4.89 | 51.07 |
Products /wp-admin/edit.php?post_type=coreft-products | 4.94 | 51.06 |
Rating Bars PRO /wp-admin/admin.php?page=coreft-catalog-rating-bars | 4.85 | 44.68 |
Comparisons PRO /wp-admin/admin.php?page=coreft-catalog-comparisons | 4.85 | 43.20 |
Import/Export /wp-admin/admin.php?page=coreft-catalog-import | 4.85 | 43.09 |
Groups /wp-admin/edit-tags.php?taxonomy=coreft-catalog-groups&post_type=coreft-products | 4.89 | 49.18 |
Catalog Settings /wp-admin/admin.php?page=coreft-catalog-settings | 4.91 | 51.94 |
Server storage [IO: ▲1.98MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 122 new files
Database: no new tables, 24 new options
New WordPress options |
---|
coreft-catalog-site-id |
widget_theysaidso_widget |
coreft-catalog-affiliates |
coreft-catalog-settings |
widget_coreft_catalog_comparisons |
widget_coreft_catalog_new_arrivals |
widget_recent-comments |
coreft-catalog-gallery |
coreft-catalog-store-general |
coreft-catalog-permalinks |
... |
Browser metrics Passed 4 tests
Easy Product Catalog: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,998 ▲237 | 13.90 ▼0.46 | 11.45 ▲9.63 | 45.15 ▼0.14 |
Dashboard /wp-admin | 2,262 ▲85 | 5.59 ▼0.06 | 88.43 ▼2.58 | 64.46 ▲20.70 |
Posts /wp-admin/edit.php | 2,182 ▲82 | 1.97 ▲0.00 | 36.64 ▼5.25 | 33.69 ▼6.90 |
Add New Post /wp-admin/post-new.php | 1,755 ▲221 | 24.46 ▲6.50 | 719.01 ▲115.40 | 67.80 ▲3.58 |
Media Library /wp-admin/upload.php | 1,473 ▲70 | 4.12 ▼0.00 | 108.03 ▲2.73 | 69.44 ▲22.92 |
Filters /wp-admin/edit-tags.php?taxonomy=coreft-catalog-filters&post_type=coreft-products | 1,563 | 3.32 | 46.64 | 79.01 |
Categories /wp-admin/edit-tags.php?taxonomy=coreft-catalog-cats&post_type=coreft-products | 1,712 | 3.37 | 45.14 | 88.14 |
Store Settings /wp-admin/admin.php?page=coreft-catalog-store | 16,431 | 3.56 | 67.12 | 114.37 |
Attributes /wp-admin/edit-tags.php?taxonomy=coreft-catalog-attributes&post_type=coreft-products | 1,636 | 3.32 | 42.14 | 75.72 |
Products /wp-admin/edit.php?post_type=coreft-products | 1,296 | 1.96 | 32.44 | 38.16 |
Rating Bars PRO /wp-admin/admin.php?page=coreft-catalog-rating-bars | 852 | 2.17 | 26.76 | 32.55 |
Comparisons PRO /wp-admin/admin.php?page=coreft-catalog-comparisons | 867 | 2.00 | 27.10 | 28.50 |
Import/Export /wp-admin/admin.php?page=coreft-catalog-import | 968 | 1.68 | 24.11 | 33.15 |
Groups /wp-admin/edit-tags.php?taxonomy=coreft-catalog-groups&post_type=coreft-products | 3,149 | 3.83 | 60.77 | 86.43 |
Catalog Settings /wp-admin/admin.php?page=coreft-catalog-settings | 3,578 | 3.44 | 52.44 | 92.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 24 options
- coreft-catalog-store-images
- coreft-catalog-settings
- coreft-catalog-site-id
- widget_coreft_catalog_comparisons
- coreft_catalog_version
- coreft-catalog-affiliates
- coreft-catalog-gallery
- coreft_catalog_db_version
- theysaidso_admin_options
- coreft_catalog_installed
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=coreft-catalog-groups&post_type=coreft-products
- > User deprecated in wp-includes/functions.php+5828
Hook add_tag_form is deprecated since version 3.0.0! Use {$taxonomy}_add_form instead.
SRP 0% 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
- 30× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/easy-product-catalog/views/parts/single-gallery.php
- > /wp-content/plugins/easy-product-catalog/src/coreft-catalog-store-functions.php
- > /wp-content/plugins/easy-product-catalog/views/coreft-comparisons.php
- > /wp-content/plugins/easy-product-catalog/views/parts/single-videos.php
- > /wp-content/plugins/easy-product-catalog/src/store/tab-general.php
- > /wp-content/plugins/easy-product-catalog/views/parts/loop-products.php
- > /wp-content/plugins/easy-product-catalog/src/coreft-catalog-import-export.php
- > /wp-content/plugins/easy-product-catalog/views/parts/single-features.php
- > /wp-content/plugins/easy-product-catalog/views/parts/single-offers.php
- > /wp-content/plugins/easy-product-catalog/views/coreft-catalog-archive-cat.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-product-catalog/coreft-catalog.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_transient() in wp-content/plugins/easy-product-catalog/views/pro-notice.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/easy-product-catalog/coreft-catalog.php:17
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: catalog, price, product
easy-product-catalog/coreft-catalog.php 85% from 13 tests
"Easy Product Catalog" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/langs")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("easy-product-catalog.php" instead of "coreft-catalog.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin21,663 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 1,413 | 1,039 | 11,925 |
CSS | 17 | 305 | 163 | 5,701 |
JSON | 1 | 0 | 0 | 3,118 |
JavaScript | 7 | 137 | 48 | 608 |
SVG | 1 | 299 | 0 | 311 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 45.80 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 4.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 88.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 114 | |
▷ Static methods | 71 | 62.28% |
▷ Public methods | 101 | 88.60% |
▷ Protected methods | 4 | 3.51% |
▷ Private methods | 9 | 7.89% |
Functions | 143 | |
▷ Named functions | 140 | 97.90% |
▷ Anonymous functions | 3 | 2.10% |
Constants | 7 | |
▷ Global constants | 5 | 71.43% |
▷ Class constants | 2 | 28.57% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
55 PNG files occupy 0.16MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/letters/x.png | 3.31KB | 1.45KB | ▼ 56.23% |
images/next@2x.png | 4.14KB | 0.98KB | ▼ 76.27% |
images/letters/o.png | 3.90KB | 1.36KB | ▼ 65.16% |
images/letters/n.png | 2.31KB | 0.88KB | ▼ 62.05% |
images/letters/u.png | 2.54KB | 0.83KB | ▼ 67.12% |