Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼1.14MB] [CPU: ▼44.39ms] Passed 4 tests
An overview of server-side resources used by VideoZen
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▼0.62 | 13.98 ▼24.72 |
Dashboard /wp-admin | 2.88 ▼0.46 | 16.34 ▼43.43 |
Posts /wp-admin/edit.php | 2.88 ▼0.47 | 17.89 ▼28.32 |
Add New Post /wp-admin/post-new.php | 2.88 ▼3.00 | 16.79 ▼81.07 |
Media Library /wp-admin/upload.php | 2.88 ▼0.35 | 14.62 ▼17.73 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_videozen_cdnstatus |
New WordPress options |
---|
videozen_auth |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
videozen_db_version |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by VideoZen
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲130 | 13.66 ▼0.80 | 3.56 ▲1.83 | 37.34 ▼6.74 |
Dashboard /wp-admin | 2,231 ▲42 | 5.27 ▲0.32 | 102.72 ▼17.24 | 35.90 ▼6.04 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.52 ▲0.51 | 37.12 ▲1.53 | 31.75 ▼2.03 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 17.74 ▼5.52 | 647.97 ▲11.66 | 55.34 ▲1.08 |
Media Library /wp-admin/upload.php | 1,416 ▲31 | 4.53 ▲0.33 | 96.82 ▼0.85 | 41.23 ▼2.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/videozen/videozen.php+336
Undefined index: videozenznot
- Zombie tables detected upon uninstall: 1 table
- wp_videozen_cdnstatus
- Zombie WordPress options were found after uninstall: 8 options
- theysaidso_admin_options
- widget_theysaidso_widget
- videozen_auth
- videozen_db_version
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_network_admin() in wp-content/plugins/videozen/videozen.php:71
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 96% from 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
10 plugin tags: cdn, video, video html5, s3, wordpress...
videozen/videozen.php 92% from 13 tests
The entry point to "VideoZen" version 1.0.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please improve your description making it at least 10 characters long (currently 9 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin763 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 244 | 130 | 671 |
PO File | 1 | 29 | 31 | 73 |
CSS | 1 | 2 | 0 | 19 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
download.png | 1.93KB | 0.79KB | ▼ 59.36% |
videozenadmin.png | 2.39KB | 1.48KB | ▼ 38.25% |
videozenadmin32.png | 4.81KB | 1.99KB | ▼ 58.76% |