Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.74ms] Passed 4 tests
A check of server-side resources used by Control panel for SoundCloud(SoundCloud再生パネル)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.15 ▼6.60 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.85 ▲0.31 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.07 ▲0.85 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.27 ▼1.53 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.13 ▲2.43 |
Control panel for SoundCloud /wp-admin/tools.php?page=dn_ctrp_sndcld_menu | 3.21 | 30.24 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Control panel for SoundCloud(SoundCloud再生パネル)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.55 ▼1.00 | 4.53 ▲2.82 | 39.99 ▲0.27 |
Dashboard /wp-admin | 2,213 ▲28 | 5.90 ▲0.96 | 109.78 ▲5.94 | 40.54 ▼4.10 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.02 | 39.63 ▼1.71 | 35.02 ▼0.64 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.19 ▲0.53 | 602.33 ▼61.79 | 49.93 ▼8.69 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.29 ▲0.02 | 93.77 ▼3.76 | 41.87 ▼4.37 |
Control panel for SoundCloud /wp-admin/tools.php?page=dn_ctrp_sndcld_menu | 827 | 2.06 | 23.51 | 25.05 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/control-panel-for-soundcloud/dn-ctrp-sndcld-plugin.php:61
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: player, soundcloud
control-panel-for-soundcloud/dn-ctrp-sndcld-plugin.php 92% from 13 tests
The main PHP file in "Control panel for SoundCloud(SoundCloud再生パネル)" ver. 1.0 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: Name the main plugin file the same as the plugin slug ("control-panel-for-soundcloud.php" instead of "dn-ctrp-sndcld-plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected486 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 16 | 12 | 198 |
JavaScript | 2 | 14 | 21 | 142 |
PHP | 1 | 29 | 58 | 120 |
PO File | 1 | 7 | 2 | 26 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 9 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 10.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 11 | 100.00% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/panel_position_right.png | 0.25KB | 0.11KB | ▼ 56.03% |
images/panel_position_left.png | 0.26KB | 0.11KB | ▼ 57.20% |
images/panel_position_upper.png | 0.26KB | 0.11KB | ▼ 57.52% |
images/panel_position_bottom.png | 0.25KB | 0.11KB | ▼ 57.36% |
images/soundcloud_log.png | 2.24KB | 1.52KB | ▼ 31.89% |