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: ▲1.15MB] [CPU: ▲9.44ms] Passed 4 tests
An overview of server-side resources used by PlainInventory - Inventory Management Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.28 ▼1.26 |
Dashboard /wp-admin | 4.82 ▲1.52 | 60.50 ▲11.92 |
Posts /wp-admin/edit.php | 4.93 ▲1.58 | 57.03 ▲7.78 |
Add New Post /wp-admin/post-new.php | 7.40 ▲1.51 | 111.34 ▲19.31 |
Media Library /wp-admin/upload.php | 4.74 ▲1.51 | 54.35 ▲21.43 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 269 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for PlainInventory - Inventory Management Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲142 | 13.30 ▼1.08 | 4.63 ▲2.98 | 43.04 ▼6.03 |
Dashboard /wp-admin | 2,283 ▲92 | 4.88 ▼0.18 | 112.63 ▲8.32 | 50.75 ▲8.63 |
Posts /wp-admin/edit.php | 2,169 ▲83 | 2.06 ▲0.04 | 38.30 ▼2.43 | 43.43 ▲8.50 |
Add New Post /wp-admin/post-new.php | 1,574 ▲45 | 22.38 ▲4.03 | 575.44 ▼70.19 | 53.57 ▲4.93 |
Media Library /wp-admin/upload.php | 1,465 ▲80 | 4.26 ▲0.05 | 94.66 ▼10.58 | 47.39 ▼0.61 |
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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 30× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class '_PW1' not found in wp-content/plugins/z-inventory-manager/zi3/acl-wp--html/acl-wp-reset/index.php:2
- > PHP Fatal error
Uncaught Error: Class '_PW1' not found in wp-content/plugins/z-inventory-manager/zi3/apps-z-inventory-manager/_.php:2
- > PHP Fatal error
Uncaught Error: Class '_PW1' not found in wp-content/plugins/z-inventory-manager/zi3/acl--html/widget/roles.php:2
- > PHP Fatal error
Uncaught Error: Class '_PW1' not found in wp-content/plugins/z-inventory-manager/zi3/acl-wp--html/admin-users-acl-wp-newrole/index.php:2
- > PHP Fatal error
Uncaught Error: Class '_PW1' not found in wp-content/plugins/z-inventory-manager/zi3/transactions-audit/command.php:2
- > PHP Fatal error
Uncaught Error: Class '_PW1' not found in wp-content/plugins/z-inventory-manager/pw1/core.php:2
- > PHP Fatal error
Uncaught Error: Class '_PW1' not found in wp-content/plugins/z-inventory-manager/zi3/audit--html/widget.php:2
- > PHP Fatal error
Uncaught Error: Class '_PW1' not found in wp-content/plugins/z-inventory-manager/pw1/q.php:137
- > PHP Fatal error
Uncaught Error: Class '_PW1' not found in wp-content/plugins/z-inventory-manager/pw1/session.php:2
- > PHP Fatal error
Uncaught Error: Class '_PW1' not found in wp-content/plugins/z-inventory-manager/zi3/items-stocks--html/widget.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
z-inventory-manager/z-inventory-manager3.php 85% from 13 tests
This is the main PHP file of "PlainInventory - Inventory Management Plugin" version 3.1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("z-inventory-manager.php" instead of "z-inventory-manager3.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin20,648 lines of code in 263 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 257 | 4,372 | 1,886 | 19,005 |
PO File | 3 | 411 | 11 | 858 |
CSS | 3 | 128 | 106 | 785 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 8.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 299.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 273 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 273 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1,232 | |
▷ Static methods | 41 | 3.33% |
▷ Public methods | 1,150 | 93.34% |
▷ Protected methods | 61 | 4.95% |
▷ Private methods | 21 | 1.70% |
Functions | 15 | |
▷ Named functions | 5 | 33.33% |
▷ Anonymous functions | 10 | 66.67% |
Constants | 30 | |
▷ Global constants | 2 | 6.67% |
▷ Class constants | 28 | 93.33% |
▷ Public constants | 28 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin