84% lifesize-video-conferencing-call-widget

Code Review | Lifesize Video Conferencing Call Widget

WordPress plugin Lifesize Video Conferencing Call Widget scored84%from 54 tests.

About plugin

  • Plugin page: lifesize-video-co...
  • Plugin version: 1.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-4.9.2
  • WordPress version: 6.3.1
  • First release: Feb 6, 2018
  • Latest release: Feb 6, 2018
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: lifesize (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /743 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

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

An overview of server-side resources used by Lifesize Video Conferencing Call Widget
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0238.89 ▼1.77
Dashboard /wp-admin3.32 ▲0.0242.57 ▼5.77
Posts /wp-admin/edit.php3.37 ▲0.0242.22 ▼2.06
Add New Post /wp-admin/post-new.php5.90 ▲0.0279.16 ▼13.83
Media Library /wp-admin/upload.php3.24 ▲0.0233.96 ▼0.48

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
widget_lifesize-widget
widget_recent-posts
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

Lifesize Video Conferencing Call Widget: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲7913.21 ▼1.171.99 ▲0.4045.26 ▲4.25
Dashboard /wp-admin2,209 ▲214.84 ▼0.0595.49 ▼9.9740.46 ▼3.16
Posts /wp-admin/edit.php2,089 ▼01.99 ▼0.0233.75 ▼4.0434.10 ▲1.31
Add New Post /wp-admin/post-new.php1,536 ▲623.34 ▲5.01674.08 ▲43.3759.42 ▲8.57
Media Library /wp-admin/upload.php1,388 ▼34.18 ▼0.1197.98 ▼26.2141.51 ▼3.88

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 does not fully uninstall, leaving 7 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_lifesize-widget
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 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 50% 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 fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/lifesize-video-conferencing-call-widget/lifesize-video-conferencing-call-widget.php

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% from 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: call, conferencing, lifesize, video conferencing, web conferencing

lifesize-video-conferencing-call-widget/lifesize-video-conferencing-call-widget.php 92% from 13 tests

The main PHP script in "Lifesize Video Conferencing Call Widget" version 1.0 is automatically included on every request by WordPress
The following require your attention:
  • Description: Keep the plugin description shorter than 140 characters (currently 182 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected37 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP162837

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 code0.19
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin