Benchmarks
Plugin footprint 65% 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: ▼1.24MB] [CPU: ▼51.00ms] Passed 4 tests
Analyzing server-side resources used by JSE Captcha
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.75 ▼0.72 | 13.32 ▼27.72 |
Dashboard /wp-admin | 2.78 ▼0.56 | 15.92 ▼54.55 |
Posts /wp-admin/edit.php | 2.78 ▼0.57 | 16.07 ▼35.31 |
Add New Post /wp-admin/post-new.php | 2.78 ▼3.10 | 16.78 ▼86.43 |
Media Library /wp-admin/upload.php | 2.78 ▼0.44 | 14.54 ▼18.77 |
JSE Captcha /wp-admin/options-general.php?page=jse-captcha-settings | 2.79 | 16.29 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
jse-captcha-contact |
db_upgraded |
jse-captcha-login |
widget_recent-comments |
jse-captcha-comments |
widget_recent-posts |
jse-captcha-register |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by JSE Captcha
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.72 ▼0.91 | 1.68 ▼0.03 | 41.43 ▼7.83 |
Dashboard /wp-admin | 2,207 ▲16 | 5.81 ▲0.00 | 101.17 ▼4.33 | 37.62 ▼7.81 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 1.99 ▼0.06 | 38.16 ▲0.37 | 37.21 ▲5.01 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 17.54 ▲0.01 | 637.33 ▼43.11 | 46.33 ▼1.24 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.18 ▼0.11 | 98.22 ▼1.02 | 43.08 ▼3.55 |
JSE Captcha /wp-admin/options-general.php?page=jse-captcha-settings | 800 | 2.03 | 23.88 | 24.84 |
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
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/jse-captcha/jse-captcha.php+116
Undefined variable: jse_captcha_register
- Zombie WordPress options were found after uninstall: 10 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- jse-captcha-login
- jse-captcha-comments
- widget_recent-comments
- jse-captcha-contact
- jse-captcha-register
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=jse-captcha-settings
- > Notice in wp-content/plugins/jse-captcha/jse-captcha.php+116
Undefined variable: jse_captcha_register
- > GET request to /wp-admin/options-general.php?page=jse-captcha-settings
- > 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== jse-captcha ===
) - Tags: You are using too many tags: 11 tag instead of maximum 10
jse-captcha/jse-captcha.php Passed 13 tests
The main PHP file in "JSE Captcha" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
93 characters long description:
This plugin makes it easy to add the JSEcoin captcha to protect your comment forms from spam.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected96 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 14 | 16 | 96 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 9 | |
▷ Named functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
jsecoin.png | 5.18KB | 3.60KB | ▼ 30.57% |