Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼305.59ms] Passed 4 tests
This is a short check of server-side resources used by Fancier Author Box by ThematoSoup
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.14 | 56.24 ▼0.96 |
Dashboard /wp-admin | 3.61 ▲0.20 | 40.85 ▲7.73 |
Posts /wp-admin/edit.php | 3.84 ▲0.19 | 38.35 ▼0.28 |
Add New Post /wp-admin/post-new.php | 7.08 ▲0.10 | 100.90 ▼1,220.71 |
Media Library /wp-admin/upload.php | 3.49 ▲0.19 | 27.49 ▼0.42 |
Fancier Author Box /wp-admin/options-general.php?page=fancier_author_box | 3.46 | 24.33 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 46 new files
Database: no new tables, 1 new option
New WordPress options |
---|
ts_fab_display_settings |
Browser metrics Passed 4 tests
Fancier Author Box by ThematoSoup: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,909 ▲167 | 16.57 ▲0.88 | 9.88 ▲3.38 | 2.50 ▲0.32 |
Dashboard /wp-admin | 2,897 ▲36 | 6.05 ▼0.00 | 132.00 ▼8.70 | 168.12 ▲5.69 |
Posts /wp-admin/edit.php | 2,693 ▲7 | 3.24 ▼0.01 | 63.72 ▼0.31 | 195.75 ▲17.41 |
Add New Post /wp-admin/post-new.php | 1,776 ▲115 | 21.53 ▲5.41 | 459.88 ▲50.47 | 164.46 ▼27.85 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.48 ▼0.05 | 151.56 ▲4.47 | 192.15 ▲1.13 |
Fancier Author Box /wp-admin/options-general.php?page=fancier_author_box | 1,690 | 6.18 | 176.03 | 205.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please take a closer look at the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fancier-author-box/includes/ts-fab-user-settings.php:139
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fancier-author-box/includes/ts-fab-settings.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/fancier-author-box/ts-fab.php:24
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=fancier_author_box
- > Network (severe)
https://apis.google.com/u/0/_/widget/render/follow?usegapi=1&annotation=none&height=20&rel=publisher&origin=http%3A%2F%2Fwp.com&url=http%3A%2F%2Fplus.google.com%2F104360438826479763912&gsrc=3p&ic=1&jsh=m%3B%2F_%2Fscs%2Fabc-static%2F_%2Fjs%2Fk%3Dgapi.lb.en.NnK9YPjtg-w.O%2Fd%3D1%2Frs%3DAHpOoo9KePDGVlGjp-rlXwDM1kUO2Eh4gg%2Fm%3D__features__#_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe%2C_renderstart%2Concircled%2Cdrefresh%2Cerefresh%2Conload&id=I0_1647263798348&_gfid=I0_1647263798348&parent=http%3A%2F%2Fwp.com&pfname=&rpctoken=27740787 - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: You are using too many tags: 18 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (Fancier Author Box underneath your posts), #2 (Global options page (display & color settings)), #3 (User settings page)
fancier-author-box/ts-fab.php 77% from 13 tests
This is the main PHP file of "Fancier Author Box by ThematoSoup" version 1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("fancier-author-box.php" instead of "ts-fab.php")
- Description: Keep the plugin description shorter than 140 characters (currently 207 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin2,322 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 10 | 483 | 654 | 1,207 |
PHP | 5 | 180 | 246 | 837 |
CSS | 2 | 24 | 15 | 213 |
JavaScript | 4 | 15 | 0 | 65 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 23 | |
▷ Named functions | 23 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 PNG files occupy 0.23MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 66.33KB | 22.03KB | ▼ 66.78% |
images/twitter.png | 1.79KB | 0.69KB | ▼ 61.63% |
images/youtube.png | 1.92KB | 0.97KB | ▼ 49.26% |
images/googleplus.png | 1.75KB | 0.82KB | ▼ 53.42% |
screenshot-1.png | 102.53KB | 26.27KB | ▼ 74.38% |