Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼6.67ms] Passed 4 tests
Server-side resources used by Woocommerce products list and grid view
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 42.15 ▼6.53 |
Dashboard /wp-admin | 3.39 ▲0.09 | 44.59 ▼2.23 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 46.74 ▼0.62 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 83.23 ▼17.30 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 36.42 ▲2.22 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_wcloadmore |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Woocommerce products list and grid view
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,900 ▲129 | 13.70 ▼0.67 | 8.54 ▲6.21 | 42.83 ▼1.07 |
Dashboard /wp-admin | 2,213 ▲31 | 5.86 ▲0.96 | 96.01 ▼42.20 | 40.64 ▼19.75 |
Posts /wp-admin/edit.php | 2,099 ▲7 | 2.03 ▼0.00 | 40.11 ▼1.83 | 34.21 ▼2.83 |
Add New Post /wp-admin/post-new.php | 1,521 ▼21 | 23.39 ▲5.07 | 668.90 ▲66.67 | 55.85 ▲10.57 |
Media Library /wp-admin/upload.php | 1,398 ▲13 | 4.27 ▲0.05 | 96.91 ▼7.92 | 42.70 ▼1.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_wcloadmore
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
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 uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Too many tags (33 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wc-load-more-product/plugin.php 92% from 13 tests
The primary PHP file in "Woocommerce products list and grid view" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wc-load-more-product.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,453 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 182 | 332 | 1,046 |
JavaScript | 2 | 30 | 0 | 174 |
CSS | 2 | 11 | 10 | 125 |
PO File | 1 | 45 | 0 | 108 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 7.67 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 1 | 33.33% |
▷ Concrete classes | 2 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 95.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.55% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 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
13 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ac_close.png | 0.49KB | 0.53KB | 0.00% |
assets/images/right-icon.png | 0.36KB | 0.44KB | 0.00% |
assets/images/searchicon.png | 0.80KB | 0.82KB | 0.00% |
assets/images/ac_bottom.png | 0.28KB | 0.27KB | ▼ 5.54% |
assets/images/ac2_open.png | 0.29KB | 0.22KB | ▼ 24.75% |