Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼144.55ms] Passed 4 tests
This is a short check of server-side resources used by Dhonodhanno Pushpo Bhora
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 35.22 ▲9.52 |
Dashboard /wp-admin | 3.06 ▲0.01 | 44.19 ▼3.56 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 50.06 ▼0.79 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 93.53 ▼570.10 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 34.11 ▼3.75 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Dhonodhanno Pushpo Bhora: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,709 ▲113 | 15.97 ▲0.41 | 12.97 ▲1.42 | 49.96 ▼6.69 |
Dashboard /wp-admin | 2,976 ▲42 | 6.06 ▲0.13 | 153.53 ▼2.47 | 130.78 ▲0.78 |
Posts /wp-admin/edit.php | 2,745 ▲6 | 2.72 ▲0.00 | 72.37 ▲0.09 | 121.05 ▲23.65 |
Add New Post /wp-admin/post-new.php | 1,503 ▼180 | 18.78 ▲0.40 | 386.94 ▼26.34 | 139.25 ▲24.32 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.04 ▲0.02 | 163.34 ▲5.59 | 147.89 ▲17.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dhonodhanno-pushpo-bhora/dhonodhanno-pushpo-bhora.php:56
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (প্লাগিনটি গানের কথা দেখাচ্ছে), #2 (বাংলা ভাষা ব্যাবহার করে কোডিং করা হয়েছে)
dhonodhanno-pushpo-bhora/dhonodhanno-pushpo-bhora.php 92% from 13 tests
"Dhonodhanno Pushpo Bhora" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 964 characters long)
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 plugin56 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 11 | 56 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon-128x128.png | 4.12KB | 2.07KB | ▼ 49.70% |
screenshot-1.png | 24.36KB | 9.71KB | ▼ 60.16% |
banner-772x250.png | 22.79KB | 10.14KB | ▼ 55.52% |
screenshot-2.png | 50.75KB | 16.58KB | ▼ 67.33% |