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.05MB] [CPU: ▼140.22ms] Passed 4 tests
An overview of server-side resources used by List Mixcloud
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.18 | 36.61 ▲15.16 |
Dashboard /wp-admin | 3.12 ▲0.06 | 47.20 ▲4.40 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 44.06 ▲1.43 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 87.81 ▼565.15 |
Media Library /wp-admin/upload.php | 3.06 ▲0.05 | 32.69 ▼1.55 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_mixcloud |
Browser metrics Passed 4 tests
A check of browser resources used by List Mixcloud
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,823 ▲227 | 17.21 ▲1.53 | 25.53 ▲15.45 | 51.45 ▲2.48 |
Dashboard /wp-admin | 2,980 ▲49 | 6.22 ▲0.28 | 150.80 ▲10.99 | 110.06 ▼8.31 |
Posts /wp-admin/edit.php | 2,745 ▲6 | 2.72 ▲0.01 | 64.24 ▼1.61 | 84.95 ▼2.15 |
Add New Post /wp-admin/post-new.php | 1,878 ▲378 | 19.16 ▲0.39 | 383.36 ▲10.11 | 99.59 ▼5.85 |
Media Library /wp-admin/upload.php | 1,813 ▲6 | 5.03 ▲0.00 | 154.75 ▲4.39 | 117.47 ▲4.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 1 option in the database
- widget_mixcloud
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/list-mixcloud/list-mixcloud.php:34
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Tags: There are too many tags (14 tag instead of maximum 10)
list-mixcloud/list-mixcloud.php Passed 13 tests
"List Mixcloud" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
50 characters long description:
Show list or last podcast MixCloud of your channel
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
There were no executable files found in this plugin7,154 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 1,991 | 1,813 | 6,866 |
PHP | 1 | 27 | 30 | 206 |
CSS | 2 | 12 | 2 | 82 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 6.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 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 | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin