Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/fnffm-bangla-radio/fnf.fmbangla.php+23
Methods with the same name as their class will not be constructors in a future version of PHP; banglafnfradiowidget has a deprecated constructor
Server metrics [RAM: ▼1.92MB] [CPU: ▼53.34ms] Passed 4 tests
A check of server-side resources used by FnF.FM Bangla Radio
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.40 | 4.18 ▼37.01 |
Dashboard /wp-admin | 2.09 ▼1.22 | 8.00 ▼42.99 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 7.24 ▼45.81 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 6.35 ▼85.90 |
Media Library /wp-admin/upload.php | 2.09 ▼1.15 | 6.71 ▼38.66 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_banglafnfradiowidget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for FnF.FM Bangla Radio
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.22 ▼1.21 | 4.88 ▲3.10 | 42.58 ▼4.20 |
Dashboard /wp-admin | 2,206 ▲24 | 5.88 ▲1.04 | 118.64 ▲14.53 | 46.60 ▲2.52 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.04 | 40.92 ▼0.96 | 36.26 ▲0.57 |
Add New Post /wp-admin/post-new.php | 1,528 ▲117 | 23.56 ▲5.68 | 664.74 ▼20.21 | 63.31 ▲14.05 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.18 ▲0.03 | 110.96 ▼11.29 | 48.17 ▼6.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/fnffm-bangla-radio/fnf.fmbangla.php+23
Methods with the same name as their class will not be constructors in a future version of PHP; banglafnfradiowidget has a deprecated constructor
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_banglafnfradiowidget
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/fnffm-bangla-radio/fnf.fmbangla.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Adding Shortcode in Post/Page), #2 (Have a look at the player in Post/Page), #3 (In Widget), #4 (Have a look at the player in Sidebar)
- Tags: Please reduce the number of tags, currently 23 tag instead of maximum 10
fnffm-bangla-radio/fnf.fmbangla.php 92% from 13 tests
The primary PHP file in "FnF.FM Bangla Radio" version 1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("fnffm-bangla-radio.php" instead of "fnf.fmbangla.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin43 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 12 | 43 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.27MB with 0.13MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 20.87KB | 9.45KB | ▼ 54.69% |
screenshot-4.png | 8.39KB | 5.21KB | ▼ 37.94% |
screenshot-2.png | 188.91KB | 91.31KB | ▼ 51.66% |
screenshot-3.png | 57.42KB | 27.42KB | ▼ 52.25% |