Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.02ms] Passed 4 tests
This is a short check of server-side resources used by WP Arabic Virtual Keyboard
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 46.68 ▼0.64 |
Dashboard /wp-admin | 3.33 ▲0.03 | 53.62 ▼0.11 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.58 ▼2.85 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.54 ▼14.21 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.83 ▼2.37 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
WP Arabic Virtual Keyboard: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲55 | 14.26 ▼0.09 | 3.49 ▲1.37 | 43.28 ▼1.58 |
Dashboard /wp-admin | 2,209 ▲35 | 5.56 ▼0.06 | 82.61 ▼21.29 | 77.05 ▲36.28 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 1.99 ▼0.03 | 33.97 ▼6.51 | 35.13 ▼5.24 |
Add New Post /wp-admin/post-new.php | 1,544 ▲16 | 23.02 ▼0.40 | 785.28 ▲157.83 | 61.06 ▲5.87 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.11 ▼0.05 | 100.41 ▼5.32 | 69.78 ▲26.57 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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 fix the following
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/upgrade.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-arabic-virtual-keyboard/wp-virtual-keyboard.php on line 11
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/upgrade.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-arabic-virtual-keyboard/admin.php on line 2
- > PHP Warning
require_once(ABSPATHwp-admin/includes/upgrade.php): failed to open stream: No such file or directory in wp-content/plugins/wp-arabic-virtual-keyboard/wp-virtual-keyboard.php on line 11
- > PHP Warning
require_once(ABSPATHwp-admin/includes/upgrade.php): failed to open stream: No such file or directory in wp-content/plugins/wp-arabic-virtual-keyboard/admin.php on line 2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-arabic-virtual-keyboard/wp-virtual-keyboard.php on line 11
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-arabic-virtual-keyboard/admin.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Screenshot #1 (Arabic Virtual Keyboard structure.) image missing
- Plugin Name: You should set the name of your plugin on the first line (
=== wp-arabic-virtual-keyboard ===
)
wp-arabic-virtual-keyboard/wp-virtual-keyboard.php 85% from 13 tests
The main PHP file in "WP Arabic Virtual Keyboard" ver. 4.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 398 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("wp-arabic-virtual-keyboard.php" instead of "wp-virtual-keyboard.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,111 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 157 | 80 | 609 |
CSS | 1 | 74 | 12 | 349 |
PHP | 3 | 32 | 13 | 153 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
2 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/keyboard-icon.png | 1.17KB | 1.25KB | 0.00% |
screenshot-1.png | 41.81KB | 16.05KB | ▼ 61.61% |