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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.57MB] [CPU: ▲0.71ms] Passed 4 tests
A check of server-side resources used by Video Thumbnails Reloaded
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.01 ▲0.55 | 39.41 ▼0.28 |
Dashboard /wp-admin | 3.88 ▲0.58 | 46.54 ▼2.67 |
Posts /wp-admin/edit.php | 3.93 ▲0.57 | 50.60 ▲8.81 |
Add New Post /wp-admin/post-new.php | 6.45 ▲0.56 | 93.92 ▲0.33 |
Media Library /wp-admin/upload.php | 3.80 ▲0.57 | 38.42 ▲5.46 |
Bulk Video Thumbs /wp-admin/tools.php?page=video-thumbnails-bulk | 3.71 | 33.75 |
Video Thumbnails /wp-admin/options-general.php?page=video_thumbnails | 3.71 | 30.58 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 39 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
video_thumbnails |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Video Thumbnails Reloaded
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.30 ▼1.08 | 1.75 ▼0.01 | 40.84 ▼3.89 |
Dashboard /wp-admin | 2,214 ▲23 | 4.88 ▼0.06 | 108.97 ▲5.54 | 41.35 ▲4.98 |
Posts /wp-admin/edit.php | 2,097 ▲5 | 2.01 ▲0.01 | 39.99 ▲4.35 | 34.59 ▲1.70 |
Add New Post /wp-admin/post-new.php | 6,529 ▲4,996 | 20.38 ▼2.74 | 832.98 ▲244.54 | 50.25 ▼11.37 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.21 ▼0.02 | 92.95 ▼6.08 | 44.90 ▲0.75 |
Bulk Video Thumbs /wp-admin/tools.php?page=video-thumbnails-bulk | 865 | 1.84 | 31.92 | 29.65 |
Video Thumbnails /wp-admin/options-general.php?page=video_thumbnails | 923 | 2.04 | 22.57 | 29.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Screenshot #1 (Settings page) image not found
video-thumbnails-reloaded/video-thumbnails.php 77% from 13 tests
"Video Thumbnails Reloaded" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 255 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("video-thumbnails-reloaded.php" instead of "video-thumbnails.php")
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
There were no executable files found in this plugin3,296 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 613 | 876 | 2,525 |
JavaScript | 2 | 45 | 14 | 358 |
PO File | 1 | 127 | 158 | 267 |
CSS | 2 | 21 | 4 | 145 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 9.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 2.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 139 | |
▷ Static methods | 48 | 34.53% |
▷ Public methods | 131 | 94.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 5.76% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
Constants | 50 | |
▷ Global constants | 3 | 6.00% |
▷ Class constants | 47 | 94.00% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin