Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.92ms] Passed 4 tests
A check of server-side resources used by Send Secrets By Kaboom
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 37.54 ▼2.76 |
Dashboard /wp-admin | 3.33 ▲0.02 | 50.40 ▼4.94 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.56 ▼3.69 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.40 ▼8.28 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 41.02 ▲4.06 |
Kaboom /wp-admin/admin.php?page=kaboom | 3.23 | 35.32 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 12 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_stand_alone_send_secret |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
send_secrets_only_admin |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Send Secrets By Kaboom
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲103 | 14.24 ▼0.07 | 1.77 ▲0.02 | 41.72 ▼2.84 |
Dashboard /wp-admin | 2,273 ▲96 | 5.60 ▲0.04 | 82.83 ▼23.08 | 77.67 ▲28.73 |
Posts /wp-admin/edit.php | 2,181 ▲81 | 1.99 ▼0.01 | 38.80 ▲1.65 | 34.08 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,604 ▲73 | 23.06 ▼0.37 | 767.75 ▲93.42 | 71.24 ▲17.17 |
Media Library /wp-admin/upload.php | 1,469 ▲69 | 4.24 ▲0.03 | 112.40 ▲13.63 | 75.69 ▲29.83 |
Kaboom /wp-admin/admin.php?page=kaboom | 1,073 | 2.02 | 27.26 | 67.42 |
Send Secrets /wp-admin/admin.php?page=Send Secrets | 978 | 2.02 | 29.30 | 52.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure failed, leaving 1 table in the database
- wp_stand_alone_send_secret
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- send_secrets_only_admin
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/kaboom-send-secrets/send-secrets-by-kaboom.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/kaboom-send-secrets/view/stand_alone_form.php:26
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=Send Secrets
- > Network (severe)
wp-content/plugins/kaboom-send-secrets/view/script.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 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: send secrets, kaboom, secure, send passwords
kaboom-send-secrets/send-secrets-by-kaboom.php 77% from 13 tests
The primary PHP file in "Send Secrets By Kaboom" version 1.0.4 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 184 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("kaboom-send-secrets.php" instead of "send-secrets-by-kaboom.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
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 plugin836 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 2 | 2 | 378 |
PHP | 6 | 30 | 23 | 357 |
CSS | 1 | 3 | 14 | 101 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 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 | 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
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 |
images/send-secrets.png | 16.43KB | 6.72KB | ▼ 59.11% |