Benchmarks
Plugin footprint 57% 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
- The plugin did not install without errors
- > 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: ▲0.01MB] [CPU: ▼147.70ms] 75% from 4 tests
Server-side resources used by Advanced Author Box
The following require your attention
- CPU: The total CPU usage must kept under 500.00ms (currently 2,107.09ms on /wp-admin/options-general.php?page=advanced-author-box)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.02 | 25.35 ▲3.54 |
Dashboard /wp-admin | 3.08 ▲0.02 | 30.52 ▼7.75 |
Posts /wp-admin/edit.php | 3.16 ▲0.06 | 31.61 ▲0.89 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.00 | 67.44 ▼583.24 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 22.35 ▼0.69 |
Advanced Author Box /wp-admin/options-general.php?page=advanced-author-box | 5.44 | 2,107.09 |
Server storage [IO: ▲1.28MB] [DB: ▲0.35MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 44 new files
Database: no new tables, 1 new option
New WordPress options |
---|
advanced_author_box |
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Author Box
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,671 ▲70 | 15.51 ▲0.00 | 8.69 ▲3.39 | 74.86 ▼5.15 |
Dashboard /wp-admin | 2,938 ▲42 | 6.11 ▼0.11 | 116.37 ▼19.21 | 168.19 ▼9.92 |
Posts /wp-admin/edit.php | 2,742 ▲2 | 3.24 ▲0.01 | 62.71 ▼4.07 | 139.69 ▲2.76 |
Add New Post /wp-admin/post-new.php | 3,810 ▲3 | 19.05 ▲0.22 | 424.80 ▼23.61 | 158.74 ▼1.35 |
Media Library /wp-admin/upload.php | 1,760 ▲8 | 5.53 ▼0.01 | 146.23 ▼1.29 | 185.58 ▼4.30 |
Advanced Author Box /wp-admin/options-general.php?page=advanced-author-box | 1,451 | 4.42 | 83.49 | 143.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.35MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 1 option
- advanced_author_box
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 errors were triggered by the plugin
- 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+5211
clean_url is deprecated since version 3.0.0! Use esc_url() instead.
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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > 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 | This is a shallow check for browser errors
There are user-side issues 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 important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== advanced-author-box ===
)
advanced-author-box/advanced-author-box.php Passed 13 tests
The entry point to "Advanced Author Box" version 1.5.9 is a PHP file that has certain tags in its header comment area
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 glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin8,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
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
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
All PNG images should be compressed to minimize bandwidth usage for end users
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 |
facebook.png | 0.24KB | 0.21KB | ▼ 11.16% |
google.png | 0.48KB | 0.38KB | ▼ 19.71% |
twitter.png | 1.47KB | 0.46KB | ▼ 68.92% |
linkedin.png | 0.39KB | 0.38KB | ▼ 3.03% |