Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.34MB] [CPU: ▼134.59ms] Passed 4 tests
A check of server-side resources used by Simple Author Bio
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.14 ▲0.42 | 35.17 ▲12.72 |
Dashboard /wp-admin | 3.43 ▲0.38 | 58.70 ▲12.91 |
Posts /wp-admin/edit.php | 3.48 ▲0.37 | 43.99 ▲2.42 |
Add New Post /wp-admin/post-new.php | 5.73 ▲0.29 | 95.34 ▼555.27 |
Media Library /wp-admin/upload.php | 3.31 ▲0.31 | 33.11 ▲1.76 |
Author Bio /wp-admin/options-general.php?page=dcms_sab_options | 3.28 | 30.21 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 1 new option
New WordPress options |
---|
dcms_sab_bd_options |
Browser metrics Passed 4 tests
Simple Author Bio: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,714 ▲118 | 15.93 ▲0.43 | 12.93 ▲4.00 | 47.06 ▲0.44 |
Dashboard /wp-admin | 2,978 ▲44 | 5.91 ▼0.06 | 145.30 ▼19.49 | 103.17 ▼14.28 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▼0.00 | 67.11 ▲0.08 | 93.29 ▲2.29 |
Add New Post /wp-admin/post-new.php | 1,618 ▼65 | 20.95 ▲4.68 | 320.12 ▼192.50 | 107.23 ▼1.24 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.05 ▲0.02 | 154.22 ▼3.95 | 121.26 ▲6.27 |
Author Bio /wp-admin/options-general.php?page=dcms_sab_options | 1,111 | 2.09 | 61.23 | 83.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: bio, social author, author bio, author, biography...
simple-author-bio/dcms-simple-author-bio.php 92% from 13 tests
The principal PHP file in "Simple Author Bio" v. 1.0.7 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("simple-author-bio.php" instead of "dcms-simple-author-bio.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,943 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 495 | 920 | 1,792 |
CSS | 1 | 22 | 0 | 93 |
PO File | 1 | 22 | 26 | 58 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 74.40 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 223.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.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 | 100 | |
▷ Static methods | 1 | 1.00% |
▷ Public methods | 84 | 84.00% |
▷ Protected methods | 15 | 15.00% |
▷ Private methods | 1 | 1.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 26 | |
▷ Global constants | 26 | 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
PNG images were not found in this plugin