Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.72ms] Passed 4 tests
An overview of server-side resources used by VdoCipher
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 45.72 ▲3.21 |
Dashboard /wp-admin | 3.38 ▲0.04 | 52.49 ▼14.08 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 52.19 ▲0.55 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 86.48 ▼12.80 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 37.84 ▼0.55 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 12 new options
New WordPress options |
---|
vdo_default_width |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
vdo_player_theme |
vdo_default_height |
vdo_show_plugin_in_sidebar |
theysaidso_admin_options |
vdo_plugin_version |
... |
Browser metrics Passed 4 tests
A check of browser resources used by VdoCipher
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.27 ▼0.28 | 1.79 ▼0.02 | 43.08 ▲3.59 |
Dashboard /wp-admin | 2,195 ▲15 | 5.51 ▼0.18 | 93.00 ▲3.88 | 82.50 ▲40.07 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 2.00 ▼0.00 | 35.39 ▼2.41 | 36.04 ▲1.68 |
Add New Post /wp-admin/post-new.php | 6,377 ▲4,851 | 27.84 ▲4.27 | 944.73 ▲258.04 | 38.04 ▼20.78 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.21 ▼0.04 | 102.37 ▼12.06 | 68.98 ▲20.25 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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× PHP files output text when accessed directly:
- > /wp-content/plugins/vdocipher/include/player-versions-doc.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: existingVersion in wp-content/plugins/vdocipher/include/player-versions-doc.php on line 7
- > PHP Notice
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 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== vdocipher ===
) - Screenshots: Please add an image for screenshot #5 (Video playing inside a post.)
vdocipher/vdocipher.php Passed 13 tests
The primary PHP file in "VdoCipher" version 1.29 is used by WordPress to initiate all plugin functionality
35 characters long description:
Secured video hosting for WordPress
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
There were no executable files found in this plugin879 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 51 | 54 | 733 |
JavaScript | 3 | 8 | 0 | 59 |
HTML | 2 | 2 | 4 | 52 |
JSON | 1 | 0 | 0 | 34 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
2 compressed PNG files occupy 0.04MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 1.72KB | 1.38KB | ▼ 19.55% |
include/img/default1.png | 42.45KB | 46.21KB | 0.00% |