Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.38ms] Passed 4 tests
Analyzing server-side resources used by Storefront Gridder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.93 ▼0.23 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.58 ▲0.08 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.64 ▲0.29 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.88 ▼24.42 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.22 ▼0.94 |
Server storage [IO: ▲1.17MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
storefront-gridder-version |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Storefront Gridder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.21 ▼1.14 | 1.76 ▼0.41 | 42.67 ▼1.96 |
Dashboard /wp-admin | 2,203 ▲14 | 5.83 ▲0.91 | 96.43 ▼19.87 | 38.08 ▼3.21 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▼0.05 | 39.18 ▼1.57 | 34.64 ▼1.58 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.42 ▲5.38 | 681.31 ▲81.77 | 56.46 ▲0.12 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.19 ▼0.08 | 96.04 ▲0.77 | 43.63 ▼1.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- storefront-gridder-version
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Gridder Products Gallery in Storefront homepage area in action.), #2 (Gridder Products Gallery in Storefront homepage expanded product details.), #3 (Gridder Products Gallery section added on the Customise page under Appearance.)
storefront-gridder/storefront-gridder.php Passed 13 tests
"Storefront Gridder" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
98 characters long description:
Add gridder to your Storefront and display a grid of products with an expandable zone for details.
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
Everything looks great! No dangerous files found in this plugin785 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 4 | 128 | 136 | 389 |
PHP | 2 | 92 | 152 | 323 |
CSS | 1 | 0 | 0 | 34 |
JavaScript | 1 | 4 | 12 | 22 |
SVG | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 15 | 93.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 6.25% |
Functions | 1 | |
▷ Named functions | 1 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.93MB with 0.51MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 6.67KB | 3.10KB | ▼ 53.47% |
screenshot-2.png | 205.33KB | 81.41KB | ▼ 60.35% |
assets/banner-1544x500.png | 23.12KB | 12.59KB | ▼ 45.56% |
screenshot-3.png | 321.37KB | 97.50KB | ▼ 69.66% |
assets/banner-772x250.png | 9.61KB | 5.19KB | ▼ 45.94% |