Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/advanced-author-box/WDPanelAdmin.php+9
Methods with the same name as their class will not be constructors in a future version of PHP; WDPanelAdmin has a deprecated constructor
Server metrics [RAM: ▼1.83MB] [CPU: ▼54.55ms] Passed 4 tests
Server-side resources used by Advanced Author Box
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.30 | 5.33 ▼34.17 |
Dashboard /wp-admin | 2.18 ▼1.13 | 6.25 ▼43.77 |
Posts /wp-admin/edit.php | 2.18 ▼1.18 | 6.82 ▼43.77 |
Add New Post /wp-admin/post-new.php | 2.18 ▼3.71 | 8.61 ▼96.48 |
Media Library /wp-admin/upload.php | 2.18 ▼1.05 | 6.74 ▼26.57 |
Advanced Author Box /wp-admin/options-general.php?page=advanced-author-box | 2.18 | 6.29 |
Server storage [IO: ▲1.28MB] [DB: ▲0.38MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 44 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
advanced_author_box |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Author Box
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.23 ▼1.12 | 1.76 ▼0.08 | 46.97 ▲7.86 |
Dashboard /wp-admin | 2,213 ▲22 | 5.88 ▲0.98 | 99.85 ▼11.06 | 40.46 ▼1.89 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.01 ▲0.03 | 34.41 ▼6.55 | 34.65 ▼0.43 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.37 ▲0.74 | 617.84 ▲14.83 | 67.30 ▲22.87 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.23 ▲0.04 | 95.03 ▼0.79 | 40.81 ▼2.18 |
Advanced Author Box /wp-admin/options-general.php?page=advanced-author-box | 1,071 | 4.95 | 50.94 | 64.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.38MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/advanced-author-box/WDPanelAdmin.php+9
Methods with the same name as their class will not be constructors in a future version of PHP; WDPanelAdmin has a deprecated constructor
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- advanced_author_box
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=advanced-author-box
- > Deprecated in wp-content/plugins/advanced-author-box/WDPanelAdmin.php+9
Methods with the same name as their class will not be constructors in a future version of PHP; WDPanelAdmin has a deprecated constructor
- 10 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=advanced-author-box
- > User deprecated in wp-includes/functions.php+5453
Function clean_url is deprecated since version 3.0.0! Use esc_url() instead.
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/advanced-author-box/advanced-author-box.php:29
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=advanced-author-box
- > Network (severe)
https://yoast.com/theme/yoast-16x16.png - Failed to load resource: the server responded with a status of 404 ()
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
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== advanced-author-box ===
)
advanced-author-box/advanced-author-box.php Passed 13 tests
The primary PHP file in "Advanced Author Box" version 1.5.9 is used by WordPress to initiate all plugin functionality
137 characters long description:
This is a plugin that adds an author box to the end of your WordPress posts - a fork of Guerrilla's autherbox plugin but with amp support
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected8,958 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
CSS | 3 | 5 | 13 | 2,348 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP | 2 | 75 | 61 | 413 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
linkedin.png | 0.39KB | 0.38KB | ▼ 3.03% |
facebook.png | 0.24KB | 0.21KB | ▼ 11.16% |
twitter.png | 1.47KB | 0.46KB | ▼ 68.92% |
google.png | 0.48KB | 0.38KB | ▼ 19.71% |