Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼134.85ms] Passed 4 tests
A check of server-side resources used by Emoji Keyboard in Comment Form
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 34.18 ▲9.29 |
Dashboard /wp-admin | 3.07 ▲0.02 | 48.34 ▲1.76 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 47.74 ▲5.92 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 92.79 ▼545.68 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 32.41 ▼1.40 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Emoji Keyboard in Comment Form
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.93 ▲0.06 | 8.80 ▲0.64 | 46.13 ▼3.30 |
Dashboard /wp-admin | 2,967 ▲36 | 5.88 ▼0.07 | 136.45 ▼9.25 | 107.60 ▼9.63 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▲0.00 | 65.22 ▼3.74 | 89.63 ▼2.06 |
Add New Post /wp-admin/post-new.php | 1,672 ▼0 | 18.86 ▲0.11 | 365.13 ▲11.18 | 110.08 ▼0.80 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.04 ▲0.00 | 149.36 ▼13.83 | 120.24 ▲2.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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 items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/emoji-keyboard-in-comment-form/emojikeyboard_content.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function _x() in wp-content/plugins/emoji-keyboard-in-comment-form/emojikeybord.php:15
- > PHP Fatal error
Uncaught Error: Class 'emoji_keyboard_in_wp_comments_form_interface' not found in wp-content/plugins/emoji-keyboard-in-comment-form/includes/frontend-interface.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: emojis, emoji keyboard
emoji-keyboard-in-comment-form/emojikeybord.php 85% from 13 tests
"Emoji Keyboard in Comment Form" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("emoji-keyboard-in-comment-form.php" instead of "emojikeybord.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin3,089 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 66 | 69 | 1,442 |
JavaScript | 2 | 24 | 0 | 1,255 |
CSS | 1 | 24 | 0 | 302 |
PO File | 2 | 27 | 4 | 90 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 2.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 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 | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/keyboard_icon.png | 15.56KB | 6.60KB | ▼ 57.58% |