Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.36MB] [CPU: ▼5.72ms] Passed 4 tests
An overview of server-side resources used by WordPress Featured Video - VideographyWP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 40.40 ▼0.54 |
Dashboard /wp-admin | 3.74 ▲0.40 | 48.93 ▼12.11 |
Posts /wp-admin/edit.php | 3.79 ▲0.44 | 50.82 ▲1.11 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.42 | 85.71 ▼11.34 |
Media Library /wp-admin/upload.php | 3.64 ▲0.41 | 41.91 ▲6.78 |
VideographyWP Lite /wp-admin/options-general.php?page=cvwp-settings | 3.67 | 35.47 |
About VideographyWP /wp-admin/admin.php?page=cvwp-about | 3.63 | 37.30 |
Server storage [IO: ▲1.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 41 new files
Database: no new tables, 8 new options
New WordPress options |
---|
cvwp_plugin_options |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
cvwp_plugin_review_callout |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
WordPress Featured Video - VideographyWP: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.07 ▼0.34 | 1.52 ▼0.12 | 37.89 ▼5.37 |
Dashboard /wp-admin | 2,202 ▲22 | 5.64 ▲0.04 | 80.26 ▼2.58 | 41.53 ▲3.22 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.01 ▼0.01 | 33.95 ▼4.97 | 31.56 ▼2.55 |
Add New Post /wp-admin/post-new.php | 6,355 ▲4,827 | 25.98 ▲3.00 | 860.53 ▲166.85 | 60.95 ▲5.16 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.17 ▼0.02 | 96.32 ▼4.27 | 39.90 ▼5.32 |
VideographyWP Lite /wp-admin/options-general.php?page=cvwp-settings | 1,285 | 2.19 | 40.31 | 37.09 |
About VideographyWP /wp-admin/admin.php?page=cvwp-about | 910 | 2.15 | 22.17 | 39.50 |
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
- The uninstall procedure has failed, leaving 8 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- cvwp_plugin_options
- widget_recent-posts
- cvwp_plugin_review_callout
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
5 plugin tags: video plugin, video, featured video, youtube, vimeo
videographywp/index.php 85% from 13 tests
Analyzing the main PHP file in "WordPress Featured Video - VideographyWP" version 1.0.15
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("videographywp.php" instead of "index.php")
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin4,278 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 549 | 1,414 | 3,023 |
JavaScript | 7 | 165 | 89 | 1,004 |
CSS | 5 | 26 | 10 | 251 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 12.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 3 | 18.75% |
▷ Concrete classes | 13 | 81.25% |
▷ Final classes | 0 | 0.00% |
Methods | 97 | |
▷ Static methods | 12 | 12.37% |
▷ Public methods | 68 | 70.10% |
▷ Protected methods | 14 | 14.43% |
▷ Private methods | 15 | 15.46% |
Functions | 51 | |
▷ Named functions | 51 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.80MB with 0.35MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/back-end/images/promo/post-types.png | 22.18KB | 10.72KB | ▼ 51.68% |
assets/back-end/images/promo/logo2.png | 6.53KB | 3.53KB | ▼ 45.93% |
assets/libs/jquery-modal/close.png | 1.87KB | 1.74KB | ▼ 6.60% |
assets/back-end/images/promo/video-import.png | 752.01KB | 260.19KB | ▼ 65.40% |
assets/back-end/images/promo/post-embed.png | 30.13KB | 15.53KB | ▼ 48.47% |