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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.94ms] Passed 4 tests
Server-side resources used by WooInventory Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.44 ▼14.44 |
Dashboard /wp-admin | 3.34 ▲0.04 | 52.58 ▲3.72 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.02 ▼3.19 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.05 | 95.66 ▼6.25 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.95 ▲0.13 |
Inventory /wp-admin/admin.php?page=ic-woo-manage-inventory | 3.51 | 35.18 |
Other Plug-ins /wp-admin/admin.php?page=ic-woo-manage-addons | 3.26 | 34.22 |
Dashboard /wp-admin/admin.php?page=inventory-menu | 3.27 | 35.69 |
Server storage [IO: ▲1.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WooInventory Lite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲117 | 13.30 ▼1.07 | 1.85 ▲0.07 | 40.00 ▲4.19 |
Dashboard /wp-admin | 2,241 ▲53 | 4.87 ▼0.01 | 116.29 ▼2.53 | 43.14 ▼2.19 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.04 ▲0.00 | 40.71 ▼0.92 | 35.33 ▼0.66 |
Add New Post /wp-admin/post-new.php | 1,547 ▲28 | 17.74 ▼5.71 | 673.94 ▼5.27 | 56.10 ▲6.01 |
Media Library /wp-admin/upload.php | 1,429 ▲41 | 4.29 ▲0.15 | 97.83 ▼22.99 | 44.52 ▼4.12 |
Inventory /wp-admin/admin.php?page=ic-woo-manage-inventory | 895 | 1.93 | 33.58 | 31.07 |
Other Plug-ins /wp-admin/admin.php?page=ic-woo-manage-addons | 1,420 | 2.03 | 26.57 | 41.64 |
Dashboard /wp-admin/admin.php?page=inventory-menu | 948 | 2.04 | 26.25 | 36.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=inventory-menu
- > Network (severe)
wp-content/plugins/wooinventory-lite/images/heading-bg.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 86% 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: Please add images for these screenshots: #1 (WooInventory Dashbaord.), #2 (WooCommerce Stock Manager (Simple Product,Variable Product,Variation Product).)
wooinventory-lite/ic-woocommerce-inventory-lite.php 77% from 13 tests
The primary PHP file in "WooInventory Lite" version 2.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Requires at least: Required version number should use periods and dots only (ex. "7.0" instead of "3.5.x")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wooinventory-lite.php" instead of "ic-woocommerce-inventory-lite.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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 plugin2,373 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 188 | 81 | 1,284 |
SVG | 1 | 0 | 0 | 640 |
CSS | 2 | 105 | 23 | 367 |
JavaScript | 2 | 11 | 21 | 82 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 28.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 122.00 |
Average method complexity | 4.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 44 | 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 | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 25.84KB | 14.38KB | ▼ 44.35% |
include/assets/images/bullet.png | 0.38KB | 0.29KB | ▼ 23.98% |
screenshot-1.png | 28.69KB | 13.93KB | ▼ 51.45% |
include/assets/images/tickmark.png | 0.33KB | 0.35KB | 0.00% |