Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.45ms] Passed 4 tests
This is a short check of server-side resources used by Super Easy Stock Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.60 ▲1.84 |
Dashboard /wp-admin | 3.31 ▲0.01 | 42.87 ▼3.39 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.19 ▼3.59 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.28 ▼20.67 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.37 ▲2.77 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Super Easy Stock Manager: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,952 ▲206 | 14.55 ▲0.25 | 15.68 ▲13.72 | 48.18 ▲7.97 |
Dashboard /wp-admin | 2,203 ▲12 | 5.81 ▲0.92 | 97.85 ▼11.08 | 38.89 ▼5.23 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 1.97 ▼0.05 | 39.22 ▼2.35 | 35.72 ▼0.38 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.22 ▲0.15 | 656.65 ▼38.21 | 61.24 ▲3.37 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.42 ▲0.21 | 100.56 ▼1.42 | 42.90 ▼1.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Super_Easy_Stock_Manager_Helper' not found in wp-content/plugins/super-easy-stock-manager/include/classes/sesm-admin.php:17
- > PHP Fatal error
Uncaught Error: Class 'Super_Easy_Stock_Manager_Helper' not found in wp-content/plugins/super-easy-stock-manager/include/classes/sesm.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (The get product screen. A single input field to search for a product. Below, are the three types of WooCommerce products), #2 (The update-stock screen. With the + and - buttons, or by keyboard, you can set the desired amount to add or remove and scan the SKU to confirm the change), #3 (the update-price screen. You can set the regular as well as the sale price.), #4 (The get product screen on a smartphone. With the camera button at the bottom you can use the internal camera as a scanner.), #5 (The get product screen on a smartphone with the scan app open.)
super-easy-stock-manager/super-easy-stock-manager.php 92% from 13 tests
This is the main PHP file of "Super Easy Stock Manager" version 1.3.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.5.3" instead of "5.4.0")
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 plugin1,988 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 62 | 285 | 504 |
Sass | 1 | 99 | 2 | 470 |
JavaScript | 5 | 59 | 176 | 409 |
CSS | 2 | 109 | 10 | 367 |
PO File | 1 | 38 | 41 | 119 |
HTML | 5 | 15 | 0 | 118 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 17.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 4.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
There were not PNG files found in your plugin