Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/wp-about-author/wp-about-author.php+198
Trying to access array offset on value of type bool
Server metrics [RAM: ▼0.25MB] [CPU: ▼19.69ms] Passed 4 tests
Server-side resources used by WP About Author
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 36.78 ▼7.73 |
Dashboard /wp-admin | 3.39 ▲0.09 | 50.90 ▼6.24 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 48.59 ▼5.98 |
Add New Post /wp-admin/post-new.php | 4.68 ▼1.20 | 46.58 ▼58.79 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 40.29 ▼0.23 |
WP About Author /wp-admin/options-general.php?page=wp-about-author/wp-about-author-admin.php | 3.26 | 32.49 |
Server storage [IO: ▲0.16MB] [DB: ▲0.08MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
wp_about_author_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP About Author
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.38 ▲0.10 | 1.74 ▲0.00 | 43.57 ▼1.57 |
Dashboard /wp-admin | 2,196 ▲19 | 5.65 ▲0.08 | 148.31 ▲59.51 | 43.76 ▼1.71 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.05 | 40.04 ▼1.33 | 32.92 ▼6.09 |
Add New Post /wp-admin/post-new.php | 1,550 ▲19 | 23.40 ▲0.27 | 641.66 ▲1.74 | 49.30 ▼4.15 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.23 ▲0.06 | 101.67 ▲4.16 | 46.11 ▲1.79 |
WP About Author /wp-admin/options-general.php?page=wp-about-author/wp-about-author-admin.php | 1,308 | 5.77 | 79.56 | 30.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- wp_about_author_settings
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=wp-about-author/wp-about-author-admin.php
- > Notice in wp-content/plugins/wp-about-author/wp-about-author-admin.php+158
Undefined variable: fields
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-about-author/wp-about-author.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (Author bio below a post), #2 (WP About Author settings page)
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
wp-about-author/wp-about-author.php Passed 13 tests
The entry point to "WP About Author" version 1.5 is a PHP file that has certain tags in its header comment area
56 characters long description:
Easily display customizable author bios below your posts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected449 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 54 | 60 | 393 |
CSS | 1 | 1 | 1 | 56 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
18 compressed PNG files occupy 0.13MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/stumbleupon.png | 1.50KB | 1.44KB | ▼ 4.22% |
images/youtube.png | 1.21KB | 1.38KB | 0.00% |
images/flickr.png | 0.96KB | 1.23KB | 0.00% |
screenshot-2.png | 45.23KB | 17.86KB | ▼ 60.51% |
images/digg.png | 1.22KB | 1.35KB | 0.00% |