Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.86MB] [CPU: ▼30.50ms] Passed 4 tests
Analyzing server-side resources used by STAMPD.IO - Blockchain Stamping
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 38.30 ▼0.37 |
Dashboard /wp-admin | 3.09 ▼0.22 | 24.88 ▼21.65 |
Posts /wp-admin/edit.php | 3.09 ▼0.27 | 23.15 ▼24.61 |
Add New Post /wp-admin/post-new.php | 3.09 ▼2.80 | 22.53 ▼61.19 |
Media Library /wp-admin/upload.php | 3.09 ▼0.14 | 21.45 ▼14.56 |
Stampd.io /wp-admin/options-general.php?page=stampd_ext_wp_plugin_options | 3.09 | 23.28 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for STAMPD.IO - Blockchain Stamping
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.26 ▼1.12 | 1.74 ▼0.04 | 37.81 ▼15.04 |
Dashboard /wp-admin | 2,211 ▲29 | 5.81 ▼0.07 | 102.08 ▼1.08 | 40.22 ▼4.08 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.01 ▲0.04 | 35.91 ▼5.21 | 33.42 ▼1.67 |
Add New Post /wp-admin/post-new.php | 6,498 ▲4,964 | 23.19 ▲0.20 | 852.23 ▲208.91 | 53.09 ▼2.83 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.22 ▲0.03 | 93.66 ▼12.02 | 40.21 ▼5.58 |
Stampd.io /wp-admin/options-general.php?page=stampd_ext_wp_plugin_options | 914 | 2.02 | 24.12 | 42.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=stampd_ext_wp_plugin_options
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
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
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/stampd-io-blockchain-stamping/stampd-ext-wordpress.php:147
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/stampd-io-blockchain-stamping/templates/post-metabox.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/stampd-io-blockchain-stamping/templates/admin-settings-page.php:29
- > 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 errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Donate link: Invalid url: ""
stampd-io-blockchain-stamping/stampd-ext-wordpress.php 85% from 13 tests
This is the main PHP file of "STAMPD.IO - Blockchain Stamping" version 1.3.0, 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:
- Main file name: Name the main plugin file the same as the plugin slug ("stampd-io-blockchain-stamping.php" instead of "stampd-ext-wordpress.php")
- Description: Keep the plugin description shorter than 140 characters (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1,140 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 150 | 207 | 689 |
Sass | 6 | 86 | 47 | 414 |
JavaScript | 2 | 6 | 12 | 26 |
CSS | 2 | 3 | 39 | 11 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 52.00 |
▷ Minimum class complexity | 52.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 33.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There are no PNG files in this plugin