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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.09ms] Passed 4 tests
A check of server-side resources used by Dokan Access Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 47.08 ▲8.47 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.73 ▲0.54 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.44 ▼0.53 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.96 ▼3.11 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.70 ▲2.76 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
dokan_access_manager |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Dokan Access Manager: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.20 ▼1.23 | 1.73 ▼0.09 | 42.54 ▼1.33 |
Dashboard /wp-admin | 2,206 ▲18 | 5.86 ▼0.01 | 110.27 ▲6.05 | 40.55 ▼3.18 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.03 | 38.76 ▼1.05 | 35.27 ▼2.62 |
Add New Post /wp-admin/post-new.php | 1,534 ▼0 | 23.22 ▲0.26 | 596.34 ▼63.21 | 72.67 ▲18.33 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.05 | 110.67 ▲7.15 | 47.30 ▲3.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- dokan_access_manager
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function dokan_get_option() in wp-content/plugins/dokan-access-manager/dokan-templates/orders/details.php:5
- > PHP Fatal error
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 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots need descriptions #2, #3 in dokan-access-manager/assets to your readme.txt
- Donate link: Please fix this invalid URI: ""
dokan-access-manager/dokan-access-manager.php 85% from 13 tests
The main PHP file in "Dokan Access Manager" ver. 1.6 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path folder was not found ("/languages/")
- Requires at least: Required version does not match the one declared in readme.txt ("4.4" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin827 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 181 | 312 | 827 |
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.42 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 22 | |
▷ Static methods | 9 | 40.91% |
▷ Public methods | 20 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 9.09% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.30MB with 0.17MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/Settings.png | 307.44KB | 118.53KB | ▼ 61.45% |
assets/img/ACCESSMANAGER-LOGO-COLOR-STANDARD_II-300x132-1-e1682845951403.png | 3.83KB | 1.92KB | ▼ 49.86% |