Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.09ms] Passed 4 tests
A check of server-side resources used by WooCommerce Frontend Shop Manager - Free Version
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 35.06 ▼9.70 |
Dashboard /wp-admin | 3.36 ▲0.06 | 44.36 ▼7.56 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 45.50 ▼0.71 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 91.15 ▲3.31 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.13 ▲1.60 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WooCommerce Frontend Shop Manager - Free Version
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.66 ▼0.62 | 1.82 ▼0.05 | 41.40 ▼2.99 |
Dashboard /wp-admin | 2,206 ▲14 | 5.85 ▲0.94 | 112.44 ▼6.96 | 41.29 ▼2.53 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▲0.01 | 40.04 ▲4.29 | 34.06 ▼3.69 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.87 ▲0.24 | 694.86 ▲48.08 | 56.11 ▲2.52 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.23 ▲0.00 | 102.57 ▲6.20 | 42.11 ▼1.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% 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× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woocommerce-frontend-shop-manager-free-version/woocommerce-frontend-shop-manager.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
woocommerce-frontend-shop-manager-free-version/woocommerce-frontend-shop-manager.php 85% from 13 tests
The entry point to "WooCommerce Frontend Shop Manager - Free Version" version 1.0.3 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 230 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("woocommerce-frontend-shop-manager-free-version.php" instead of "woocommerce-frontend-shop-manager.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
Good job! No executable or dangerous file extensions detected2,336 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 47 | 68 | 1,214 |
JavaScript | 5 | 166 | 147 | 613 |
PHP | 1 | 100 | 8 | 379 |
HTML | 1 | 4 | 0 | 113 |
SVG | 1 | 1 | 0 | 17 |
PHP code Passed 2 tests
An short overview of 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.39 |
Average class complexity | 59.00 |
▷ Minimum class complexity | 59.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 6.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 3 | 30.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/about.png | 4.35KB | 0.87KB | ▼ 80.01% |
assets/images/editing.png | 5.52KB | 1.69KB | ▼ 69.32% |
assets/images/overlay.png | 3.69KB | 0.47KB | ▼ 87.28% |