10% imigino-video-connect

Code Review | Imigino Video Connect

WordPress plugin Imigino Video Connect scored10%from 54 tests.

About plugin

  • Plugin page: imigino-video-con...
  • Plugin version: 1.1.8
  • PHP compatiblity: 7.1+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-6.1.1
  • WordPress version: 6.3.1
  • First release: May 7, 2020
  • Latest release: Jan 18, 2023
  • Number of updates: 54
  • Update frequency: every 18.3 days
  • Top authors: publisherstoolbox (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active /2,060 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Notice in wp-content/plugins/imigino-video-connect/ptx/ptxImiginoVideoCore.php+127
    Undefined index: settings

Server metrics [RAM: ▼1.87MB] [CPU: ▼52.76ms] Passed 4 tests

Server-side resources used by Imigino Video Connect
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.11 ▼1.355.82 ▼37.03
Dashboard /wp-admin2.13 ▼1.176.47 ▼40.80
Posts /wp-admin/edit.php2.13 ▼1.226.24 ▼42.22
Add New Post /wp-admin/post-new.php2.13 ▼3.756.19 ▼90.97
Media Library /wp-admin/upload.php2.13 ▼1.095.82 ▼30.29

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 61 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
widget_recent-posts
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for Imigino Video Connect
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,857 ▲12214.47 ▲0.092.15 ▼0.0546.48 ▲7.67
Dashboard /wp-admin2,226 ▲385.86 ▼0.04112.18 ▲12.2380.28 ▲40.53
Posts /wp-admin/edit.php2,118 ▲292.01 ▼0.1336.24 ▼1.6033.90 ▲3.16
Add New Post /wp-admin/post-new.php1,697 ▲18322.54 ▲4.76679.94 ▼43.8961.77 ▲6.08
Media Library /wp-admin/upload.php1,420 ▲324.16 ▼0.04105.22 ▲9.5643.38 ▲1.24

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Uninstall procedure validation failed for this plugin
    • > Notice in wp-content/plugins/imigino-video-connect/ptx/ptxImiginoVideoCore.php+127
    Undefined index: settings
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 0% from 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
The following issues need your attention
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/imigino-video-connect/admin/partials/carousel/ptx-inc-menu-carousel.php
  • 4× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr__() in wp-content/plugins/imigino-video-connect/admin/partials/carousel/ptx-inc-tabs-carousel.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr__() in wp-content/plugins/imigino-video-connect/admin/partials/settings/ptx-inc-tabs-settings.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr__() in wp-content/plugins/imigino-video-connect/admin/partials/settings/ptx-inc-menu-settings.php:3
    • > PHP Fatal error
      Uncaught Error: Using $this when not in object context in wp-content/plugins/imigino-video-connect/admin/partials/ptx-admin-display.php:14

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 Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: video, imigino, video rendering, publishers, websuite

imigino-video-connect/imigino-video-connect.php Passed 13 tests

Analyzing the main PHP file in "Imigino Video Connect" version 1.1.8
113 characters long description:
Imigino video player integration, embed your fully customisable Imigino video player into your WordPress content.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,952 lines of code in 35 files:
LanguageFilesBlank linesComment linesLines of code
PHP192681,1001,408
JavaScript9130174525
SVG11013
CSS6086

PHP code Passed 2 tests

This is a short overview 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 code0.43
Average class complexity17.45
▷ Minimum class complexity1.00
▷ Maximum class complexity87.00
Average method complexity4.07
▷ Minimum method complexity1.00
▷ Maximum method complexity45.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes11
▷ Abstract classes00.00%
▷ Concrete classes11100.00%
▷ Final classes00.00%
Methods59
▷ Static methods35.08%
▷ Public methods5186.44%
▷ Protected methods00.00%
▷ Private methods813.56%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
15 PNG files occupy 0.26MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/img/logo.png7.12KB3.65KB▼ 48.75%
admin/assets/img/menu-icon.png0.94KB1.01KB0.00%
admin/assets/img/ptx-product.png3.77KB3.42KB▼ 9.37%
admin/img/menu-icon.png0.73KB1.01KB0.00%
admin/img/minicolors.png67.02KB34.31KB▼ 48.80%