Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼12.27ms] Passed 4 tests
Analyzing server-side resources used by WP Jet Player
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 37.73 ▲1.68 |
Dashboard /wp-admin | 3.46 ▲0.11 | 41.91 ▼17.79 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 43.34 ▼4.34 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 81.58 ▼22.42 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 31.47 ▼4.54 |
Videos /wp-admin/edit.php?post_type=wp-jet-video | 3.45 | 37.82 |
Players /wp-admin/edit.php?post_type=wp-jet-player | 3.49 | 40.76 |
Add New Player /wp-admin/post-new.php?post_type=wp-jet-player | 3.54 | 44.92 |
Skins /wp-admin/edit.php?post_type=wp-jet-skin | 3.49 | 41.58 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WP Jet Player
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,981 ▲235 | 13.49 ▼0.91 | 11.61 ▲10.05 | 43.83 ▲4.36 |
Dashboard /wp-admin | 2,238 ▲63 | 5.63 ▲0.01 | 87.40 ▼9.62 | 39.75 ▼7.90 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 1.99 ▼0.00 | 33.40 ▼6.09 | 36.41 ▲4.31 |
Add New Post /wp-admin/post-new.php | 1,563 ▲37 | 23.07 ▲0.04 | 661.08 ▲14.15 | 58.56 ▲12.62 |
Media Library /wp-admin/upload.php | 1,507 ▲107 | 4.04 ▼0.22 | 96.85 ▼2.15 | 42.83 ▼2.27 |
Videos /wp-admin/edit.php?post_type=wp-jet-video | 1,297 | 3.25 | 46.41 | 28.03 |
Players /wp-admin/edit.php?post_type=wp-jet-player | 1,819 | 3.39 | 50.11 | 28.28 |
Add New Player /wp-admin/post-new.php?post_type=wp-jet-player | 2,368 | 3.53 | 60.59 | 89.46 |
Skins /wp-admin/edit.php?post_type=wp-jet-skin | 1,816 | 3.37 | 46.60 | 29.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-jet-player/wp-jet-player.php:107
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: audio, media, player, video
wp-jet-player/wp-jet-player.php 92% from 13 tests
The main PHP file in "WP Jet Player" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Requires at least: Required version number should use periods and dots only (ex. "7.0" instead of "WP 4.8")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin2,068 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 392 | 145 | 1,774 |
JavaScript | 3 | 31 | 8 | 188 |
CSS | 3 | 23 | 0 | 106 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 14.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 4 | 44.44% |
Methods | 55 | |
▷ Static methods | 11 | 20.00% |
▷ Public methods | 48 | 87.27% |
▷ Protected methods | 4 | 7.27% |
▷ Private methods | 3 | 5.45% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.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
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/images/default_logo.png | 2.33KB | 0.73KB | ▼ 68.70% |