84% virtual-jquery-keyboard

Code Review | Virtual JQuery Keyboard

WordPress plugin Virtual JQuery Keyboard scored84%from 54 tests.

About plugin

  • Plugin page: virtual-jquery-ke...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.2
  • WordPress version: 6.3.1
  • First release: May 15, 2019
  • Latest release: May 15, 2019
  • Number of updates: 3
  • Update frequency: every 5.7 days
  • Top authors: cvl01 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /626 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.59ms] Passed 4 tests

A check of server-side resources used by Virtual JQuery Keyboard
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0141.18 ▲0.39
Dashboard /wp-admin3.31 ▲0.0049.85 ▼1.55
Posts /wp-admin/edit.php3.36 ▲0.0049.79 ▼3.48
Add New Post /wp-admin/post-new.php5.89 ▲0.0086.72 ▼10.63
Media Library /wp-admin/upload.php3.23 ▲0.0034.96 ▼2.68

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

Virtual JQuery Keyboard: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,073 ▲31213.63 ▼0.7113.72 ▲11.7741.09 ▼2.36
Dashboard /wp-admin2,198 ▲215.57 ▼0.0090.31 ▼2.0240.92 ▲0.47
Posts /wp-admin/edit.php2,103 ▲31.98 ▲0.0038.86 ▲2.8236.43 ▼0.21
Add New Post /wp-admin/post-new.php1,526 ▼023.54 ▲0.52659.53 ▲1.2053.83 ▲2.87
Media Library /wp-admin/upload.php1,403 ▲64.22 ▲0.06102.53 ▼3.1143.50 ▼1.48

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options

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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/virtual-jquery-keyboard/jquery-keyboard.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: on-screen keyboard, jquery keyboard, virtual keyboard, javascript keyboard, contact form...

virtual-jquery-keyboard/jquery-keyboard.php 85% from 13 tests

The main PHP file in "Virtual JQuery Keyboard" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
  • Description: The description should be shorter than 140 characters (currently 151 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("virtual-jquery-keyboard.php" instead of "jquery-keyboard.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin14 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP12107
JavaScript2016
CSS1011

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin