Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.28ms] Passed 4 tests
This is a short check of server-side resources used by Kantbtrue about me
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.54 ▼7.23 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.47 ▲1.16 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 52.40 ▲0.61 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 80.89 ▼23.66 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.50 ▲2.35 |
Server storage [IO: ▲2.96MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_kantbtrue_about_me |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
kbtam_show_rating |
kbtam_activation_date |
kbtam_content_updated |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Kantbtrue about me
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲211 | 15.03 ▲0.80 | 1.99 ▲0.20 | 40.44 ▼1.57 |
Dashboard /wp-admin | 2,359 ▲174 | 6.62 ▲0.71 | 133.42 ▲30.35 | 39.19 ▼4.06 |
Posts /wp-admin/edit.php | 2,268 ▲179 | 3.58 ▲1.54 | 60.87 ▲20.01 | 35.32 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,540 ▼3 | 23.27 ▲4.88 | 634.82 ▲4.67 | 37.17 ▼18.66 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.27 ▲0.07 | 83.28 ▼14.05 | 43.62 ▲0.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 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)
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/kantbtrue-about-me/class/class-kbtam-widget.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kantbtrue-about-me/inc/scripts.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kantbtrue-about-me/inc/styles.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/kantbtrue-about-me/class/KBTAM_Widget.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: about widget, about author, about me, about me widget, author box...
kantbtrue-about-me/kantbtrue-about-me.php Passed 13 tests
The main PHP script in "Kantbtrue about me" version 1.2.11 is automatically included on every request by WordPress
56 characters long description:
An elegant about me widget and profile widget for blogs.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected13,144 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 9,299 |
JSON | 2 | 0 | 0 | 3,115 |
PHP | 8 | 28 | 124 | 463 |
PO File | 2 | 34 | 36 | 121 |
JavaScript | 2 | 2 | 6 | 76 |
CSS | 2 | 13 | 4 | 70 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 5.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 20.00% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 2 | |
▷ Global constants | 2 | 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 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/signature-demo.png | 2.15KB | 2.07KB | ▼ 4.13% |