Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.00ms] Passed 4 tests
This is a short check of server-side resources used by Advanced Author Bio
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.05 ▼3.60 |
Dashboard /wp-admin | 3.33 ▲0.02 | 43.95 ▼3.03 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 42.87 ▼3.00 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.51 ▼13.60 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.36 ▼3.77 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Advanced Author Bio
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲30 | 14.48 ▲0.08 | 1.71 ▼0.34 | 45.13 ▲0.35 |
Dashboard /wp-admin | 2,203 ▲21 | 5.80 ▼0.02 | 98.30 ▼3.96 | 37.31 ▼4.87 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▼0.02 | 33.96 ▼4.20 | 33.48 ▼1.25 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.29 ▲0.01 | 659.94 ▼15.32 | 62.70 ▲5.00 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▲0.02 | 106.41 ▲7.21 | 46.73 ▼0.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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 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: Add images for these screenshots: #1 (Sample Author Bio Box), #2 (Added Contact Methods)
advanced-author-bio/advanced-author-bio.php Passed 13 tests
"Advanced Author Bio" version 3.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
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 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous 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
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
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/facebook.png | 1.85KB | 1.26KB | ▼ 32.01% |
images/youtube.png | 2.20KB | 1.39KB | ▼ 36.75% |
images/googleplus.png | 2.44KB | 1.42KB | ▼ 42.01% |
images/default.png | 1.55KB | 1.06KB | ▼ 32.04% |
images/stumbleupon.png | 2.13KB | 1.44KB | ▼ 32.72% |