Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼9.17ms] Passed 4 tests
This is a short check of server-side resources used by Mixlr Shortcode
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.02 ▼1.12 |
Dashboard /wp-admin | 3.31 ▼0.03 | 43.67 ▼21.75 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.31 ▼0.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.81 ▼13.58 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.62 ▲1.18 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Mixlr Shortcode
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.72 ▲0.30 | 1.81 ▲0.24 | 44.73 ▲1.70 |
Dashboard /wp-admin | 2,195 ▲17 | 5.51 ▼0.14 | 85.45 ▼22.87 | 36.22 ▼22.21 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.02 | 39.41 ▼2.20 | 36.48 ▼0.41 |
Add New Post /wp-admin/post-new.php | 1,534 ▲6 | 18.22 ▼4.91 | 629.56 ▼0.97 | 68.61 ▲5.51 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.19 ▲0.02 | 100.90 ▲2.06 | 41.71 ▼7.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however 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
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/mixlr-shortcode/mixlr-shortcode.php:17
- > 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 93% from 29 tests
readme.txt 88% 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
Please fix the following attributes:
- Donate link: Invalid URI found ("")
- Screenshots: Add images for these screenshots: #1 (Large Mixlr player), #2 (Medium Mixlr player), #3 (Small Mixlr player), #4 (Creating a player)
mixlr-shortcode/mixlr-shortcode.php Passed 13 tests
The principal PHP file in "Mixlr Shortcode" v. 1.0.1 is loaded by WordPress automatically on each request
110 characters long description:
Converts Mixlr WordPress shortcodes to an embeddable player. [mixlr]http://mixlr.com/BROADCASTER/embed[/mixlr]
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
No dangerous file extensions were detected15 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 5 | 13 | 15 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.16MB with 0.08MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 14.37KB | 8.86KB | ▼ 38.36% |
screenshot-2.png | 50.23KB | 20.00KB | ▼ 60.18% |
screenshot-3.png | 10.24KB | 6.75KB | ▼ 34.12% |
screenshot-1.png | 90.13KB | 34.56KB | ▼ 61.66% |