Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.92ms] Passed 4 tests
A check of server-side resources used by Web3 Wallet Login
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.11 ▼1.84 |
Dashboard /wp-admin | 3.40 ▲0.10 | 46.42 ▲1.87 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 47.38 ▼0.46 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 94.39 ▼5.75 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.23 ▲0.37 |
Web3 Wallet Login /wp-admin/options-general.php?page=web3-wallet-login | 3.29 | 33.04 |
Server storage [IO: ▲4.43MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 102 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_web3login_log |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
web3login_db_version |
Browser metrics Passed 4 tests
A check of browser resources used by Web3 Wallet Login
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.29 ▼1.01 | 4.42 ▲1.64 | 40.52 ▼11.01 |
Dashboard /wp-admin | 2,213 ▲22 | 4.85 ▼1.03 | 109.13 ▲7.50 | 42.09 ▼1.93 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.02 | 40.08 ▲2.79 | 35.69 ▲0.88 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.73 ▼5.34 | 648.86 ▲4.52 | 53.63 ▲2.69 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.04 | 101.52 ▼8.84 | 43.89 ▼1.38 |
Web3 Wallet Login /wp-admin/options-general.php?page=web3-wallet-login | 785 | 2.03 | 25.99 | 30.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_web3login_log
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- web3login_db_version
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 32× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/web3-wallet-login/vendor/simplito/elliptic-php/tests/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/web3-wallet-login/vendor/simplito/elliptic-php/tests/HmacDRBGTest.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/web3-wallet-login/vendor/simplito/elliptic-php/tests/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/web3-wallet-login/vendor/simplito/elliptic-php/tests/ApiTest.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/web3-wallet-login/vendor/simplito/elliptic-php/tests/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/web3-wallet-login/vendor/simplito/elliptic-php/tests/ED25519Test.php on line 2
- > PHP Warning
require(wp-content/plugins/web3-wallet-login/vendor/simplito/elliptic-php/benchmarks/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/web3-wallet-login/vendor/simplito/elliptic-php/benchmarks/EllipticBench.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Elliptic\\Curve\\BaseCurve' not found in wp-content/plugins/web3-wallet-login/vendor/simplito/elliptic-php/lib/Curve/ShortCurve.php:10
- > PHP Fatal error
Uncaught Error: Class 'BI\\BigInteger' not found in wp-content/plugins/web3-wallet-login/vendor/simplito/bigint-wrapper-php/test/test.php:24
- > PHP Warning
require_once(wp-content/plugins/web3-wallet-login/vendor/simplito/elliptic-php/tests/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/web3-wallet-login/vendor/simplito/elliptic-php/tests/CurveTest.php on line 2
- > PHP Fatal error
Uncaught Exception: Extension bcmath not loaded in wp-content/plugins/web3-wallet-login/vendor/simplito/bigint-wrapper-php/lib/BigInteger.php:236
- > PHP Warning
require_once(wp-content/plugins/web3-wallet-login/vendor/simplito/elliptic-php/tests/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/web3-wallet-login/vendor/simplito/elliptic-php/tests/ECDHTest.php on line 2
- > PHP Warning
require_once(wp-content/plugins/web3-wallet-login/vendor/simplito/elliptic-php/tests/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/web3-wallet-login/vendor/simplito/elliptic-php/tests/HmacDRBGTest.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: polygon, login, wordpress, ethereum, wallet...
web3-wallet-login/web3-wallet-login.php Passed 13 tests
"Web3 Wallet Login" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
51 characters long description:
Allow users to login via their web3 wallet address.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected12,880 lines of code in 83 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 57 | 1,562 | 1,020 | 10,854 |
JSON | 9 | 0 | 0 | 792 |
JavaScript | 3 | 126 | 57 | 614 |
Markdown | 7 | 179 | 0 | 469 |
YAML | 3 | 13 | 0 | 61 |
XML | 2 | 4 | 0 | 50 |
CSS | 1 | 1 | 0 | 30 |
make | 1 | 3 | 0 | 10 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 25.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 166.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 39 | |
▷ Abstract classes | 2 | 5.13% |
▷ Concrete classes | 37 | 94.87% |
▷ Final classes | 2 | 5.41% |
Methods | 582 | |
▷ Static methods | 118 | 20.27% |
▷ Public methods | 540 | 92.78% |
▷ Protected methods | 7 | 1.20% |
▷ Private methods | 35 | 6.01% |
Functions | 107 | |
▷ Named functions | 90 | 84.11% |
▷ Anonymous functions | 17 | 15.89% |
Constants | 25 | |
▷ Global constants | 15 | 60.00% |
▷ Class constants | 10 | 40.00% |
▷ Public constants | 4 | 40.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin