Benchmarks
Plugin footprint 65% 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.53MB] [CPU: ▼0.25ms] Passed 4 tests
A check of server-side resources used by FV Flowplayer Video Player
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.37 | 34.31 ▼3.47 |
Dashboard /wp-admin | 3.87 ▲0.57 | 44.15 ▼3.01 |
Posts /wp-admin/edit.php | 3.99 ▲0.63 | 48.51 ▲3.04 |
Add New Post /wp-admin/post-new.php | 6.49 ▲0.60 | 98.46 ▲2.45 |
Media Library /wp-admin/upload.php | 3.80 ▲0.57 | 36.91 ▲3.53 |
Videos/Playlists /wp-admin/admin.php?page=fv_player | 3.89 | 104.19 |
Settings /wp-admin/admin.php?page=fvplayer | 4.76 | 85.68 |
Bunny Stream /wp-admin/admin.php?page=fv_player_bunny_stream | 3.77 | 35.67 |
FV Player /wp-admin/options-general.php?page=fvplayer | 3.95 | 66.01 |
Server storage [IO: ▲9.36MB] [DB: ▲0.01MB] 67% from 3 tests
Filesystem and database footprint
Please fix the following
- You have illegally modified 1 file (111.21KB) outside of "wp-content/plugins/fv-wordpress-flowplayer/" and "wp-content/uploads/"
- (new file) wp-content/fv-flowplayer-custom/style-1.css
Filesystem: 1,027 new files
Database: 5 new tables, 12 new options
New tables |
---|
wp_fv_player_players |
wp_fv_player_videos |
wp_fv_player_videometa |
wp_fv_player_playermeta |
wp_fv_player_encoding_jobs |
New WordPress options |
---|
fv_player_bunny_stream_ver |
db_upgraded |
fv_player_mailchimp_lists |
fv_flowplayer_checker_queue |
can_compress_scripts |
widget_widget_fvplayer |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
fvwpflowplayer |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for FV Flowplayer Video Player
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲118 | 13.25 ▼1.10 | 4.24 ▲2.33 | 40.71 ▲0.99 |
Dashboard /wp-admin | 2,296 ▲116 | 5.67 ▲0.01 | 86.08 ▼0.96 | 75.10 ▲28.70 |
Posts /wp-admin/edit.php | 2,215 ▲118 | 2.55 ▲0.57 | 46.12 ▲11.26 | 35.09 ▼2.91 |
Add New Post /wp-admin/post-new.php | 8,766 ▲7,238 | 23.29 ▲0.28 | 1,092.20 ▲441.78 | 48.50 ▼3.69 |
Media Library /wp-admin/upload.php | 1,508 ▲114 | 4.39 ▲0.24 | 106.74 ▲11.63 | 73.65 ▲29.44 |
Videos/Playlists /wp-admin/admin.php?page=fv_player | 5,121 | 6.72 | 159.67 | 68.83 |
Settings /wp-admin/admin.php?page=fvplayer | 8,822 | 8.28 | 269.25 | 173.92 |
Bunny Stream /wp-admin/admin.php?page=fv_player_bunny_stream | 1,286 | 3.40 | 57.87 | 66.09 |
FV Player /wp-admin/options-general.php?page=fvplayer | 8,831 | 8.31 | 256.70 | 142.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie tables detected upon uninstall: 5 tables
- wp_fv_player_encoding_jobs
- wp_fv_player_videos
- wp_fv_player_videometa
- wp_fv_player_playermeta
- wp_fv_player_players
- Zombie WordPress options detected upon uninstall: 12 options
- widget_recent-comments
- widget_recent-posts
- fv_player_mailchimp_lists
- widget_theysaidso_widget
- theysaidso_admin_options
- fv_flowplayer_checker_queue
- fv_player_email_lists
- fvwpflowplayer
- db_upgraded
- can_compress_scripts
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=fv_player_bunny_stream
- > Notice in wp-content/plugins/fv-wordpress-flowplayer/models/bunny-stream-wizard/step_2_stream_libs.php+32
Undefined index: bunnycdn_api
SRP 0% 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
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/fv-wordpress-flowplayer/controller/track.php
- > /wp-content/plugins/fv-wordpress-flowplayer/vendor/mtdowling/jmespath.php/bin/jp.php
- 232× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Trait 'Aws\\S3\\CalculatesChecksumTrait' not found in wp-content/plugins/fv-wordpress-flowplayer/vendor/aws/aws-sdk-php/src/S3/ApplyChecksumMiddleware.php on line 17
- > PHP Fatal error
Uncaught Error: Interface 'Aws\\MonitoringEventsInterface' not found in wp-content/plugins/fv-wordpress-flowplayer/vendor/aws/aws-sdk-php/src/S3/UseArnRegion/Exception/ConfigurationException.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Aws\\MonitoringEventsInterface' not found in wp-content/plugins/fv-wordpress-flowplayer/vendor/aws/aws-sdk-php/src/Exception/IncalculablePayloadException.php:7
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/fv-wordpress-flowplayer/vendor/guzzlehttp/promises/src/Promise.php:10
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Multipart\\AbstractUploadManager' not found in wp-content/plugins/fv-wordpress-flowplayer/vendor/aws/aws-sdk-php/src/Multipart/AbstractUploader.php:10
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Arn\\S3\\AccessPointArn' not found in wp-content/plugins/fv-wordpress-flowplayer/vendor/aws/aws-sdk-php/src/Arn/S3/MultiRegionAccessPointArn.php:13
- > PHP Parse error
syntax error, unexpected '|', expecting variable (T_VARIABLE) in wp-content/plugins/fv-wordpress-flowplayer/vendor/symfony/polyfill-mbstring/bootstrap80.php on line 15
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Api\\ErrorParser\\AbstractErrorParser' not found in wp-content/plugins/fv-wordpress-flowplayer/vendor/aws/aws-sdk-php/src/Api/ErrorParser/XmlErrorParser.php:14
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Api\\Parser\\AbstractParser' not found in wp-content/plugins/fv-wordpress-flowplayer/vendor/aws/aws-sdk-php/src/Api/Parser/JsonRpcParser.php:14
- > PHP Fatal error
Uncaught Error: Class 'FV_Player_Wizard_Base_Class' not found in wp-content/plugins/fv-wordpress-flowplayer/models/class.fv-player-bunny_stream-wizard.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% 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
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
fv-wordpress-flowplayer/flowplayer.php 85% from 13 tests
The main PHP file in "FV Flowplayer Video Player" ver. 7.5.41.7212 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 149 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("fv-wordpress-flowplayer.php" instead of "flowplayer.php")
Code Analysis 97% from 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
No dangerous file extensions were detected88,906 lines of code in 818 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 616 | 12,183 | 20,903 | 62,012 |
JavaScript | 136 | 2,968 | 2,017 | 11,880 |
PO File | 4 | 2,878 | 4,058 | 4,990 |
Markdown | 25 | 1,506 | 0 | 4,223 |
CSS | 14 | 371 | 118 | 3,928 |
JSON | 14 | 7 | 0 | 1,414 |
SVG | 5 | 0 | 0 | 203 |
XSLT | 2 | 10 | 0 | 192 |
reStructuredText | 1 | 35 | 29 | 59 |
Bourne Shell | 1 | 0 | 0 | 5 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
It is recommended to fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 247)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 18.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 677.00 |
Average method complexity | 3.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 247.00 |
Code structure | ||
---|---|---|
Namespaces | 73 | |
Interfaces | 61 | |
Traits | 27 | |
Classes | 402 | |
▷ Abstract classes | 24 | 5.97% |
▷ Concrete classes | 378 | 94.03% |
▷ Final classes | 50 | 13.23% |
Methods | 3,501 | |
▷ Static methods | 585 | 16.71% |
▷ Public methods | 2,689 | 76.81% |
▷ Protected methods | 144 | 4.11% |
▷ Private methods | 668 | 19.08% |
Functions | 647 | |
▷ Named functions | 286 | 44.20% |
▷ Anonymous functions | 361 | 55.80% |
Constants | 269 | |
▷ Global constants | 22 | 8.18% |
▷ Class constants | 247 | 91.82% |
▷ Public constants | 235 | 95.14% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
25 PNG files occupy 0.36MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-256x256.png | 10.04KB | 6.70KB | ▼ 33.22% |
images/fv-logo.png | 2.09KB | 0.89KB | ▼ 57.38% |
images/icon@x2.png | 0.81KB | 0.81KB | 0.36% |
images/icon.png | 0.45KB | 0.45KB | 0.00% |
css/img/techinfo.png | 0.30KB | 0.47KB | 0.00% |