Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/damarfm-player/damarfm.php+21
Methods with the same name as their class will not be constructors in a future version of PHP; damarfm_radyo_widget has a deprecated constructor
Server metrics [RAM: ▼1.92MB] [CPU: ▼53.85ms] Passed 4 tests
This is a short check of server-side resources used by DamarFm Radyo HTML5 Player
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.39 | 4.16 ▼38.80 |
Dashboard /wp-admin | 2.08 ▼1.22 | 6.96 ▼45.89 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 7.53 ▼39.07 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 6.16 ▼91.62 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 7.13 ▼25.90 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_damarfm_radyo_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for DamarFm Radyo HTML5 Player
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.27 ▼1.10 | 1.67 ▼0.31 | 37.91 ▼4.26 |
Dashboard /wp-admin | 2,206 ▲18 | 5.84 ▲0.91 | 105.72 ▼9.04 | 38.17 ▼8.24 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.02 ▲0.04 | 39.35 ▲3.68 | 34.00 ▼0.42 |
Add New Post /wp-admin/post-new.php | 1,514 ▼21 | 17.77 ▼5.45 | 629.37 ▼55.52 | 51.16 ▼10.30 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.18 ▼0.06 | 95.06 ▼8.02 | 41.32 ▼3.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/damarfm-player/damarfm.php+21
Methods with the same name as their class will not be constructors in a future version of PHP; damarfm_radyo_widget has a deprecated constructor
- Zombie WordPress options were found after uninstall: 7 options
- widget_damarfm_radyo_widget
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/damarfm-player/damarfm.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (23 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Add images for these screenshots: #1 (Player Görünümü), #2 (Player Görünümü), #3 (Player Görünümü), #4 (Player Görünümü)
damarfm-player/damarfm.php 92% from 13 tests
The main PHP file in "DamarFm Radyo HTML5 Player" ver. 4.5 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("damarfm-player.php" instead of "damarfm.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin79 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 23 | 13 | 79 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.03 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ 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 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.53MB with 0.33MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 105.84KB | 43.41KB | ▼ 58.99% |
screenshot-2.png | 161.98KB | 61.36KB | ▼ 62.12% |
screenshot-1.png | 153.57KB | 61.80KB | ▼ 59.76% |
damarfmlogo.png | 25.06KB | 7.69KB | ▼ 69.30% |
screenshot-3.png | 92.85KB | 32.99KB | ▼ 64.47% |