90% wp-jitsi-shortcodes

Code Review | Wordpress Jitsi Shortcode

WordPress plugin Wordpress Jitsi Shortcode scored90%from 54 tests.

About plugin

  • Plugin page: wp-jitsi-shortcodes
  • Plugin version: 0.1
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-5.4.2
  • WordPress version: 6.3.1
  • First release: Jul 1, 2020
  • Latest release: Jul 1, 2020
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: andrewabarber (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /2,179 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼9.91ms] Passed 4 tests

Analyzing server-side resources used by Wordpress Jitsi Shortcode
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0239.89 ▼1.87
Dashboard /wp-admin3.33 ▲0.0348.02 ▼7.62
Posts /wp-admin/edit.php3.39 ▲0.0347.10 ▼4.96
Add New Post /wp-admin/post-new.php5.91 ▲0.0384.58 ▼25.18
Media Library /wp-admin/upload.php3.26 ▲0.0337.31 ▲1.31

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Wordpress Jitsi Shortcode
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,831 ▲4513.21 ▼1.171.54 ▼0.5137.78 ▼4.71
Dashboard /wp-admin2,237 ▲315.80 ▲0.9297.89 ▼6.1340.02 ▼2.80
Posts /wp-admin/edit.php2,116 ▲161.97 ▼0.0536.13 ▲0.1833.22 ▼1.59
Add New Post /wp-admin/post-new.php1,544 ▲1323.52 ▲0.47679.62 ▲36.7560.43 ▼3.30
Media Library /wp-admin/upload.php1,413 ▲134.25 ▼0.13102.95 ▼4.5041.67 ▼6.14

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: open, wordpress, jitsi, meetings, shortcode

wp-jitsi-shortcodes/wp-jitsi-shortcodes.php 92% from 13 tests

The main PHP file in "Wordpress Jitsi Shortcode" ver. 0.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin169 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP32332168
Markdown1001

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.28
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%
Functions6
▷ Named functions6100.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
There were not PNG files found in your plugin