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
You still need to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/niz-stores-carousel-for-dokan/inc/class.niz-dependency-checker.php+22
Undefined variable: _message
Server metrics [RAM: ▼1.91MB] [CPU: ▼68.55ms] Passed 4 tests
A check of server-side resources used by Niz Stores Carousel for Dokan
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.39 | 7.14 ▼38.55 |
Dashboard /wp-admin | 2.10 ▼1.21 | 9.45 ▼59.33 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 8.21 ▼66.20 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 7.08 ▼109.83 |
Media Library /wp-admin/upload.php | 2.10 ▼1.14 | 6.60 ▼38.84 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Niz Stores Carousel for Dokan
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 13.93 ▼0.43 | 2.52 ▲0.78 | 61.04 ▲12.73 |
Dashboard /wp-admin | 2,207 ▲33 | 5.50 ▼0.17 | 116.31 ▼8.70 | 51.55 ▲0.18 |
Posts /wp-admin/edit.php | 2,119 ▲16 | 1.96 ▼0.07 | 43.40 ▼9.37 | 36.99 ▼9.61 |
Add New Post /wp-admin/post-new.php | 1,541 ▲137 | 21.14 ▲3.27 | 864.65 ▲168.10 | 59.71 ▲1.07 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.18 ▼0.02 | 128.70 ▲1.48 | 59.00 ▲5.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/niz-stores-carousel-for-dokan/inc/class.niz-dependency-checker.php+22
Undefined variable: _message
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/niz-stores-carousel-for-dokan/niz_dokansc.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif).), #2 (This is the second screen shot)
niz-stores-carousel-for-dokan/niz_dokansc.php 77% from 13 tests
"Niz Stores Carousel for Dokan" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
- Main file name: The principal plugin file should be the same as the plugin slug ("niz-stores-carousel-for-dokan.php" instead of "niz_dokansc.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin381 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 67 | 62 | 289 |
JavaScript | 3 | 9 | 7 | 83 |
CSS | 4 | 1 | 15 | 9 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 16 | |
▷ Static methods | 3 | 18.75% |
▷ Public methods | 12 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 25.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin