Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/aam-online-bangla-radio/aam-online-radio-main.php+23
Methods with the same name as their class will not be constructors in a future version of PHP; aamonlineradiowidget has a deprecated constructor
Server metrics [RAM: ▼1.93MB] [CPU: ▼53.60ms] Passed 4 tests
Server-side resources used by AAM Online Bangla Radio
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 5.15 ▼34.66 |
Dashboard /wp-admin | 2.08 ▼1.22 | 10.02 ▼43.27 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 6.73 ▼47.62 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 6.28 ▼88.85 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 5.19 ▼28.81 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_aamonlineradiowidget |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AAM Online Bangla Radio
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.69 ▼0.89 | 1.99 ▲0.31 | 46.58 ▲3.76 |
Dashboard /wp-admin | 2,203 ▲15 | 5.82 ▲0.95 | 95.47 ▼8.53 | 38.91 ▼0.49 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▼0.01 | 39.77 ▼0.80 | 36.60 ▼4.88 |
Add New Post /wp-admin/post-new.php | 1,514 ▼14 | 17.70 ▼0.72 | 662.20 ▲60.28 | 56.47 ▼1.81 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.26 ▲0.01 | 96.08 ▲0.22 | 40.51 ▼2.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/aam-online-bangla-radio/aam-online-radio-main.php+23
Methods with the same name as their class will not be constructors in a future version of PHP; aamonlineradiowidget has a deprecated constructor
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_aamonlineradiowidget
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/aam-online-bangla-radio/aam-online-radio-main.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: wordpress bangla radio plugin, widget, online bangla radio plugin, online bangla radio, sidebar...
aam-online-bangla-radio/aam-online-radio-main.php 92% from 13 tests
The main PHP file in "AAM Online Bangla Radio" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("aam-online-bangla-radio.php" instead of "aam-online-radio-main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1 line of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
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
There were not PNG files found in your plugin