Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▼8.13ms] 50% from 4 tests
An overview of server-side resources used by About Author
Please have a look at the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 667.50ms on /wp-admin/post-new.php?post_type=about_author)
- RAM: Total memory usage should be kept under 10MB (currently 10.07MB on /wp-admin/post-new.php?post_type=about_author)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 35.54 ▼8.26 |
Dashboard /wp-admin | 3.49 ▲0.15 | 47.22 ▼14.04 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 47.69 ▲4.30 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 84.70 ▼14.53 |
Media Library /wp-admin/upload.php | 3.41 ▲0.19 | 37.61 ▲5.91 |
All Shortcodes /wp-admin/edit.php?post_type=about_author | 3.46 | 37.04 |
Author Settings /wp-admin/edit.php?post_type=about_author&page=author-settings | 9.98 | 632.43 |
Add New /wp-admin/post-new.php?post_type=about_author | 10.07 | 667.50 |
Help and Support /wp-admin/edit.php?post_type=about_author&page=help-and-support | 3.39 | 34.10 |
Server storage [IO: ▲4.56MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 65 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_about_me |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for About Author
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲104 | 14.69 ▲0.46 | 1.67 ▲0.03 | 38.10 ▼8.05 |
Dashboard /wp-admin | 2,256 ▲85 | 5.78 ▲0.17 | 94.25 ▼7.94 | 38.96 ▼3.95 |
Posts /wp-admin/edit.php | 2,166 ▲63 | 2.26 ▲0.31 | 41.24 ▲1.32 | 35.66 ▼3.68 |
Add New Post /wp-admin/post-new.php | 1,760 ▲226 | 23.46 ▲5.14 | 731.99 ▲110.75 | 47.41 ▼17.89 |
Media Library /wp-admin/upload.php | 1,461 ▲58 | 4.42 ▲0.27 | 97.85 ▼2.79 | 40.14 ▼3.64 |
All Shortcodes /wp-admin/edit.php?post_type=about_author | 1,140 | 2.23 | 35.63 | 28.51 |
Author Settings /wp-admin/edit.php?post_type=about_author&page=author-settings | 7,835 | 2.64 | 50.91 | 56.45 |
Add New /wp-admin/post-new.php?post_type=about_author | 11,432 | 4.81 | 143.94 | 150.31 |
Help and Support /wp-admin/edit.php?post_type=about_author&page=help-and-support | 918 | 1.95 | 27.48 | 41.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_about_me
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
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
Even though everything seems fine, this is not 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 fix the following
- 22× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/about-author/author-setting/shortcode-files/template2-shortcode.php:2
- > 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 Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/about-author/shortcode-files/template2-shortcode.php:2
- > 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
Undefined variable: post in wp-content/plugins/about-author/settings/template-settings.php on line 2
- > PHP Notice
Undefined variable: post in wp-content/plugins/about-author/settings/general-settings.php on line 2
- > PHP Notice
Trying to get property 'ID' of non-object in wp-content/plugins/about-author/settings/template2.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 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 Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% 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:
- Screenshots: Please add descriptions for these 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.6.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 352 characters long)
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin40,110 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 1,326 | 64 | 14,839 |
JavaScript | 8 | 2,093 | 2,231 | 12,463 |
SVG | 3 | 0 | 0 | 9,546 |
PHP | 14 | 153 | 115 | 2,404 |
PO File | 2 | 490 | 736 | 858 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 |
settings/images/up.png | 6.22KB | 1.05KB | ▼ 83.16% |
(invalid) settings/images/hover.png | 0.81KB | 0.00KB | ▼ 100.00% |
settings/images/pic2.png | 22.37KB | 9.14KB | ▼ 59.15% |
settings/images/pic3.png | 23.44KB | 9.53KB | ▼ 59.35% |
settings/images/temp22.png | 70.45KB | 28.28KB | ▼ 59.85% |