Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼0.47ms] Passed 4 tests
Analyzing server-side resources used by Author Bio Box
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.53 ▲0.82 |
Dashboard /wp-admin | 3.41 ▲0.10 | 50.11 ▲0.67 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 46.82 ▲2.42 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 81.89 ▼1.12 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 33.82 ▼2.26 |
Author Bio Box /wp-admin/options-general.php?page=author-bio-box | 3.30 | 32.38 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
authorbiobox_settings |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Author Bio Box
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 14.48 ▲0.14 | 1.84 ▼0.10 | 44.57 ▲1.22 |
Dashboard /wp-admin | 2,210 ▲25 | 4.86 ▼0.99 | 110.73 ▲5.98 | 42.46 ▲1.84 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.07 | 35.62 ▼0.14 | 34.75 ▼1.70 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 18.10 ▼0.21 | 603.62 ▼27.97 | 55.34 ▲2.53 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.18 ▼0.03 | 100.57 ▼3.46 | 43.46 ▲1.32 |
Author Bio Box /wp-admin/options-general.php?page=author-bio-box | 1,373 | 2.63 | 59.05 | 29.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: bio, author, social
author-bio-box/author-bio-box.php Passed 13 tests
"Author Bio Box" version 3.4.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
86 characters long description:
Display a box with the author's biography and also social icons in bottom of the post.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,006 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 128 | 286 | 486 |
SVG | 1 | 1 | 1 | 336 |
PO File | 1 | 36 | 78 | 100 |
Sass | 1 | 20 | 0 | 79 |
JavaScript | 2 | 0 | 1 | 4 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview 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.35 |
Average class complexity | 16.67 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 8 | 28.57% |
▷ Public methods | 20 | 71.43% |
▷ Protected methods | 2 | 7.14% |
▷ Private methods | 6 | 21.43% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
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 |
assets/images/sprite.png | 3.54KB | 1.99KB | ▼ 43.61% |