Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/soundcloud-latest-tracks/soundcloud-latest-tracks.php+245
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼51.53ms] Passed 4 tests
An overview of server-side resources used by Soundcloud Latest Tracks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.39 ▼35.88 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.34 ▼39.90 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.83 ▼41.30 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.54 ▼89.02 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.86 ▼27.36 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
slt_button_text |
theysaidso_admin_options |
slt_button_class |
widget_theysaidso_widget |
can_compress_scripts |
widget_slt_plugin |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Soundcloud Latest Tracks
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.58 ▼1.04 | 1.75 ▼0.18 | 45.36 ▼4.55 |
Dashboard /wp-admin | 2,219 ▲31 | 5.90 ▲0.01 | 103.49 ▼4.81 | 40.47 ▼0.45 |
Posts /wp-admin/edit.php | 2,102 ▲10 | 2.06 ▲0.04 | 39.22 ▼2.16 | 32.45 ▼4.68 |
Add New Post /wp-admin/post-new.php | 1,527 ▲13 | 17.36 ▼0.18 | 696.71 ▲34.77 | 48.42 ▼11.81 |
Media Library /wp-admin/upload.php | 1,407 ▲22 | 4.21 ▼0.04 | 98.21 ▼6.02 | 43.86 ▼0.07 |
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 did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/soundcloud-latest-tracks/soundcloud-latest-tracks.php+245
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 9 options
- can_compress_scripts
- widget_slt_plugin
- theysaidso_admin_options
- slt_button_class
- widget_theysaidso_widget
- slt_button_text
- widget_recent-posts
- db_upgraded
- widget_recent-comments
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 | 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× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/soundcloud-latest-tracks/soundcloud-latest-tracks.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: tracks, music, soundcloud
soundcloud-latest-tracks/soundcloud-latest-tracks.php 92% from 13 tests
This is the main PHP file of "Soundcloud Latest Tracks" version 1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 142 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin187 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 27 | 34 | 186 |
JavaScript | 1 | 0 | 4 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin