Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Warning in wp-content/plugins/vriks-video-embedding/vriks-video-embedding.php+12
include_once(wp-content/plugins/vriks-video-embedding/admin.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.97MB] [CPU: ▼61.75ms] Passed 4 tests
An overview of server-side resources used by VRIKS Video Embedding
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.02 ▼1.44 | 5.38 ▼37.86 |
Dashboard /wp-admin | 2.04 ▼1.30 | 5.54 ▼61.43 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.80 ▼43.44 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.00 ▼104.28 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.39 ▼30.19 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
VRIKS Video Embedding: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 14.30 ▼0.00 | 2.08 ▲0.14 | 43.61 ▼0.82 |
Dashboard /wp-admin | 2,195 ▲18 | 5.67 ▲0.07 | 91.19 ▼1.68 | 40.74 ▼0.99 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 1.99 ▼0.01 | 40.57 ▲3.86 | 34.18 ▲2.19 |
Add New Post /wp-admin/post-new.php | 1,554 ▲8 | 18.17 ▼5.16 | 659.38 ▲43.56 | 49.46 ▼0.13 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.16 ▼0.09 | 99.72 ▼4.92 | 44.52 ▲0.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/vriks-video-embedding/vriks-video-embedding.php+12
include_once(wp-content/plugins/vriks-video-embedding/admin.php): failed to open stream: No such file or directory
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/vriks-video-embedding/vriks-video-embedding.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: player, hls, familienvideo, vriks, video
vriks-video-embedding/vriks-video-embedding.php Passed 13 tests
The main PHP file in "VRIKS Video Embedding" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
109 characters long description:
A Plug-in to embed your Videos from https://vriks.de/ and https://familienvideo.de/ into your WordPress Site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected140 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 14 | 25 | 82 |
CSS | 2 | 11 | 5 | 49 |
JavaScript | 4 | 0 | 18 | 9 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.22MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/private.png | 68.56KB | 23.04KB | ▼ 66.40% |
img/not-existing.png | 95.67KB | 35.23KB | ▼ 63.17% |
img/vriks-logo-white.png | 15.00KB | 0.61KB | ▼ 95.94% |
img/familienvideo-logo.png | 8.47KB | 3.92KB | ▼ 53.72% |
img/vriks-logo-black.png | 33.34KB | 17.49KB | ▼ 47.54% |