Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▼1.75ms] Passed 4 tests
An overview of server-side resources used by Vimeotheque: Vimeo WordPress Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 40.23 ▲1.54 |
Dashboard /wp-admin | 3.61 ▲0.26 | 48.49 ▼17.48 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 50.97 ▲6.04 |
Add New Post /wp-admin/post-new.php | 6.45 ▲0.56 | 100.77 ▲10.01 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 37.56 ▲2.91 |
All videos /wp-admin/edit.php?post_type=vimeo-video | 3.58 | 40.98 |
Settings /wp-admin/edit.php?post_type=vimeo-video&page=cvm_settings | 3.69 | 36.48 |
Go PRO! /wp-admin/edit.php?post_type=vimeo-video&page=vimeotheque_go_pro | 3.48 | 35.61 |
Add-ons /wp-admin/edit.php?post_type=vimeo-video&page=vimeotheque_extensions | 3.44 | 30.66 |
Tags /wp-admin/edit-tags.php?taxonomy=vimeo-tag&post_type=vimeo-video | 3.62 | 37.31 |
Categories /wp-admin/edit-tags.php?taxonomy=vimeo-videos&post_type=vimeo-video | 3.53 | 34.92 |
Import videos /wp-admin/edit.php?post_type=vimeo-video&page=cvm_import | 3.60 | 41.05 |
Status /wp-admin/edit.php?post_type=vimeo-video&page=vimeotheque_status | 3.44 | 35.54 |
Add new /wp-admin/post-new.php?post_type=vimeo-video | 3.55 | 50.27 |
Setup /wp-admin/admin.php?page=vimeotheque_setup | 3.39 | 26.93 |
Server storage [IO: ▲0.97MB] [DB: ▲0.08MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 189 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_cvm-latest-videos-widget |
vmtq_plugin_review_callout |
can_compress_scripts |
db_upgraded |
widget_cvm-video-categories-widget |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Vimeotheque: Vimeo WordPress Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲100 | 14.15 ▼0.46 | 1.80 ▼0.11 | 42.55 ▼1.19 |
Dashboard /wp-admin | 2,249 ▲68 | 5.55 ▼0.13 | 83.97 ▼28.48 | 74.38 ▲27.67 |
Posts /wp-admin/edit.php | 2,157 ▲57 | 1.99 ▲0.03 | 38.75 ▲3.49 | 34.07 ▼2.42 |
Add New Post /wp-admin/post-new.php | 6,267 ▲4,741 | 26.35 ▲3.10 | 993.03 ▲302.88 | 40.68 ▼18.77 |
Media Library /wp-admin/upload.php | 1,457 ▲54 | 4.22 ▲0.08 | 97.78 ▲1.55 | 63.50 ▲15.98 |
All videos /wp-admin/edit.php?post_type=vimeo-video | 1,217 | 2.04 | 33.88 | 32.74 |
Settings /wp-admin/edit.php?post_type=vimeo-video&page=cvm_settings | 2,254 | 2.76 | 64.99 | 51.13 |
Go PRO! /wp-admin/edit.php?post_type=vimeo-video&page=vimeotheque_go_pro | 1,010 | 1.77 | 25.46 | 56.01 |
Add-ons /wp-admin/edit.php?post_type=vimeo-video&page=vimeotheque_extensions | 1,064 | 2.31 | 22.46 | 41.03 |
Tags /wp-admin/edit-tags.php?taxonomy=vimeo-tag&post_type=vimeo-video | 1,303 | 2.25 | 26.40 | 30.10 |
Categories /wp-admin/edit-tags.php?taxonomy=vimeo-videos&post_type=vimeo-video | 1,325 | 2.12 | 26.62 | 29.42 |
Import videos /wp-admin/edit.php?post_type=vimeo-video&page=cvm_import | 1,505 | 3.19 | 66.85 | 62.66 |
Status /wp-admin/edit.php?post_type=vimeo-video&page=vimeotheque_status | 1,464 | 1.84 | 28.55 | 30.90 |
Add new /wp-admin/post-new.php?post_type=vimeo-video | 1,006 | 1.69 | 26.40 | 22.63 |
Setup /wp-admin/admin.php?page=vimeotheque_setup | 916 | 2.36 | 47.37 | 12.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 9 options
- vmtq_plugin_review_callout
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_cvm-video-categories-widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_cvm-latest-videos-widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 11× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Cannot access parent:: when no class scope is active in wp-content/plugins/codeflavors-vimeo-video-post-lite/themes/default/player.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function vimeotheque_get_template_part() in wp-content/plugins/codeflavors-vimeo-video-post-lite/templates/content-single-video.php:12
- > PHP Fatal error
Uncaught Error: Class 'Vimeotheque\\Options\\Options_Factory' not found in wp-content/plugins/codeflavors-vimeo-video-post-lite/includes/deprecated.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function has_post_thumbnail() in wp-content/plugins/codeflavors-vimeo-video-post-lite/templates/archive/content-video-post.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function have_posts() in wp-content/plugins/codeflavors-vimeo-video-post-lite/templates/archive/content-archive.php:12
- > PHP Fatal error
Uncaught Error: Cannot access parent:: when no class scope is active in wp-content/plugins/codeflavors-vimeo-video-post-lite/themes/listy/theme.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_avatar() in wp-content/plugins/codeflavors-vimeo-video-post-lite/templates/single-video/post-meta.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function vimeotheque_the_video_embed() in wp-content/plugins/codeflavors-vimeo-video-post-lite/templates/single-video/media-video.php:11
- > PHP Fatal error
Uncaught Error: Cannot access parent:: when no class scope is active in wp-content/plugins/codeflavors-vimeo-video-post-lite/themes/simple/theme.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/codeflavors-vimeo-video-post-lite/includes/libs/templates/hooks.php:6
- > 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 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: vimeo, video post, video embed, featured video, video gallery
codeflavors-vimeo-video-post-lite/main.php 85% from 13 tests
The entry point to "Vimeotheque: Vimeo WordPress Plugin" version 2.2.7 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 154 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("codeflavors-vimeo-video-post-lite.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin15,681 lines of code in 170 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 124 | 2,604 | 6,801 | 12,306 |
CSS | 21 | 95 | 46 | 1,631 |
JavaScript | 23 | 165 | 56 | 1,554 |
Markdown | 1 | 48 | 0 | 189 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 9.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 30 | |
Interfaces | 7 | |
Traits | 0 | |
Classes | 95 | |
▷ Abstract classes | 4 | 4.21% |
▷ Concrete classes | 91 | 95.79% |
▷ Final classes | 4 | 4.40% |
Methods | 728 | |
▷ Static methods | 79 | 10.85% |
▷ Public methods | 586 | 80.49% |
▷ Protected methods | 26 | 3.57% |
▷ Private methods | 116 | 15.93% |
Functions | 100 | |
▷ Named functions | 71 | 71.00% |
▷ Anonymous functions | 29 | 29.00% |
Constants | 14 | |
▷ Global constants | 9 | 64.29% |
▷ Class constants | 5 | 35.71% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
10 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/back-end/images/error-small.png | 0.19KB | 0.22KB | 0.00% |
themes/default/assets/images/collapse.png | 0.38KB | 0.39KB | 0.00% |
themes/default/assets/images/expand.png | 0.38KB | 0.40KB | 0.00% |
assets/back-end/images/success-small.png | 0.58KB | 0.58KB | 0.00% |
assets/front-end/images/play-btn.png | 1.59KB | 1.43KB | ▼ 10.14% |