Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.57ms] Passed 4 tests
Analyzing server-side resources used by Media Player Style Kit
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.72 ▼0.45 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.98 ▼5.80 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.33 ▲0.25 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.48 ▼8.18 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.16 ▲0.17 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
media_player_style_kit_version |
Browser metrics Passed 4 tests
A check of browser resources used by Media Player Style Kit
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲73 | 13.20 ▼1.16 | 1.93 ▲0.14 | 40.14 ▼9.36 |
Dashboard /wp-admin | 2,206 ▲17 | 4.86 ▼1.01 | 104.83 ▼19.02 | 40.69 ▼6.64 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▲0.01 | 35.93 ▼3.86 | 29.95 ▼9.31 |
Add New Post /wp-admin/post-new.php | 1,549 ▲16 | 23.09 ▼0.04 | 598.17 ▼67.70 | 50.54 ▼12.34 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.28 ▲0.04 | 97.73 ▼0.95 | 41.18 ▼0.98 |
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 does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- media_player_style_kit_version
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: There are too many tags (13 tag instead of maximum 10)
media-player-style-kit/media-player-style-kit.php Passed 13 tests
This is the main PHP file of "Media Player Style Kit" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
74 characters long description:
Change the colors of the WordPress media player right from the Customizer.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin213 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 54 | 152 | 151 |
JavaScript | 2 | 9 | 0 | 54 |
CSS | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 12 | |
▷ Static methods | 1 | 8.33% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
Functions | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected