Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.98ms] Passed 4 tests
Server-side resources used by Yadore Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 33.54 ▼9.28 |
Dashboard /wp-admin | 3.39 ▲0.09 | 49.53 ▼11.29 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 52.92 ▲8.06 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 88.37 ▲4.77 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 35.36 ▲3.88 |
Settings /wp-admin/edit.php?post_type=yadore_widget_feed&page=yadore_widget | 3.27 | 33.20 |
Feeds /wp-admin/edit.php?post_type=yadore_widget_feed | 3.37 | 36.68 |
Add new Feed /wp-admin/post-new.php?post_type=yadore_widget_feed | 3.40 | 45.79 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 87 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Yadore Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,201 ▲466 | 22.22 ▲7.92 | 14.70 ▲12.58 | 41.56 ▼6.46 |
Dashboard /wp-admin | 2,405 ▲214 | 13.20 ▲8.32 | 303.82 ▲195.74 | 43.48 ▲2.20 |
Posts /wp-admin/edit.php | 2,328 ▲239 | 12.02 ▲9.96 | 103.04 ▲63.71 | 30.72 ▼5.03 |
Add New Post /wp-admin/post-new.php | 6,214 ▲4,681 | 26.40 ▲3.22 | 732.03 ▲55.63 | 38.03 ▼12.68 |
Media Library /wp-admin/upload.php | 1,570 ▲182 | 13.40 ▲9.18 | 137.33 ▲37.08 | 42.27 ▼5.14 |
Settings /wp-admin/edit.php?post_type=yadore_widget_feed&page=yadore_widget | 2,073 | 12.80 | 132.02 | 32.57 |
Feeds /wp-admin/edit.php?post_type=yadore_widget_feed | 1,273 | 12.01 | 100.58 | 24.17 |
Add new Feed /wp-admin/post-new.php?post_type=yadore_widget_feed | 1,572 | 12.64 | 80.35 | 32.61 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=yadore_widget_feed&page=yadore_widget
- > Notice in wp-content/plugins/yadore-widget/lib/Yadore/Panels/Settings.php+59
Undefined index: default_value
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=yadore_widget_feed
- > Notice in wp-content/plugins/yadore-widget/lib/Yadore/Api/Connection.php+14
Trying to access array offset on value of type bool
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 fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/yadore-widget/index.php
- 72× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: data in wp-content/plugins/yadore-widget/templates/default/search-results.php on line 6
- > PHP Notice
Undefined variable: data in wp-content/plugins/yadore-widget/templates/default/price-compare.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/yadore-widget/lib/Integration/Gutenberg/block-feed.php:3
- > PHP Notice
Trying to get property 'results' of non-object in wp-content/plugins/yadore-widget/templates/bootstrap5/search-results.php on line 7
- > PHP Notice
Undefined variable: data in wp-content/plugins/yadore-widget/templates/bootstrap5/loop-list.php on line 3
- > PHP Notice
Undefined variable: data in wp-content/plugins/yadore-widget/templates/bootstrap5/search-form.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'xCORE\\Yadore\\Offer' not found in wp-content/plugins/yadore-widget/templates/default/loop-list.php:4
- > PHP Notice
Undefined variable: data in wp-content/plugins/yadore-widget/templates/bootstrap5/search-form.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'xCORE\\Yadore\\Offer' not found in wp-content/plugins/yadore-widget/templates/default/loop-grid.php:4
- > PHP Notice
Trying to get property 'offer' of non-object in wp-content/plugins/yadore-widget/templates/default/loop-grid.php on line 3
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=yadore_widget_feed
- > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:967
The block \"yadore-widget/feed\" is registered with an invalid category \"yadore-widget\".
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=yadore_widget_feed
- > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:967
The block \"yadore-widget/search\" is registered with an invalid category \"yadore-widget\".
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=yadore_widget_feed
- > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=b5d3b99262dfb659bd26+9:967
The block \"yadore-widget/price-compare\" is registered with an invalid category \"yadore-widget\".
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: affiliate, yadore, cpc
yadore-widget/yadore-widget.php Passed 13 tests
The main PHP script in "Yadore Widget" version 1.3 is automatically included on every request by WordPress
99 characters long description:
Beste E-Commerce-Daten aus einer Quelle – vereinfacht und optimiert für Publisher und Advertiser
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin3,926 lines of code in 79 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 50 | 487 | 660 | 2,265 |
Sass | 13 | 238 | 43 | 826 |
JavaScript | 6 | 33 | 12 | 324 |
CSS | 2 | 36 | 5 | 165 |
Markdown | 2 | 51 | 0 | 161 |
JSON | 4 | 0 | 0 | 137 |
SVG | 1 | 0 | 0 | 28 |
XML | 1 | 6 | 14 | 20 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 12.19 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 113 | |
▷ Static methods | 18 | 15.93% |
▷ Public methods | 108 | 95.58% |
▷ Protected methods | 3 | 2.65% |
▷ Private methods | 2 | 1.77% |
Functions | 12 | |
▷ Named functions | 2 | 16.67% |
▷ Anonymous functions | 10 | 83.33% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin