Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▲2.11ms] Passed 4 tests
Analyzing server-side resources used by Author Bio On Hover - Author Box
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 37.45 ▼3.81 |
Dashboard /wp-admin | 3.49 ▲0.19 | 46.88 ▲0.45 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 49.06 ▲7.99 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 96.55 ▲4.37 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 41.28 ▲7.42 |
All Profiles /wp-admin/edit.php?post_type=aoh_opt_page | 3.54 | 41.51 |
Helper /wp-admin/edit.php?post_type=aoh_opt_page&page=aoh_help | 3.46 | 36.15 |
Settings /wp-admin/edit.php?post_type=aoh_opt_page&page=aoh-settings | 3.45 | 43.53 |
+ New Profile /wp-admin/post-new.php?post_type=aoh_opt_page | 3.56 | 48.88 |
Server storage [IO: ▲1.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 77 new files
Database: no new tables, 7 new options
New WordPress options |
---|
_aoh_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Author Bio On Hover - Author Box
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲84 | 14.70 ▲0.35 | 1.73 ▼0.26 | 40.46 ▼6.73 |
Dashboard /wp-admin | 2,254 ▲80 | 5.61 ▲0.05 | 82.17 ▼16.26 | 39.00 ▼4.96 |
Posts /wp-admin/edit.php | 2,569 ▲469 | 4.79 ▲2.76 | 90.50 ▲56.02 | 31.29 ▼5.72 |
Add New Post /wp-admin/post-new.php | 6,380 ▲4,850 | 26.69 ▲3.71 | 953.10 ▲291.96 | 40.03 ▼15.39 |
Media Library /wp-admin/upload.php | 1,457 ▲57 | 4.15 ▼0.08 | 80.69 ▼32.58 | 46.72 ▼1.00 |
All Profiles /wp-admin/edit.php?post_type=aoh_opt_page | 1,530 | 5.39 | 62.60 | 26.22 |
Helper /wp-admin/edit.php?post_type=aoh_opt_page&page=aoh_help | 2,127 | 11.60 | 334.13 | 161.57 |
Settings /wp-admin/edit.php?post_type=aoh_opt_page&page=aoh-settings | 1,534 | 5.23 | 74.60 | 36.91 |
+ New Profile /wp-admin/post-new.php?post_type=aoh_opt_page | 2,604 | 7.99 | 161.49 | 139.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- _aoh_options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/author-on-hover/admin/aoh-support-admin-display.php
- > /wp-content/plugins/author-on-hover/admin/partials/author-on-hover-admin-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/author-on-hover/admin/aoh-support-admin-display.php:201
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: author social icons, author on hover, author box, author bio
author-on-hover/author-on-hover.php Passed 13 tests
"Author Bio On Hover - Author Box" version 5.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
95 characters long description:
The plugin will show author profile picture, author name, social links and custom bio on hover.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected15,567 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 1,316 | 524 | 6,596 |
CSS | 7 | 382 | 522 | 5,087 |
PHP | 43 | 1,331 | 1,183 | 3,879 |
SVG | 3 | 0 | 0 | 5 |
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.65 |
Average class complexity | 28.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 6.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 2 | 7.14% |
▷ Concrete classes | 26 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 134 | |
▷ Static methods | 32 | 23.88% |
▷ Public methods | 129 | 96.27% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 3.73% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/aoh-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |