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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▲0.48ms] Passed 4 tests
Analyzing server-side resources used by SolPress Solana Login
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.69 ▼2.86 |
Dashboard /wp-admin | 3.37 ▲0.07 | 50.94 ▼0.35 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 49.14 ▲0.10 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 93.67 ▲7.99 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.39 ▲5.02 |
Server storage [IO: ▲9.39MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 84 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
swl-auth-key |
db_upgraded |
Browser metrics Passed 4 tests
SolPress Solana Login: 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,993 ▲258 | 19.78 ▲5.56 | 19.01 ▲16.88 | 33.67 ▼13.16 |
Dashboard /wp-admin | 2,233 ▲45 | 7.24 ▲1.36 | 116.75 ▲2.89 | 39.87 ▼6.10 |
Posts /wp-admin/edit.php | 2,113 ▲21 | 4.44 ▲2.47 | 48.54 ▲6.88 | 31.76 ▼4.90 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 25.51 ▲2.49 | 686.81 ▲7.72 | 34.89 ▼28.69 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 6.30 ▲2.10 | 114.16 ▲10.58 | 42.94 ▼0.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- swl-auth-key
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/solpress-login/public/partials/solpress-wordpress-login-plugin-public-display.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/solpress-login/admin/partials/solpress-wordpress-login-plugin-admin-display-user-meta-fields.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/solpress-login/admin/partials/solpress-wordpress-login-plugin-admin-display.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/solpress-login/public/partials/solpress-wordpress-login-plugin-public-login-button.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: payment gateway, phantom, woocommerce, solana, payment...
solpress-login/solpress-wordpress-login-plugin.php 77% from 13 tests
The main PHP script in "SolPress Solana Login" version 1.0 is automatically included on every request by WordPress
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 209 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("solpress-login.php" instead of "solpress-wordpress-login-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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin1,623 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 361 | 949 | 949 |
TypeScript | 5 | 39 | 28 | 306 |
JSON | 4 | 0 | 0 | 137 |
JavaScript | 16 | 13 | 75 | 110 |
CSS | 8 | 7 | 11 | 61 |
Markdown | 1 | 32 | 0 | 38 |
HTML | 2 | 3 | 20 | 22 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 9.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 2 | 3.45% |
▷ Public methods | 53 | 91.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 8.62% |
Functions | 7 | |
▷ Named functions | 3 | 42.86% |
▷ Anonymous functions | 4 | 57.14% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
4 compressed PNG files occupy 0.03MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/front/build/logo512.png | 9.44KB | 10.35KB | 0.00% |
public/front/public/logo512.png | 9.44KB | 10.35KB | 0.00% |
public/front/public/logo192.png | 5.22KB | 5.57KB | 0.00% |
public/front/build/logo192.png | 5.22KB | 5.57KB | 0.00% |