Benchmarks
Plugin footprint 65% from 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.10MB] [CPU: ▼2.83ms] Passed 4 tests
This is a short check of server-side resources used by Author Box by Nocksoft
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 39.72 ▼1.71 |
Dashboard /wp-admin | 3.42 ▲0.12 | 51.36 ▼0.54 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 57.87 ▲4.15 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 89.06 ▼13.23 |
Media Library /wp-admin/upload.php | 3.35 ▲0.11 | 42.74 ▲7.73 |
Author Box /wp-admin/options-general.php?page=nstab | 3.31 | 35.84 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
These are issues you should consider
- Illegal file modification detected: 1 file (4.00KB) outside of "wp-content/plugins/author-box-by-nocksoft/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 14 new files
Database: no new tables, 22 new options
New WordPress options |
---|
nstab_setting_fontsizeheadline |
nstab_setting_circleavatar |
nstab_setting_headline |
widget_theysaidso_widget |
nstab_setting_hidewordpressauthorbox |
theysaidso_admin_options |
nstab_setting_displayauthorboxonpages |
widget_recent-comments |
nstab_setting_fontsizeposition |
nstab_setting_showshadow |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Author Box by Nocksoft
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,865 ▲104 | 13.33 ▼0.98 | 1.73 ▼0.20 | 41.83 ▼6.15 |
Dashboard /wp-admin | 2,241 ▲38 | 4.98 ▼0.91 | 103.69 ▼12.80 | 38.58 ▼8.33 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 2.31 ▲0.25 | 36.00 ▼2.02 | 31.72 ▼3.26 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 23.31 ▲5.71 | 722.06 ▲29.51 | 38.20 ▼16.33 |
Media Library /wp-admin/upload.php | 1,426 ▲29 | 4.48 ▲0.29 | 109.41 ▲4.27 | 50.02 ▲3.75 |
Author Box /wp-admin/options-general.php?page=nstab | 884 | 1.94 | 27.67 | 25.67 |
Uninstaller [IO: ▲0.06MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attentionZombie WordPress options detected upon uninstall: 22 options
- Incomplete uninstall procedure, leaving 14 files (0.06MB) in the plugin directory
- (new file) languages/author-box-by-nocksoft-de_DE.po
- (new file) css/hidewordpressauthorbox.css
- (new file) LICENSE
- (new file) php/settings-global.php
- (new file) js/colorpicker.js
- (new file) css/style.css
- (new file) php/settings-defaults.php
- (new file) languages/author-box-by-nocksoft-de_DE.mo
- (new file) php/authorbox.php
- (new file) author-box-by-nocksoft.php
- ...
- nstab_setting_circleavatar
- nstab_setting_displayauthorboxonposts
- widget_recent-posts
- nstab_setting_font
- nstab_setting_showborder
- nstab_setting_displayauthorsarchive
- nstab_setting_fontsizebio
- nstab_setting_displayauthorboxonpages
- nstab_setting_hidewordpressauthorbox
- nstab_setting_bordersize
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/author-box-by-nocksoft/php/settings-user.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/author-box-by-nocksoft/php/authorbox.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/author-box-by-nocksoft/php/settings-global.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/author-box-by-nocksoft/php/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/author-box-by-nocksoft/author-box-by-nocksoft.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/author-box-by-nocksoft/php/settings-defaults.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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 is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: author box, author bio, about me, author profile, author description...
author-box-by-nocksoft/author-box-by-nocksoft.php Passed 13 tests
The main file in "Author Box by Nocksoft" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
117 characters long description:
Adds a modern customizable author info box at the end of your posts and pages with some information about the author.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin563 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 79 | 30 | 420 |
PO File | 1 | 47 | 48 | 96 |
CSS | 2 | 10 | 0 | 44 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin