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: ▼11.83ms] Passed 4 tests
Server-side resources used by GF Hebrew Virtual Keyboard Add-On
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.53 ▼6.47 |
Dashboard /wp-admin | 3.31 ▼0.03 | 42.86 ▼18.65 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.02 ▼3.19 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 77.85 ▼19.02 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.82 ▼0.36 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GF Hebrew Virtual Keyboard Add-On
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.19 ▲0.02 | 1.74 ▲0.06 | 42.08 ▼1.55 |
Dashboard /wp-admin | 2,192 ▲12 | 5.52 ▼0.05 | 80.60 ▼7.76 | 38.96 ▼0.57 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.05 | 32.56 ▼2.06 | 33.59 ▼4.52 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.66 ▲0.38 | 648.59 ▼7.70 | 58.06 ▼0.34 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.20 ▲0.04 | 100.32 ▼10.30 | 43.95 ▼3.22 |
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: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gf-hebrew-virtual-keyboard-add-on/HebrewVirtualKeyboard.php:13
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/gf-hebrew-virtual-keyboard-add-on/class-gfHebrewVirtualKeyboard.php:3
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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
Please fix the following attributes:
- Requires at least: Invalid plugin version format
gf-hebrew-virtual-keyboard-add-on/HebrewVirtualKeyboard.php 85% from 13 tests
The main PHP file in "GF Hebrew Virtual Keyboard Add-On" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 148 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("gf-hebrew-virtual-keyboard-add-on.php" instead of "HebrewVirtualKeyboard.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin424 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 34 | 45 | 196 |
CSS | 2 | 19 | 0 | 128 |
JavaScript | 6 | 7 | 4 | 100 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 2 | 16.67% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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