Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼1.94MB] [CPU: ▼52.99ms] Passed 4 tests
This is a short check of server-side resources used by Product Puller
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.04 ▼1.42 | 7.46 ▼35.89 |
Dashboard /wp-admin | 2.06 ▼1.24 | 6.33 ▼42.24 |
Posts /wp-admin/edit.php | 2.06 ▼1.29 | 5.73 ▼47.28 |
Add New Post /wp-admin/post-new.php | 2.06 ▼3.82 | 6.43 ▼86.55 |
Media Library /wp-admin/upload.php | 2.06 ▼1.16 | 5.45 ▼29.64 |
Product Comparison /wp-admin/admin.php?page=product_puller_comparison | 2.06 | 5.77 |
Language Settings /wp-admin/admin.php?page=product_puller_lang | 2.06 | 8.60 |
Amazon Woo Puller /wp-admin/admin.php?page=product_puller_woo | 2.06 | 5.23 |
Products /wp-admin/admin.php?page=pull_products | 2.06 | 6.60 |
Product Puller /wp-admin/admin.php?page=product_puller | 2.06 | 4.86 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 68 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_product_puller |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
product_puller_plugin_version |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Product Puller
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,438 ▲692 | 18.23 ▲3.67 | 16.57 ▲14.88 | 42.51 ▼0.00 |
Dashboard /wp-admin | 2,310 ▲122 | 6.13 ▲1.25 | 111.07 ▲2.10 | 68.27 ▲24.67 |
Posts /wp-admin/edit.php | 2,366 ▲274 | 3.68 ▲1.69 | 52.20 ▲9.27 | 77.79 ▲41.85 |
Add New Post /wp-admin/post-new.php | 1,615 ▲87 | 23.20 ▲0.05 | 635.31 ▼19.50 | 190.40 ▲138.08 |
Media Library /wp-admin/upload.php | 1,648 ▲257 | 5.60 ▲1.31 | 117.99 ▲18.01 | 93.99 ▲49.41 |
Product Comparison /wp-admin/admin.php?page=product_puller_comparison | 2,381 | 17.44 | 543.49 | 107.14 |
Language Settings /wp-admin/admin.php?page=product_puller_lang | 1,236 | 3.47 | 42.13 | 71.18 |
Amazon Woo Puller /wp-admin/admin.php?page=product_puller_woo | 1,617 | 10.47 | 272.16 | 80.36 |
Products /wp-admin/admin.php?page=pull_products | 1,211 | 3.49 | 40.17 | 58.50 |
Product Puller /wp-admin/admin.php?page=product_puller | 2,542 | 16.71 | 535.66 | 72.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the editor handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=product_puller
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the editor handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=product_puller
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the quicktags handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=product_puller
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the buttons handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=product_puller
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the wplink handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=product_puller
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-autocomplete handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=product_puller
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the media-upload handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=product_puller
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the editor-buttons handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/admin.php?page=pull_products
- > Notice in wp-content/plugins/product-puller/includes/view/includes/menu/products.php+9
Undefined index: add
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
Please take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/product-puller/includes/view/includes/menu/products.add.php
- > /wp-content/plugins/product-puller/includes/view/includes/menu/dashboard.activation.php
- 89× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/product-puller/includes/controller/includes/panel/comparisons.php on line 3
- > PHP Notice
Undefined variable: comp in wp-content/plugins/product-puller/includes/view/includes/menu/comparison.edit.amazon.php on line 6
- > PHP Warning
include(PRDP_ROOTincludes/model/includes/js.php): failed to open stream: No such file or directory in wp-content/plugins/product-puller/includes/model/model.php on line 7
- > PHP Warning
Use of undefined constant PRDP_VIEW_INC - assumed 'PRDP_VIEW_INC' (this will throw an Error in a future version of PHP) in wp-content/plugins/product-puller/includes/view/view.php on line 5
- > PHP Notice
Undefined variable: model in wp-content/plugins/product-puller/includes/view/includes/menu/woo.fail.php on line 7
- > PHP Warning
include(PRDP_ROOTincludes/model/includes/ajax.php): failed to open stream: No such file or directory in wp-content/plugins/product-puller/includes/model/model.php on line 8
- > PHP Warning
include(PRDP_VIEW_INCmenu/products.php): failed to open stream: No such file or directory in wp-content/plugins/product-puller/includes/view/view.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'PRDP_CNTRLR_INCpanel/products.php' (include_path='.:/usr/share/php') in wp-content/plugins/product-puller/includes/controller/includes/panel.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'PRDP_ROOTincludes/model/includes/models.php' (include_path='.:/usr/share/php') in wp-content/plugins/product-puller/includes/model/model.php on line 10
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/product-puller/includes/view/includes/shortcodes/bulk.php on line 8
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=product_puller
- > Javascript (severe) in unknown
/wp-content/plugins/product-puller/includes/view/js/search.js?ver=6.3.1 108:6 Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
Optimizations
Plugin configuration 97% 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
Attributes that require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
product-puller/product-puller.php Passed 13 tests
The main PHP file in "Product Puller" ver. 1.5.1 adds more information about the plugin and also serves as the entry point for this plugin
113 characters long description:
This plugin allows you to automatically import the product information from Amazon and add show it in everywhere.
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
Success! There were no dangerous files found in this plugin4,356 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 41 | 433 | 326 | 2,802 |
CSS | 3 | 123 | 5 | 853 |
JavaScript | 12 | 78 | 11 | 701 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 49.40 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 4.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 80 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 80 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
11 PNG files occupy 0.15MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/view/assets/details-bg.png | 0.93KB | 0.09KB | ▼ 89.84% |
includes/view/assets/amazon2.png | 11.88KB | 5.74KB | ▼ 51.73% |
includes/view/assets/icon.png | 1.86KB | 1.16KB | ▼ 37.49% |
includes/view/assets/amazon3.png | 12.64KB | 5.83KB | ▼ 53.86% |
includes/view/assets/amazon.png | 7.72KB | 2.34KB | ▼ 69.62% |