Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.31MB] [CPU: ▼16.62ms] Passed 4 tests
A check of server-side resources used by Syno Author Bio
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.01 | 36.77 ▼6.12 |
Dashboard /wp-admin | 3.33 ▲0.02 | 50.24 ▼0.10 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.11 ▼6.24 |
Add New Post /wp-admin/post-new.php | 4.62 ▼1.27 | 39.51 ▼54.00 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.51 ▲0.89 |
Server storage [IO: ▲2.74MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Syno Author Bio
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.23 ▼1.36 | 1.81 ▼0.13 | 41.45 ▼6.27 |
Dashboard /wp-admin | 2,203 ▲15 | 4.85 ▼0.04 | 96.99 ▼27.67 | 40.86 ▼3.59 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▲0.01 | 33.63 ▼3.57 | 35.07 ▼3.10 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.25 ▲4.86 | 609.28 ▼144.62 | 60.48 ▼11.70 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.20 ▼0.02 | 96.85 ▼2.53 | 45.00 ▲0.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/syno-author-bio/inc/load.php
- > /wp-content/plugins/syno-author-bio/syno_author_bio.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/syno-author-bio/inc/admin/author_profile.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/syno-author-bio/inc/front/show_author_profile.php:90
- > 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)
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Stable tag: Not defined
- Donate link: Invalid url: ""
syno-author-bio/syno_author_bio.php 77% from 13 tests
The main PHP file in "Syno Author Bio" ver. 0.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("syno-author-bio.php" instead of "syno_author_bio.php")
- Requires at least: Required version number formatted incorrectly (ex. "7.0" instead of "5")
- Requires PHP: Required version number formatted incorrectly (ex. "7.0" instead of "7")
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 plugin9,291 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 9,061 |
PHP | 4 | 26 | 41 | 125 |
CSS | 2 | 21 | 4 | 105 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin