Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼2.81ms] Passed 4 tests
An overview of server-side resources used by Internet Quran Radio
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 34.23 ▼3.29 |
Dashboard /wp-admin | 3.46 ▲0.16 | 44.52 ▲0.35 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 47.19 ▲3.52 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 87.41 ▼7.69 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 34.56 ▼0.61 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 12 new options
New WordPress options |
---|
mp3quran_title |
mp3quran_form |
widget_theysaidso_widget |
widget_mp3quran_radio_widget |
widget_recent-posts |
widget_recent-comments |
mp3quran_viewtitle |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Internet Quran Radio
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲106 | 13.32 ▼1.26 | 3.08 ▲1.34 | 41.55 ▲3.15 |
Dashboard /wp-admin | 2,227 ▲38 | 5.79 ▲0.88 | 100.76 ▼18.02 | 77.91 ▲38.63 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.00 ▲0.04 | 38.43 ▲0.63 | 33.54 ▲1.71 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.12 ▲5.00 | 670.28 ▲60.01 | 60.32 ▼4.57 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.23 ▼0.14 | 112.32 ▲16.17 | 48.88 ▼0.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 12 options in the database
- mp3quran_form
- theysaidso_admin_options
- mp3quran_viewtitle
- db_upgraded
- widget_mp3quran_radio_widget
- mp3quran_height
- mp3quran_autostart
- widget_recent-comments
- widget_recent-posts
- mp3quran_title
- ...
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
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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/internet-quran-radio/list.php:167
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/internet-quran-radio/list.php:167
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% 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 your attention:
- Screenshots: These screenshots lack descriptions #2, #3 in internet-quran-radio/assets to your readme.txt
internet-quran-radio/radio-admin.php 92% from 13 tests
The main PHP file in "Internet Quran Radio" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("internet-quran-radio.php" instead of "radio-admin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin785 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 66 | 23 | 490 |
JavaScript | 2 | 0 | 0 | 291 |
CSS | 1 | 1 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 13 | |
▷ Named functions | 13 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.16MB with 0.08MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 43.20KB | 19.59KB | ▼ 54.66% |
i/radio.png | 1.38KB | 0.81KB | ▼ 41.13% |
screenshot-3.png | 52.10KB | 23.50KB | ▼ 54.90% |
screenshot-2.png | 63.33KB | 27.67KB | ▼ 56.31% |