Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/list-stores-category-dokan/inc/class.sc-dependency-checker.php+23
Undefined variable: _message
Server metrics [RAM: ▼1.89MB] [CPU: ▼54.61ms] Passed 4 tests
A check of server-side resources used by List Stores by Category for Dokan
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 4.81 ▼39.60 |
Dashboard /wp-admin | 2.12 ▼1.19 | 6.08 ▼51.40 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 5.53 ▼42.28 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.77 | 5.92 ▼85.16 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 4.84 ▼30.60 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by List Stores by Category for Dokan
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.26 ▼0.50 | 1.63 ▼0.39 | 44.06 ▲0.45 |
Dashboard /wp-admin | 2,198 ▲24 | 5.60 ▲0.07 | 83.52 ▼17.49 | 38.71 ▼6.95 |
Posts /wp-admin/edit.php | 2,101 ▲4 | 2.03 ▲0.01 | 37.15 ▼1.29 | 35.79 ▼1.77 |
Add New Post /wp-admin/post-new.php | 1,596 ▲70 | 22.34 ▼0.78 | 671.79 ▼31.45 | 36.20 ▼16.64 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.26 ▲0.07 | 96.81 ▼13.36 | 41.69 ▼5.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/list-stores-category-dokan/inc/class.sc-dependency-checker.php+23
Undefined variable: _message
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 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)
Good news, no errors were detected
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: category, marketplace, woocommerce, shortcode, list...
list-stores-category-dokan/list-stores-category-dokan.php Passed 13 tests
The primary PHP file in "List Stores by Category for Dokan" version 1.0.0 is used by WordPress to initiate all plugin functionality
58 characters long description:
Create stores list of Dokan stores based on store category
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected214 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 43 | 47 | 203 |
CSS | 1 | 3 | 0 | 11 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 33.33% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 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
No PNG images were found in this plugin