Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼1.82MB] [CPU: ▼59.05ms] Passed 4 tests
This is a short check of server-side resources used by Speech Balloon Maker (ふきだしメーカー)
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.17 ▼1.30 | 5.96 ▼32.65 |
Dashboard /wp-admin | 2.20 ▼1.15 | 8.23 ▼60.04 |
Posts /wp-admin/edit.php | 2.20 ▼1.16 | 9.06 ▼38.66 |
Add New Post /wp-admin/post-new.php | 2.20 ▼3.69 | 9.42 ▼97.41 |
Media Library /wp-admin/upload.php | 2.20 ▼1.03 | 8.86 ▼40.08 |
Speech Balloon Maker /wp-admin/tools.php?page=dn_sbm_menu | 2.20 | 8.57 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Speech Balloon Maker (ふきだしメーカー)
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲12 | 14.23 ▼0.12 | 1.69 ▼0.78 | 40.05 ▼4.87 |
Dashboard /wp-admin | 2,205 ▲28 | 5.62 ▼0.00 | 91.56 ▼3.71 | 39.58 ▼0.76 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.03 | 39.59 ▲2.55 | 34.78 ▼1.51 |
Add New Post /wp-admin/post-new.php | 1,532 ▼6 | 23.12 ▲4.86 | 687.12 ▲21.07 | 64.85 ▼1.49 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.22 ▲0.04 | 111.32 ▲5.26 | 48.25 ▲8.16 |
Speech Balloon Maker /wp-admin/tools.php?page=dn_sbm_menu | 1,150 | 3.11 | 43.89 | 25.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the dn_sbm_script handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/tools.php?page=dn_sbm_menu
- > User notice in wp-includes/functions.php+5905
Function wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the dn_sbm_script handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/tools.php?page=dn_sbm_menu
- > User notice in wp-includes/functions.php+5905
Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the dn_sbm_setting_style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/tools.php?page=dn_sbm_menu
- > Notice in wp-content/plugins/speech-balloon-maker/plugin.php+177
Undefined property: dn_sbm_baloonmakerclass::$curvestr
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/speech-balloon-maker/plugin.php:44
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: speech bubble, balloon, bubble, speech balloon, fukidashi
speech-balloon-maker/plugin.php 92% from 13 tests
The main PHP file in "Speech Balloon Maker (ふきだしメーカー)" ver. 1.0.6 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("speech-balloon-maker.php" instead of "plugin.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 plugin504 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 52 | 48 | 214 |
CSS | 2 | 22 | 10 | 205 |
PO File | 1 | 23 | 2 | 57 |
JavaScript | 1 | 12 | 4 | 28 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.36 |
▷ 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 | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 13 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.14% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/dn_sbm_default_org.png | 16.13KB | 5.89KB | ▼ 63.47% |
images/dn_sbm_default.png | 1.31KB | 1.28KB | ▼ 2.46% |