100% 3q-video-connect

Code Review | 3Q Video Connect

WordPress plugin 3Q Video Connect scored 100% from 54 tests.

About plugin

  • Plugin page: 3q-video-connect
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2-5.3
  • WordPress version: 5.9.2
  • First release: Feb 15, 2019
  • Latest release: Mar 25, 2020
  • Number of updates: 12
  • Update frequency: every 33.7 days
  • Top authors: 3qsdn (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 2,949 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▼0.74MB] [CPU: ▼305.41ms] Passed 4 tests

This is a short check of server-side resources used by 3Q Video Connect
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.76 ▲0.2558.04 ▲9.16
Dashboard /wp-admin3.61 ▲0.2035.42 ▲1.77
Posts /wp-admin/edit.php3.84 ▲0.2039.17 ▲2.96
Add New Post /wp-admin/post-new.php3.42 ▼3.5529.45 ▼1,228.49
Media Library /wp-admin/upload.php3.49 ▲0.1924.88 ▲2.13

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 37 new files
Database: no new tables, 1 new option
New WordPress options
P3QVC_root_url

Browser metrics Passed 4 tests

This is an overview of browser requirements for 3Q Video Connect
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /4,235 ▲51316.09 ▲0.018.21 ▲2.623.20 ▲0.90
Dashboard /wp-admin3,324 ▲4696.50 ▲0.30121.21 ▼13.69148.44 ▼13.32
Posts /wp-admin/edit.php3,086 ▲3983.31 ▲0.0765.43 ▲0.64109.69 ▼31.33
Add New Post /wp-admin/post-new.php2,045 ▲38423.96 ▲8.18389.59 ▼21.78204.17 ▲46.17
Media Library /wp-admin/upload.php2,152 ▲4515.72 ▲0.09126.54 ▼27.12209.30 ▲25.00

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes: You can take inspiration from this readme.txt

3q-video-connect/3q-video-connect.php Passed 13 tests

The main file in "3Q Video Connect" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
63 characters long description:
Plugin to provide your 3Q SDN videos to your Wordpress Website.

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
Success! There were no dangerous files found in this plugin12,425 lines of code in 23 files:
LanguageFilesBlank linesComment linesLines of code
CSS62341588,969
JavaScript56172491,996
PHP980146879
Markdown11190517
SVG20064

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity31.33
▷ Minimum class complexity1.00
▷ Maximum class complexity69.00
Average method complexity4.14
▷ Minimum method complexity1.00
▷ Maximum method complexity16.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods29
▷ Static methods26.90%
▷ Public methods2172.41%
▷ Protected methods00.00%
▷ Private methods827.59%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.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
6 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/play-button-120.png4.10KB2.97KB▼ 27.63%
3q_logo_square.png3.79KB2.13KB▼ 43.84%
images/threeQ-logo.png2.38KB1.27KB▼ 46.69%
images/play-button-80.png2.95KB2.30KB▼ 22.18%
images/play-button.png5.17KB3.42KB▼ 33.81%