Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼7.22ms] Passed 4 tests
This is a short check of server-side resources used by Stylish Author Bio
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.73 ▼0.34 |
Dashboard /wp-admin | 3.45 ▲0.15 | 51.07 ▼2.23 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 48.64 ▼5.13 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 87.49 ▼21.18 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 38.30 ▲2.61 |
Stylish Author Bio /wp-admin/options-general.php?page=stylish-author-bio | 3.34 | 34.33 |
Server storage [IO: ▲1.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
stylish_author_bio_settings |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Stylish Author Bio: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.63 ▼0.98 | 4.73 ▲2.81 | 42.77 ▼2.43 |
Dashboard /wp-admin | 2,210 ▲22 | 5.85 ▼0.05 | 100.16 ▼7.59 | 40.74 ▼2.67 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.04 ▲0.01 | 36.33 ▼7.09 | 35.58 ▼0.99 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.14 ▼0.21 | 609.67 ▼5.06 | 58.43 ▲4.90 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.24 ▼0.02 | 96.43 ▼4.78 | 42.44 ▼4.71 |
Stylish Author Bio /wp-admin/options-general.php?page=stylish-author-bio | 1,697 | 3.04 | 64.91 | 36.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
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)
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
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 just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (28 tag instead of maximum 10)
stylish-author-bio/stylish-author-bio.php Passed 13 tests
The principal PHP file in "Stylish Author Bio" v. 1.0 is loaded by WordPress automatically on each request
74 characters long description:
Display author's biography with social icons in bottom of the posts/pages.
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
Success! There were no dangerous files found in this plugin2,094 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 1,013 |
PHP | 8 | 212 | 266 | 763 |
CSS | 1 | 19 | 3 | 168 |
PO File | 1 | 64 | 71 | 146 |
JavaScript | 2 | 0 | 1 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 17.67 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.79 |
▷ 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin