Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.17ms] Passed 4 tests
An overview of server-side resources used by Gosign - Header Image Block
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.63 ▼2.91 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.53 ▼9.00 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.95 ▼2.47 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 93.87 ▼14.28 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.51 ▲5.46 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Gosign - Header Image Block
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,941 ▲184 | 14.16 ▼0.02 | 16.30 ▲13.72 | 41.36 ▼5.07 |
Dashboard /wp-admin | 2,209 ▲18 | 4.89 ▲0.01 | 95.38 ▼8.62 | 39.91 ▼7.44 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.04 ▲0.05 | 39.79 ▼2.72 | 34.88 ▼3.65 |
Add New Post /wp-admin/post-new.php | 6,639 ▲5,115 | 24.10 ▲0.59 | 983.13 ▲341.35 | 40.50 ▼9.37 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.19 ▼0.11 | 96.21 ▼0.74 | 44.33 ▼1.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
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
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Requires php: Version format is invalid
- Screenshots: These screenshots need descriptions #1, #2, #3 in gosign-header-image-block/assets to your readme.txt
gosign-header-image-block/plugin.php 92% from 13 tests
The primary PHP file in "Gosign - Header Image Block" version 2.2.3 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("gosign-header-image-block.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin8,104 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 6,947 |
JavaScript | 6 | 43 | 63 | 726 |
Sass | 3 | 10 | 1 | 304 |
Markdown | 1 | 36 | 0 | 80 |
PHP | 2 | 10 | 52 | 43 |
CSS | 2 | 0 | 0 | 4 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 2 | |
▷ Named functions | 2 | 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
PNG images were not found in this plugin