84% vinubis-video-editor

Code Review | VINUBIS Video Editor

WordPress plugin VINUBIS Video Editor scored84%from 54 tests.

About plugin

  • Plugin page: vinubis-video-editor
  • Plugin version: 1.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.8.0
  • WordPress version: 6.3.1
  • First release: Aug 25, 2016
  • Latest release: Jun 20, 2017
  • Number of updates: 47
  • Update frequency: every 6.4 days
  • Top authors: floriang (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

30+ active /3,461 total downloads

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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼4.97ms] Passed 4 tests

An overview of server-side resources used by VINUBIS Video Editor
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0143.92 ▲0.96
Dashboard /wp-admin3.33 ▲0.0254.57 ▲3.22
Posts /wp-admin/edit.php3.38 ▲0.0253.63 ▼2.04
Add New Post /wp-admin/post-new.php5.91 ▲0.0287.36 ▼20.81
Media Library /wp-admin/upload.php3.26 ▲0.0240.86 ▲2.03
Contact Us /wp-admin/admin.php?page=vinubis-contact3.2234.89
Vinubis About /wp-admin/admin.php?page=vinubis-about3.2234.09
Vinubis Editor /wp-admin/admin.php?page=vinubis_editor3.2229.55
Vinubis Send Email /wp-admin/admin.php?page=vinubis-send-email3.2234.23

Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for VINUBIS Video Editor
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,824 ▲6314.38 ▼0.111.92 ▲0.1046.44 ▲3.29
Dashboard /wp-admin2,233 ▲565.62 ▼0.0696.85 ▲7.5143.11 ▲1.67
Posts /wp-admin/edit.php2,135 ▲351.94 ▼0.0137.01 ▲0.2637.39 ▲1.89
Add New Post /wp-admin/post-new.php1,554 ▲2822.88 ▼0.51698.85 ▲23.9850.21 ▼7.67
Media Library /wp-admin/upload.php1,435 ▲384.16 ▼0.0298.76 ▼6.9543.61 ▲0.01
Contact Us /wp-admin/admin.php?page=vinubis-contact8842.0226.6567.16
My Account /wp-admin/admin.php?page=vinubis_editor#/account8612.0122.9531.61
Vinubis About /wp-admin/admin.php?page=vinubis-about8492.0124.3231.98
Vinubis Editor /wp-admin/admin.php?page=vinubis_editor8612.0624.6831.40
My Videos /wp-admin/admin.php?page=vinubis_editor#/projects8612.0122.5032.37
Vinubis Send Email /wp-admin/admin.php?page=vinubis-send-email7912.0223.6024.61
File Library /wp-admin/admin.php?page=vinubis_editor#/library8612.0624.2833.12

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=vinubis_editor#/library
    • > Network (severe)
    https://editor.vinubis.com/assets/vinubis-editor.css - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=vinubis_editor#/library
    • > Network (severe)
    https://editor.vinubis.com/assets/vinubis-editor.js - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=vinubis_editor#/library
    • > Network (severe)
    https://editor.vinubis.com/assets/vendor.js - Failed to load resource: net::ERR_NAME_NOT_RESOLVED

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: styles, video themes, wp video editor, video styles, video editor...

vinubis-video-editor/vinubis-plugin.php 92% from 13 tests

Analyzing the main PHP file in "VINUBIS Video Editor" version 1.1.1
It is important to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("vinubis-video-editor.php" instead of "vinubis-plugin.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 detected348 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
CSS1344155
PHP69713140
JavaScript111253

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/youtube_hover.png2.23KB1.60KB▼ 28.16%
img/blue-arrow.png1.16KB0.39KB▼ 66.53%
img/youtube.png1.26KB1.45KB0.00%
img/twitter-logo_hover.png1.94KB1.30KB▼ 33.03%
img/twitter-logo.png1.09KB1.19KB0.00%