Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▲1.14ms] Passed 4 tests
A check of server-side resources used by IV Player
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 39.23 ▲2.67 |
Dashboard /wp-admin | 3.39 ▲0.09 | 47.98 ▲0.39 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 44.96 ▼0.32 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 104.52 ▲12.73 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 33.31 ▲1.82 |
Server storage [IO: ▲18.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 61 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for IV Player
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,879 ▲133 | 19.23 ▲4.61 | 69.98 ▲68.15 | 46.26 ▲5.07 |
Dashboard /wp-admin | 2,215 ▲30 | 5.77 ▼0.13 | 99.48 ▼2.55 | 38.26 ▼3.53 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.02 ▼0.02 | 36.89 ▲1.88 | 34.42 ▲1.58 |
Add New Post /wp-admin/post-new.php | 1,527 ▼6 | 17.70 ▼5.67 | 615.08 ▼43.08 | 60.32 ▼0.96 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.17 ▼0.13 | 96.95 ▼14.58 | 41.16 ▼6.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ivplayer/admin/partials/iv-player-admin-display.php
- > /wp-content/plugins/ivplayer/open/partials/iv-player-open-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: timing files video player, view on screen video player, timing text video player, video player, javascript video player...
ivplayer/ivplayer.php 92% from 13 tests
The entry point to "IV Player" version 1.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
No dangerous file extensions were detected1,525 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 92 | 15 | 981 |
PHP | 12 | 141 | 557 | 349 |
JavaScript | 12 | 18 | 96 | 138 |
JSON | 2 | 0 | 0 | 55 |
HTML | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 5.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 28 | 84.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.15% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG files were detected