Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼301.51ms] Passed 4 tests
Analyzing server-side resources used by Advanced Author Bio
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.06 | 52.45 ▲1.48 |
Dashboard /wp-admin | 3.43 ▲0.02 | 33.20 ▼4.38 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 37.67 ▼0.42 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 100.18 ▼1,200.86 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 23.49 ▼0.38 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Author Bio
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,797 ▲75 | 15.80 ▲0.10 | 6.02 ▲0.31 | 2.78 ▲0.47 |
Dashboard /wp-admin | 2,892 ▲34 | 6.08 ▼0.10 | 115.14 ▼22.53 | 154.59 ▼6.98 |
Posts /wp-admin/edit.php | 2,657 ▼37 | 3.24 ▲0.01 | 65.64 ▲2.52 | 138.38 ▼4.58 |
Add New Post /wp-admin/post-new.php | 1,661 ▼0 | 16.52 ▼6.25 | 457.00 ▲40.46 | 153.65 ▲3.25 |
Media Library /wp-admin/upload.php | 1,698 ▼3 | 5.54 ▲0.09 | 132.50 ▼2.85 | 179.40 ▼3.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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 errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_filter() in wp-content/plugins/advanced-author-bio/advanced-author-bio.php:97
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Sample Author Bio Box), #2 (Added Contact Methods)
advanced-author-bio/advanced-author-bio.php Passed 13 tests
Analyzing the main PHP file in "Advanced Author Bio" version 3.1
139 characters long description:
Adds a short author bio after every single post on your blog. Also, adds Facebook, Twitter, Google+ and LinkedIn field in author's profile.
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
There were no executable files found in this plugin101 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 6 | 9 | 87 |
CSS | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
10 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/googleplus.png | 2.44KB | 1.42KB | ▼ 42.01% |
images/twitter.png | 1.89KB | 1.28KB | ▼ 32.06% |
images/facebook.png | 1.85KB | 1.26KB | ▼ 32.01% |
images/youtube.png | 2.20KB | 1.39KB | ▼ 36.75% |
images/linkedin.png | 2.06KB | 1.39KB | ▼ 32.37% |