Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼119.96ms] Passed 4 tests
A check of server-side resources used by ACF SoundCloud Playlists
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 40.88 ▼9.68 |
Dashboard /wp-admin | 3.40 ▼0.02 | 51.62 ▼457.49 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 53.51 ▼4.40 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 87.13 ▼8.27 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 40.52 ▲2.53 |
SoundCloud /wp-admin/options-general.php?page=soundcloud-settings | 3.29 | 33.07 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for ACF SoundCloud Playlists
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.76 ▲0.38 | 1.70 ▲0.14 | 42.47 ▼9.14 |
Dashboard /wp-admin | 2,210 ▲19 | 5.85 ▲0.98 | 103.22 ▼3.71 | 42.58 ▲1.84 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.04 ▲0.07 | 40.27 ▲1.25 | 37.18 ▲2.83 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.15 ▲5.57 | 667.31 ▲4.83 | 56.39 ▼5.06 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.29 ▲0.15 | 110.73 ▼15.02 | 49.30 ▲0.28 |
SoundCloud /wp-admin/options-general.php?page=soundcloud-settings | 819 | 2.03 | 24.41 | 32.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
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
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-soundcloud-playlists/inc/helpers.php:8
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-soundcloud-playlists/acf-scp-v4.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-soundcloud-playlists/inc/sc-option.php:193
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/acf-soundcloud-playlists/acf-scp.php:11
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-soundcloud-playlists/acf-scp-v5.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: soundcloud, audio, playlist, podcast, advanced custom fields...
acf-soundcloud-playlists/acf-scp.php 77% from 13 tests
The main PHP file in "ACF SoundCloud Playlists" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 156 characters long)
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("acf-soundcloud-playlists.php" instead of "acf-scp.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
Good job! No executable or dangerous file extensions detected4,118 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 549 | 882 | 2,518 |
PHP | 9 | 716 | 976 | 1,278 |
CSS | 2 | 1 | 16 | 313 |
HTML | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 51 | 83.61% |
▷ Protected methods | 7 | 11.48% |
▷ Private methods | 3 | 4.92% |
Functions | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 2 | 33.33% |
▷ Class constants | 4 | 66.67% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/sc_logo_black.png | 3.96KB | 1.41KB | ▼ 64.32% |