Benchmarks
Plugin footprint 83% 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.02MB] [CPU: ▼6.80ms] Passed 4 tests
This is a short check of server-side resources used by Keybase.io Verification
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.64 ▼3.05 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.02 ▼5.44 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.74 ▲2.90 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.59 ▼20.00 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.31 ▲1.31 |
Keybase.txt /wp-admin/options-general.php?page=wp-keybase-verification | 3.23 | 30.98 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
keybaseverif_text |
Browser metrics Passed 4 tests
Keybase.io Verification: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.23 ▼1.32 | 4.52 ▲2.71 | 39.48 ▼8.88 |
Dashboard /wp-admin | 2,210 ▲19 | 4.87 ▼0.05 | 108.43 ▲6.43 | 39.99 ▼4.63 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.02 ▲0.02 | 38.65 ▲0.35 | 33.48 ▼1.95 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.25 ▲5.70 | 630.51 ▼2.37 | 55.73 ▲4.53 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▲0.01 | 92.88 ▼28.62 | 41.08 ▼10.81 |
Keybase.txt /wp-admin/options-general.php?page=wp-keybase-verification | 818 | 2.19 | 29.31 | 23.46 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- db_upgraded
- keybaseverif_text
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-keybase-verification/plugin.php:23
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=wp-keybase-verification
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: a.live is not a function" "TypeError: a.live is not a function\n at HTMLTextAreaElement.\u003Canonymous> (/wp-content/plugins/wp-keybase-verification/thirdparty/jquery.elastic.js?ver=1.4.5:1:1222)\n at Function.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:3129)\n at e.\u003Ccomputed>.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:1594)\n at e.\u003Ccomputed>.elastic (/wp-content/plugins/wp-keybase-verification/thirdparty/jquery.elastic.js?ver=1.4.5:1:182)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/wp-keybase-verification/admin/functions.js?ver=1.4.5:7:38)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=wp-keybase-verification
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: a.live is not a function
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (The keybase.txt text editor) image required
wp-keybase-verification/plugin.php 77% from 13 tests
The entry point to "Keybase.io Verification" version 1.4.5 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-keybase-verification.php" instead of "plugin.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Domain Path: The domain path is invalid: folder "/lang" does not exist
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
Everything looks great! No dangerous files found in this plugin375 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 39 | 62 | 178 |
PHP | 3 | 34 | 60 | 150 |
CSS | 1 | 1 | 2 | 47 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 21.15KB | 5.03KB | ▼ 76.20% |