90% 3q-video-connect

Code Review | 3Q Video Connect

WordPress plugin 3Q Video Connect scored90%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: 6.3.1
  • 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 /5,435 total downloads

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.49MB] [CPU: ▼12.08ms] Passed 4 tests

Server-side resources used by 3Q Video Connect
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.65 ▲0.1942.38 ▼2.32
Dashboard /wp-admin3.49 ▲0.1959.07 ▲2.45
Posts /wp-admin/edit.php3.61 ▲0.2550.64 ▲2.28
Add New Post /wp-admin/post-new.php3.34 ▼2.5442.92 ▼50.72
Media Library /wp-admin/upload.php3.42 ▲0.1942.87 ▲8.14

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
P3QVC_root_url
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by 3Q Video Connect
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,217 ▲47113.46 ▼0.554.11 ▲1.7236.09 ▼9.11
Dashboard /wp-admin2,576 ▲3915.04 ▼0.79119.73 ▲14.2191.41 ▲49.34
Posts /wp-admin/edit.php2,439 ▲3502.29 ▲0.2934.56 ▼0.5435.83 ▲0.92
Add New Post /wp-admin/post-new.php1,894 ▲35222.89 ▲4.70678.26 ▲34.6940.15 ▼18.92
Media Library /wp-admin/upload.php1,802 ▲4144.34 ▼0.07103.94 ▼2.0085.27 ▲41.93

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

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

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention: The official readme.txt might help

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

"3Q Video Connect" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable 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

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.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.00MB 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%
images/threeQ-logo.png2.38KB1.27KB▼ 46.69%
images/play-button-80.png2.95KB2.30KB▼ 22.18%
images/3qlogo.png0.57KB0.96KB0.00%
images/play-button.png5.17KB3.42KB▼ 33.81%