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 gracefully, with no errors
Server metrics [RAM: ▼1.77MB] [CPU: ▼192.70ms] Passed 4 tests
Analyzing server-side resources used by Video Converter
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.86 ▼0.97 | 8.00 ▼26.73 |
Dashboard /wp-admin | 1.88 ▼1.17 | 8.27 ▼41.95 |
Posts /wp-admin/edit.php | 1.88 ▼1.23 | 7.11 ▼44.00 |
Add New Post /wp-admin/post-new.php | 1.88 ▼3.55 | 10.82 ▼650.88 |
Media Library /wp-admin/upload.php | 1.88 ▼1.12 | 7.47 ▼33.95 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Video Converter: 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 / | 3,699 ▲103 | 15.74 ▲0.17 | 12.45 ▲3.70 | 57.98 ▲7.73 |
Dashboard /wp-admin | 2,976 ▲49 | 5.90 ▼0.10 | 144.44 ▼8.45 | 146.02 ▲16.91 |
Posts /wp-admin/edit.php | 2,770 ▲31 | 2.70 ▼0.02 | 70.32 ▲1.31 | 101.94 ▲13.54 |
Add New Post /wp-admin/post-new.php | 1,616 ▲12 | 18.58 ▼0.18 | 395.79 ▲17.92 | 116.87 ▼0.48 |
Media Library /wp-admin/upload.php | 1,764 ▼43 | 5.03 ▼0.00 | 139.72 ▼35.62 | 147.61 ▲11.05 |
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
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5663
wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the videoconverter-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 56 tag instead of maximum 10
- Contributors: The plugin tags were not defined
- Contributors: Plugin contributors not specified
video-converter/videoconverter.php 85% from 13 tests
The main file in "Video Converter" v. 2.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("video-converter.php" instead of "videoconverter.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected868 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 165 | 509 | 673 |
PO File | 2 | 70 | 14 | 164 |
CSS | 2 | 3 | 0 | 31 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 13.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 2 | 33.33% |
▷ Concrete classes | 4 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 47 | 61.84% |
▷ Protected methods | 29 | 38.16% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.57MB with 0.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assests/icon-128x128.png | 5.32KB | 3.30KB | ▼ 37.97% |
assests/banner-772x250.png | 243.30KB | 61.82KB | ▼ 74.59% |
assests/screenshot-1.png | 97.06KB | 49.67KB | ▼ 48.82% |
img/icon.png | 0.88KB | 0.93KB | 0.00% |
assests/screenshot-2.png | 198.44KB | 53.98KB | ▼ 72.80% |