Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼293.00ms] 75% from 4 tests
An overview of server-side resources used by About Author
Please have a look at the following items
- CPU: The total CPU usage must kept under 500.00ms (currently 520.07ms on /wp-admin/post-new.php?post_type=about_author)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.05 | 52.48 ▼1.10 |
Dashboard /wp-admin | 3.46 ▲0.06 | 33.28 ▲0.06 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 37.67 ▼1.70 |
Add New Post /wp-admin/post-new.php | 6.94 ▼0.03 | 90.72 ▼1,169.24 |
Media Library /wp-admin/upload.php | 3.34 ▲0.05 | 25.61 ▲2.09 |
All Shortcodes /wp-admin/edit.php?post_type=about_author | 3.39 | 24.89 |
Author Settings /wp-admin/edit.php?post_type=about_author&page=author-settings | 8.14 | 457.15 |
Help and Support /wp-admin/edit.php?post_type=about_author&page=help-and-support | 3.36 | 24.94 |
Add New /wp-admin/post-new.php?post_type=about_author | 8.44 | 520.07 |
Server storage [IO: ▲4.59MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 65 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_about_me |
Browser metrics Passed 4 tests
A check of browser resources used by About Author
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,905 ▲151 | 16.55 ▲0.61 | 6.23 ▲0.47 | 2.93 ▲0.14 |
Dashboard /wp-admin | 2,998 ▲118 | 7.20 ▲0.57 | 130.24 ▼9.81 | 157.31 ▼2.50 |
Posts /wp-admin/edit.php | 2,774 ▲80 | 3.21 ▼0.22 | 66.12 ▲4.89 | 154.29 ▲10.07 |
Add New Post /wp-admin/post-new.php | 1,664 ▲3 | 18.78 ▲2.44 | 404.74 ▼22.87 | 176.24 ▲18.90 |
Media Library /wp-admin/upload.php | 1,784 ▲86 | 6.11 ▲0.37 | 121.74 ▼20.57 | 179.72 ▼7.55 |
All Shortcodes /wp-admin/edit.php?post_type=about_author | 1,474 | 3.43 | 62.66 | 128.60 |
Author Settings /wp-admin/edit.php?post_type=about_author&page=author-settings | 7,557 | 3.77 | 76.49 | 190.50 |
Help and Support /wp-admin/edit.php?post_type=about_author&page=help-and-support | 1,253 | 3.04 | 55.89 | 182.40 |
Add New /wp-admin/post-new.php?post_type=about_author | 11,914 | 5.33 | 166.34 | 346.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 1 option in the database
- widget_about_me
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 22× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/about-author/about-author.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/about-author/author-setting/about-author-use-shortcode2.php:2
- > PHP Notice
Undefined variable: post in wp-content/plugins/about-author/settings/template2.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/about-author/about-author-widget-code.php:5
- > PHP Notice
Trying to get property 'ID' of non-object in wp-content/plugins/about-author/settings/template1.php on line 2
- > PHP Notice
Undefined variable: post in wp-content/plugins/about-author/settings/general-settings.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/about-author/author-setting/shortcode-files/template1-shortcode.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/about-author/settings/template1.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/about-author/about-author-use-shortcode.php:1
- > PHP Notice
Trying to get property 'ID' of non-object in wp-content/plugins/about-author/settings/general-settings.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #10, #2, #3, #4, #5, #6, #7, #8, #9 in about-author/assets to your readme.txt
about-author/about-author.php 85% from 13 tests
"About Author" version 1.5.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 352 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin40,110 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 1,321 | 62 | 14,810 |
JavaScript | 8 | 2,089 | 2,318 | 12,454 |
SVG | 3 | 0 | 0 | 9,546 |
PHP | 14 | 159 | 115 | 2,442 |
PO File | 2 | 490 | 736 | 858 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.15MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) settings/images/hover.png | 0.81KB | 0.00KB | ▼ 100.00% |
settings/images/temp22.png | 70.45KB | 28.28KB | ▼ 59.85% |
settings/images/temp11.png | 33.48KB | 13.09KB | ▼ 60.91% |
settings/images/up.png | 6.22KB | 1.05KB | ▼ 83.16% |
settings/images/pic3.png | 23.44KB | 9.53KB | ▼ 59.35% |