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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.18ms] Passed 4 tests
A check of server-side resources used by Loderi Virtual Keyboard
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.24 ▲0.16 |
Dashboard /wp-admin | 3.40 ▲0.09 | 51.52 ▲1.35 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 53.74 ▲5.19 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 90.03 ▼9.25 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.32 ▲3.04 |
Server storage [IO: ▲1.26MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 283 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_kbrd_widget |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Loderi Virtual Keyboard
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.20 ▼0.80 | 1.67 ▼0.13 | 44.57 ▼0.12 |
Dashboard /wp-admin | 2,203 ▲15 | 4.84 ▼0.05 | 109.42 ▼3.31 | 40.19 ▼0.62 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.04 ▲0.05 | 39.67 ▼0.58 | 34.60 ▼0.49 |
Add New Post /wp-admin/post-new.php | 3,505 ▲1,963 | 20.44 ▲2.13 | 687.92 ▲66.63 | 62.17 ▲3.60 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.17 ▼0.03 | 99.67 ▼6.78 | 45.64 ▼0.25 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_kbrd_widget
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/loderi-virtual-keayboard/loderi-virtual-keyboard.php
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 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Automatically appends to the comments form), #2 (Multiple skins available), #3 (Also available as popup from widget-button)
loderi-virtual-keayboard/loderi-virtual-keyboard.php 92% from 13 tests
The entry point to "Loderi Virtual Keyboard" version 1.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("loderi-virtual-keayboard.php" instead of "loderi-virtual-keyboard.php")
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
There were no executable files found in this plugin11,890 lines of code in 261 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 251 | 260 | 2,650 | 6,974 |
CSS | 9 | 168 | 272 | 4,096 |
PHP | 1 | 44 | 7 | 820 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 6.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
17 PNG files occupy 0.49MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/css/winxp/thumbnail.png | 8.68KB | 5.08KB | ▼ 41.47% |
js/css/air_mid/thumbnail.png | 34.28KB | 17.28KB | ▼ 49.60% |
screenshot-2.png | 73.29KB | 30.86KB | ▼ 57.89% |
js/css/goldie/button_set.png | 20.87KB | 8.75KB | ▼ 58.10% |
js/css/flat_gray/thumbnail.png | 26.38KB | 13.13KB | ▼ 50.25% |