Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼4.96ms] Passed 4 tests
This is a short check of server-side resources used by storeman
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 43.58 ▼1.53 |
Dashboard /wp-admin | 3.43 ▲0.12 | 52.80 ▼4.62 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 50.66 ▲0.78 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 90.10 ▼13.46 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 38.57 ▼0.21 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by storeman
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲109 | 13.37 ▼1.00 | 8.25 ▲6.47 | 47.75 ▲3.65 |
Dashboard /wp-admin | 2,198 ▲21 | 5.56 ▼0.14 | 85.34 ▼11.26 | 44.60 ▲2.98 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.02 | 34.05 ▼3.45 | 37.22 ▲2.85 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.09 ▲0.22 | 651.83 ▼8.55 | 60.65 ▲11.37 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.22 ▼0.02 | 97.11 ▼18.34 | 42.45 ▼10.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/storeman/admin/partials/storeman-admin-display.php
- > /wp-content/plugins/storeman/public/partials/storeman-public-display.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'ElementorPro\\Modules\\Forms\\Classes\\Action_Base' not found in wp-content/plugins/storeman/admin/class-webhook-storeman-action.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Plugin Name: Please specify the plugin name on the first line (
=== storeman ===
)
storeman/storeman.php Passed 13 tests
The main PHP file in "storeman" ver. 2.2.7 adds more information about the plugin and also serves as the entry point for this plugin
36 characters long description:
add storeman to your WordPress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin683 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 191 | 578 | 572 |
JSON | 2 | 0 | 0 | 54 |
YAML | 2 | 7 | 7 | 47 |
JavaScript | 1 | 7 | 0 | 10 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 2 | 3.85% |
▷ Public methods | 43 | 82.69% |
▷ Protected methods | 3 | 5.77% |
▷ Private methods | 6 | 11.54% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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