Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.51ms] Passed 4 tests
Server-side resources used by Wordstamp
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.33 ▼4.96 |
Dashboard /wp-admin | 3.32 ▼0.03 | 53.56 ▼13.92 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.48 ▼1.76 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.00 ▼17.38 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.71 ▲0.84 |
Wordstamp /wp-admin/options-general.php?page=blockchain-validation | 3.25 | 34.94 |
Server storage [IO: ▲1.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Wordstamp
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,973 ▲212 | 14.01 ▼0.37 | 16.65 ▲14.44 | 30.26 ▼13.29 |
Dashboard /wp-admin | 2,204 ▲24 | 5.60 ▼0.08 | 85.98 ▼12.36 | 45.27 ▲0.86 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.15 ▲0.14 | 35.25 ▼0.50 | 36.10 ▼2.14 |
Add New Post /wp-admin/post-new.php | 6,249 ▲4,704 | 22.03 ▼1.17 | 901.48 ▲198.05 | 55.56 ▼13.16 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.21 ▼0.05 | 97.04 ▼13.36 | 43.28 ▼4.81 |
Wordstamp /wp-admin/options-general.php?page=blockchain-validation | 921 | 2.05 | 24.50 | 25.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
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
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wordstamp/abouts.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wordstamp/verify_file.php:70
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wordstamp/custom_meta_box.php:47
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wordstamp/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wordstamp/kirim_content.php:2
- > PHP Fatal error
Uncaught Error: Class 'Wordstamp_List_Table' not found in wp-content/plugins/wordstamp/history.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wordstamp/blockchain-validation.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #4, #5 in wordstamp/assets to your readme.txt
wordstamp/blockchain-validation.php 85% from 13 tests
The main PHP file in "Wordstamp" ver. 1.7 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 171 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wordstamp.php" instead of "blockchain-validation.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin9,213 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 0 | 13 | 8,480 |
PHP | 9 | 165 | 55 | 522 |
JavaScript | 4 | 33 | 11 | 211 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 28.57% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/json-file.png | 0.92KB | 0.84KB | ▼ 8.40% |
images/pdf.png | 0.83KB | 0.75KB | ▼ 9.40% |