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: ▼144.30ms] Passed 4 tests
Analyzing server-side resources used by Mujib Borsho Countdown
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.03 | 31.82 ▼2.09 |
Dashboard /wp-admin | 3.08 ▲0.02 | 47.76 ▲1.76 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 36.52 ▼11.39 |
Add New Post /wp-admin/post-new.php | 5.43 ▲0.00 | 85.44 ▼562.50 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 34.27 ▼1.21 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_mujib_count_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Mujib Borsho Countdown
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲167 | 16.44 ▲0.89 | 12.37 ▲4.21 | 46.39 ▼0.05 |
Dashboard /wp-admin | 2,970 ▲36 | 5.91 ▼0.04 | 144.53 ▲0.74 | 106.41 ▼1.30 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▼0.01 | 72.47 ▲6.92 | 89.28 ▲0.78 |
Add New Post /wp-admin/post-new.php | 1,615 ▲21 | 21.32 ▲2.52 | 322.70 ▼100.40 | 106.29 ▼7.14 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.05 ▲0.01 | 157.10 ▲8.54 | 110.55 ▼6.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 1 option in the database
- widget_mujib_count_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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/free-mubjib-borsho/mujib_borsho.php:46
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2 in free-mubjib-borsho/assets to your readme.txt
free-mubjib-borsho/mujib_borsho.php 85% from 13 tests
"Mujib Borsho Countdown" version 2.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 236 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("free-mubjib-borsho.php" instead of "mujib_borsho.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin381 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 69 | 19 | 240 |
PHP | 1 | 30 | 43 | 89 |
CSS | 1 | 8 | 3 | 52 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
mujib.png | 47.41KB | 16.99KB | ▼ 64.17% |