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
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/bangla-al-quran/BanglaAlQuran.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; BanglaAlQuranWidget has a deprecated constructor
Server metrics [RAM: ▼1.93MB] [CPU: ▼52.75ms] Passed 4 tests
Analyzing server-side resources used by Bangla Al Quraner Bani
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.55 ▼36.83 |
Dashboard /wp-admin | 2.08 ▼1.22 | 6.53 ▼43.58 |
Posts /wp-admin/edit.php | 2.08 ▼1.27 | 6.05 ▼41.12 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 5.51 ▼89.46 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 5.06 ▼28.94 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_banglaalquranwidget |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Bangla Al Quraner Bani: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.73 ▲0.42 | 1.95 ▲0.11 | 44.32 ▼6.12 |
Dashboard /wp-admin | 2,203 ▲18 | 5.84 ▼0.06 | 100.97 ▼13.38 | 39.82 ▼7.50 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▼0.01 | 34.03 ▼4.66 | 32.13 ▼0.43 |
Add New Post /wp-admin/post-new.php | 1,533 ▼1 | 23.30 ▲0.31 | 640.72 ▼24.12 | 52.26 ▼10.67 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.17 ▼0.06 | 94.87 ▼1.73 | 41.25 ▼0.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/bangla-al-quran/BanglaAlQuran.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; BanglaAlQuranWidget has a deprecated constructor
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- widget_banglaalquranwidget
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bangla-al-quran/BanglaAlQuran.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: bangla quran, islamic, al quran, islam, bangla
bangla-al-quran/BanglaAlQuran.php 92% from 13 tests
The primary PHP file in "Bangla Al Quraner Bani" version 2.5 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bangla-al-quran.php" instead of "BanglaAlQuran.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin57 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 11 | 57 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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.45MB with 0.27MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
banner-772x250.png | 388.35KB | 149.38KB | ▼ 61.54% |
screenshot-2.png | 42.90KB | 17.37KB | ▼ 59.52% |
screenshot-1.png | 6.87KB | 4.39KB | ▼ 36.00% |
icon-128x128.png | 24.78KB | 5.41KB | ▼ 78.17% |