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: ▲0.02MB] [CPU: ▼6.25ms] Passed 4 tests
An overview of server-side resources used by Associate products for woocommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.23 ▼0.52 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.10 ▼4.73 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.93 ▲0.31 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.80 ▼19.75 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.21 ▼0.00 |
Associate products settings /wp-admin/options-general.php?page=associate-products-plugin | 3.19 | 30.02 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Associate products for woocommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲60 | 13.31 ▼0.98 | 2.12 ▲0.31 | 44.54 ▲3.77 |
Dashboard /wp-admin | 2,210 ▲22 | 4.84 ▼0.97 | 108.04 ▼9.03 | 38.44 ▼10.20 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.02 | 39.31 ▲3.27 | 35.52 ▼0.48 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.53 ▲0.30 | 676.40 ▲1.19 | 60.47 ▼4.39 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.16 ▼0.05 | 96.99 ▼2.24 | 41.95 ▼2.80 |
Associate products settings /wp-admin/options-general.php?page=associate-products-plugin | 776 | 2.06 | 24.02 | 26.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% 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/options-general.php?page=associate-products-plugin
- > Notice in wp-content/plugins/associate-products-for-woocommerce/associate-products-for-woocommerce.php+61
Trying to access array offset on value of type bool
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in associate-products-for-woocommerce/assets to your readme.txt
associate-products-for-woocommerce/associate-products-for-woocommerce.php Passed 13 tests
The main PHP script in "Associate products for woocommerce" version 1.1 is automatically included on every request by WordPress
105 characters long description:
This Plugin shows associate(related) products using shortcode. Plugin will show products using shortcode.
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 plugin95 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 32 | 95 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected