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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.61MB] [CPU: ▼176.35ms] Passed 4 tests
Analyzing server-side resources used by Dezdy
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.04 ▲0.32 | 33.28 ▲7.89 |
Dashboard /wp-admin | 3.04 ▼0.02 | 24.73 ▼23.09 |
Posts /wp-admin/edit.php | 3.04 ▼0.07 | 21.77 ▼29.71 |
Add New Post /wp-admin/post-new.php | 3.04 ▼2.40 | 27.78 ▼639.89 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 24.93 ▼12.69 |
Dezdy Application Key /wp-admin/options-general.php?page=DezdyApplicationKey | 3.04 | 20.62 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Dezdy: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,758 ▲162 | 16.28 ▲0.27 | 9.34 ▲0.58 | 58.58 ▲10.08 |
Dashboard /wp-admin | 2,967 ▲36 | 5.87 ▼0.20 | 146.77 ▼7.10 | 127.17 ▲6.72 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.70 ▲0.00 | 70.94 ▼0.90 | 101.26 ▲6.96 |
Add New Post /wp-admin/post-new.php | 1,686 ▲82 | 18.64 ▼0.25 | 386.63 ▼22.33 | 120.39 ▲7.11 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.02 ▲0.01 | 159.59 ▲7.07 | 125.50 ▲3.46 |
Dezdy Application Key /wp-admin/options-general.php?page=DezdyApplicationKey | 1,036 | 2.05 | 58.21 | 65.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=DezdyApplicationKey
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Stable tag: Empty value
- Donate link: Please fix this invalid URI: ""
dezdy-mcommerce/dezdy.php 85% from 13 tests
"Dezdy" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("dezdy-mcommerce.php" instead of "dezdy.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 209 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin3,921 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 358 | 347 | 3,336 |
CSS | 4 | 64 | 6 | 550 |
JavaScript | 1 | 4 | 4 | 35 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 43 | |
▷ Named functions | 43 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/add.png | 1.66KB | 1.31KB | ▼ 21.24% |
images/148838.png | 1.35KB | 0.55KB | ▼ 59.35% |
images/old148838.png | 3.32KB | 0.75KB | ▼ 77.39% |
images/149217.png | 3.16KB | 0.85KB | ▼ 73.08% |
images/unknown-icon.png | 9.27KB | 3.33KB | ▼ 64.08% |