Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼3.46ms] Passed 4 tests
A check of server-side resources used by Word Balloon
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.20 ▼4.09 |
Dashboard /wp-admin | 3.57 ▲0.27 | 47.18 ▼6.69 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 48.79 ▼6.41 |
Add New Post /wp-admin/post-new.php | 6.59 ▲0.70 | 113.99 ▲4.87 |
Media Library /wp-admin/upload.php | 3.50 ▲0.26 | 38.46 ▲3.34 |
Word Balloon /wp-admin/options-general.php?page=word-balloon | 3.75 | 42.21 |
Server storage [IO: ▲1.06MB] [DB: ▲0.05MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 352 new files
Database: 1 new table, 11 new options
New tables |
---|
wp_word_balloon |
New WordPress options |
---|
word_balloon_post_settings |
word_balloon_admin_settings |
widget_theysaidso_widget |
db_upgraded |
word_balloon_system_settings |
word_balloon_db_version |
word_balloon_version |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Word Balloon
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.25 ▼0.19 | 1.63 ▼0.13 | 38.99 ▼5.51 |
Dashboard /wp-admin | 2,199 ▲22 | 5.62 ▲0.04 | 95.85 ▲1.75 | 37.89 ▼4.88 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.94 ▼0.01 | 39.85 ▼4.62 | 37.52 ▼1.22 |
Add New Post /wp-admin/post-new.php | 5,097 ▲3,571 | 22.79 ▼0.22 | 894.62 ▲294.25 | 38.90 ▼7.40 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.24 ▲0.08 | 104.40 ▲6.65 | 45.37 ▲2.52 |
Word Balloon /wp-admin/options-general.php?page=word-balloon | 1,767 | 3.33 | 62.25 | 86.93 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Please describe screenshot #10 in word-balloon/assets to your readme.txt
word-balloon/word-balloon.php Passed 13 tests
The entry point to "Word Balloon" version 4.20.3 is a PHP file that has certain tags in its header comment area
102 characters long description:
Support for Block editor(Gutenberg) & Classic Editor.You will easy to add speech balloon in your post.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin11,239 lines of code in 342 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 81 | 2,271 | 343 | 5,434 |
JavaScript | 120 | 2,808 | 522 | 4,555 |
PO File | 1 | 346 | 501 | 770 |
CSS | 85 | 5 | 0 | 285 |
SVG | 51 | 0 | 2 | 191 |
JSON | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 140 | |
▷ Named functions | 137 | 97.86% |
▷ Anonymous functions | 3 | 2.14% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/blank.png | 1.02KB | 0.09KB | ▼ 90.94% |