Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼285.88ms] Passed 4 tests
Analyzing server-side resources used by About Author Box
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.25 | 62.05 ▲5.21 |
Dashboard /wp-admin | 3.67 ▲0.26 | 41.20 ▲4.86 |
Posts /wp-admin/edit.php | 3.90 ▲0.25 | 40.60 ▲1.25 |
Add New Post /wp-admin/post-new.php | 7.14 ▲0.17 | 101.64 ▼1,144.73 |
Media Library /wp-admin/upload.php | 3.55 ▲0.24 | 29.15 ▼4.90 |
Author Box /wp-admin/options-general.php?page=about_author_box | 3.52 | 25.91 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for About Author Box
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,770 ▲28 | 15.89 ▼0.12 | 5.64 ▼1.23 | 2.48 ▲0.55 |
Dashboard /wp-admin | 2,897 ▲43 | 6.07 ▼0.10 | 122.05 ▼10.23 | 164.10 ▲2.48 |
Posts /wp-admin/edit.php | 2,693 ▼1 | 3.24 ▼0.01 | 62.47 ▼0.15 | 135.14 ▼7.05 |
Add New Post /wp-admin/post-new.php | 1,664 ▼26 | 16.01 ▼4.54 | 405.79 ▼39.83 | 153.42 ▼7.99 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.54 ▲0.04 | 137.58 ▼3.51 | 189.14 ▼0.74 |
Author Box /wp-admin/options-general.php?page=about_author_box | 1,201 | 2.40 | 56.74 | 120.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Please fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/about-author-box/includes/class.user-options.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/about-author-box/includes/class.display.php:19
- > PHP Fatal error
Uncaught Error: Class 'About_Author_Box_Settings_API' not found in wp-content/plugins/about-author-box/includes/class.settings.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/about-author-box/includes/class.general.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: author, author box, after content, about author, authors...
about-author-box/about-author-box.php Passed 13 tests
The main PHP file in "About Author Box" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
41 characters long description:
Display information about the post author
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
There were no executable files found in this plugin1,046 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 238 | 270 | 984 |
CSS | 1 | 18 | 0 | 62 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 12.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 2 | 5.71% |
▷ Public methods | 35 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/author-logo.png | 1.94KB | 1.96KB | 0.00% |