Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.24MB] [CPU: ▼3.07ms] Passed 4 tests
A check of server-side resources used by About Author Box
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 36.56 ▼3.05 |
Dashboard /wp-admin | 3.56 ▲0.26 | 46.23 ▼4.94 |
Posts /wp-admin/edit.php | 3.67 ▲0.32 | 50.34 ▲5.57 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 80.59 ▼9.85 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 40.15 ▲6.10 |
Author Box /wp-admin/options-general.php?page=about_author_box | 3.45 | 33.72 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for About Author Box
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.34 ▼1.05 | 1.70 ▼0.17 | 40.16 ▼4.02 |
Dashboard /wp-admin | 2,213 ▲31 | 4.87 ▼0.07 | 100.85 ▼1.14 | 37.15 ▼1.05 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.04 ▲0.06 | 38.51 ▲4.43 | 34.35 ▲3.62 |
Add New Post /wp-admin/post-new.php | 1,517 ▼19 | 17.50 ▼5.82 | 673.62 ▲57.66 | 57.35 ▲10.46 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.26 ▼0.03 | 94.48 ▼1.11 | 41.86 ▼2.26 |
Author Box /wp-admin/options-general.php?page=about_author_box | 932 | 2.01 | 23.49 | 25.83 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > 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: 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_action() in wp-content/plugins/about-author-box/includes/class.general.php:20
- > 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
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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: after content, author box, about author, author, authors...
about-author-box/about-author-box.php Passed 13 tests
This is the main PHP file of "About Author Box" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
41 characters long description:
Display information about the post author
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
Everything looks great! No dangerous files found in this plugin1,065 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 238 | 270 | 1,003 |
CSS | 1 | 18 | 0 | 62 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
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% |