Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin cannot be installed
- > Warning in wp-content/plugins/about-the-author-advanced/about-the-author-advanced.php+54
Use of undefined constant ataa_version_key - assumed 'ataa_version_key' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.91MB] [CPU: ▼57.99ms] Passed 4 tests
This is a short check of server-side resources used by About the Author Advanced
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.39 | 4.27 ▼45.29 |
Dashboard /wp-admin | 2.10 ▼1.21 | 6.82 ▼44.22 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 6.66 ▼47.39 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 7.52 ▼95.05 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 5.15 ▼32.59 |
About the Author Advanced /wp-admin/options-general.php?page=ataa-settings | 2.10 | 6.24 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
ataa_version_key |
ataa_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_author_contact_info |
Browser metrics Passed 4 tests
Checking browser requirements for About the Author Advanced
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲39 | 13.66 ▼0.64 | 4.87 ▲2.63 | 40.40 ▼8.87 |
Dashboard /wp-admin | 2,212 ▲24 | 5.91 ▲0.05 | 104.57 ▼14.04 | 39.67 ▼2.44 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.05 ▲0.03 | 39.41 ▲4.97 | 34.93 ▼0.20 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.09 ▲5.59 | 661.84 ▼13.68 | 58.84 ▲9.50 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▼0.05 | 99.68 ▼30.98 | 45.73 ▼12.77 |
About the Author Advanced /wp-admin/options-general.php?page=ataa-settings | 1,261 | 2.03 | 24.13 | 29.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/about-the-author-advanced/about-the-author-advanced.php+54
Use of undefined constant ataa_version_key - assumed 'ataa_version_key' (this will throw an Error in a future version of PHP)
- The uninstall procedure has failed, leaving 8 options in the database
- ataa_version_key
- widget_recent-posts
- widget_author_contact_info
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > Warning in wp-content/plugins/about-the-author-advanced/about-the-author-advanced.php+54
Use of undefined constant ataa_version_key - assumed 'ataa_version_key' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > Deprecated in wp-content/plugins/about-the-author-advanced/classes/edit-options.php+234
Function create_function() is deprecated
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in Ataa_Widget is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > Notice in wp-content/plugins/about-the-author-advanced/classes/edit-options.php+70
Undefined index: show_phone
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > Notice in wp-content/plugins/about-the-author-advanced/classes/edit-options.php+72
Undefined index: show_web
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > Notice in wp-content/plugins/about-the-author-advanced/classes/edit-options.php+75
Undefined index: show_bio
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > Notice in wp-content/plugins/about-the-author-advanced/classes/edit-options.php+76
Undefined index: show_company
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > Notice in wp-content/plugins/about-the-author-advanced/classes/edit-options.php+77
Undefined index: show_title
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > Notice in wp-content/plugins/about-the-author-advanced/classes/edit-options.php+82
Undefined index: show_linkedin
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > Notice in wp-content/plugins/about-the-author-advanced/classes/edit-options.php+126
Undefined index: social_link
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > Notice in wp-content/plugins/about-the-author-advanced/classes/edit-options.php+186
Undefined index: phone
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > Notice in wp-content/plugins/about-the-author-advanced/classes/edit-options.php+187
Undefined index: company
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > Notice in wp-content/plugins/about-the-author-advanced/classes/edit-options.php+188
Undefined index: title
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > Notice in wp-content/plugins/about-the-author-advanced/classes/edit-options.php+191
Undefined index: aim
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > Notice in wp-content/plugins/about-the-author-advanced/classes/edit-options.php+192
Undefined index: gchat
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > Notice in wp-content/plugins/about-the-author-advanced/classes/edit-options.php+193
Undefined index: yim
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > Notice in wp-content/plugins/about-the-author-advanced/classes/edit-options.php+198
Undefined index: linkedin
- > GET request to /wp-admin/options-general.php?page=ataa-settings
- > Notice in wp-content/plugins/about-the-author-advanced/classes/edit-options.php+199
Undefined index: gplus
SRP 50% 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
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template() in wp-content/plugins/about-the-author-advanced/about-the-author-advanced.php:38
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/about-the-author-advanced/about-the-author-advanced.php on line 38
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/about-the-author-advanced/classes/edit-options.php:234
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/about-the-author-advanced/classes/ataa-widget.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Contributors: The plugin contributors field is not present
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Widget with all fields displayed), #2 (Widget with gravatar, bio and email displayed), #3 (Widget with only contact information displayed), #4 (Sidebar widget settings), #5 (Complete plugin settings)
about-the-author-advanced/about-the-author-advanced.php Passed 13 tests
Analyzing the main PHP file in "About the Author Advanced" version 0.2.3
116 characters long description:
This plugin creates a sidebar widget which displays the post/page author's information in a highly configurable way.
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
There were no executable files found in this plugin427 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 119 | 38 | 412 |
CSS | 1 | 7 | 0 | 15 |
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.46 |
Average class complexity | 38.50 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 10.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
20 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icons/32/tumblr.png | 3.75KB | 1.27KB | ▼ 66.07% |
images/icons/48/linkedin.png | 4.24KB | 1.68KB | ▼ 60.42% |
images/icons/48/gplus.png | 4.04KB | 2.14KB | ▼ 47.13% |
images/icons/64/gplus.png | 3.14KB | 2.25KB | ▼ 28.32% |
images/icons/16/linkedin.png | 3.24KB | 0.72KB | ▼ 77.78% |