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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼4.27ms] Passed 4 tests
Server-side resources used by Emoji Toolbar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.74 ▲1.27 |
Dashboard /wp-admin | 3.31 ▼0.03 | 48.54 ▼12.40 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 50.79 ▲2.05 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 89.50 ▼6.62 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.21 ▲0.66 |
Server storage [IO: ▲0.76MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Emoji Toolbar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▼0.03 | 1.81 ▲0.16 | 45.30 ▲4.76 |
Dashboard /wp-admin | 2,195 ▲20 | 5.57 ▼0.17 | 83.84 ▼26.19 | 39.19 ▼1.43 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.06 ▲0.02 | 39.81 ▲2.28 | 37.13 ▼1.38 |
Add New Post /wp-admin/post-new.php | 1,531 ▼9 | 19.21 ▼4.10 | 664.18 ▼37.09 | 56.88 ▲7.51 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.13 ▼0.07 | 101.15 ▼1.35 | 43.09 ▼1.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: editor, emoticon, gutenberg, emoji
emoji-toolbar/emoji-toolbar.php Passed 13 tests
The principal PHP file in "Emoji Toolbar" v. 1.2.4 is loaded by WordPress automatically on each request
47 characters long description:
A simple Emoji picker for rich-text blocks 😀
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
Success! There were no dangerous files found in this plugin1,198 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 23 | 2 | 0 | 641 |
CSS | 2 | 64 | 7 | 404 |
PO File | 1 | 29 | 30 | 75 |
Markdown | 2 | 18 | 0 | 51 |
PHP | 3 | 6 | 29 | 26 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin