Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.48MB] [CPU: ▲9.03ms] 75% from 4 tests
An overview of server-side resources used by GS Custom Login
The following require your attention
- CPU: Total CPU usage must kept under 500.00ms (currently 1,003.98ms on /wp-admin/admin.php?page=gsp-main)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.47 | 43.90 ▲1.38 |
Dashboard /wp-admin | 3.83 ▲0.53 | 70.76 ▲21.80 |
Posts /wp-admin/edit.php | 3.88 ▲0.53 | 62.41 ▲14.32 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.46 | 107.34 ▲13.76 |
Media Library /wp-admin/upload.php | 3.69 ▲0.46 | 42.12 ▲6.66 |
GS Plugins FREE /wp-admin/admin.php?page=gs-plugins-free | 3.79 | 514.16 |
GS Plugins /wp-admin/admin.php?page=gsp-main | 3.87 | 1,003.98 |
GS Login Customizer /wp-admin/admin.php?page=gsp-customizar | 3.66 | 35.65 |
Server storage [IO: ▲4.00MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 48 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GS Custom Login
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,874 ▲139 | 14.47 ▲0.11 | 2.00 ▲0.10 | 45.86 ▼4.87 |
Dashboard /wp-admin | 2,260 ▲72 | 5.84 ▲0.97 | 121.53 ▲13.17 | 53.26 ▲13.25 |
Posts /wp-admin/edit.php | 2,147 ▲58 | 2.00 ▲0.01 | 41.78 ▲5.45 | 34.29 ▲1.82 |
Add New Post /wp-admin/post-new.php | 1,563 ▲29 | 23.28 ▲0.06 | 607.36 ▼2.59 | 46.25 ▼5.41 |
Media Library /wp-admin/upload.php | 1,442 ▲51 | 4.24 ▲0.03 | 98.67 ▼3.62 | 42.96 ▼0.87 |
GS Plugins FREE /wp-admin/admin.php?page=gs-plugins-free | 2,723 | 2.02 | 30.59 | 39.74 |
GS Plugins /wp-admin/admin.php?page=gsp-main | 2,034 | 2.01 | 24.88 | 50.65 |
GS Login Customizer /wp-admin/admin.php?page=gsp-customizar | 9,093 | 32.15 | 835.40 | 171.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/gs-custom-login/gscusl_assets/inc/css/gs_cusl_pro_theme.php
- 3× 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/gs-custom-login/gscusl_assets/gs-plugins/gs-plugins-free.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gs-custom-login/gscusl_assets/gs-plugins/gs-plugins.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/gs-custom-login/gscusl_custom_login.php:22
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=gsp-customizar
- > Javascript (severe) in unknown
/wp-content/plugins/gs-custom-login/gscusl_assets/inc/js/customizer.js?ver=6.3.1 79:33 Uncaught TypeError: Cannot read properties of undefined (reading 'focus')
- > GET request to /wp-admin/admin.php?page=gsp-customizar
- > Security (warning) in unknown
/wp-login.php?customize_changeset_uuid=f53879fb-f99b-4170-a5b7-c81593dd052b&customize_theme=twentytwentyone&customize_messenger_channel=preview-0 - An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
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:
- Tags: Please delete some tags, you are using 19 tag instead of maximum 10
gs-custom-login/gscusl_custom_login.php 77% from 13 tests
Analyzing the main PHP file in "GS Custom Login" version 1.3.5
Please take the time to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
- Git Repository: Please do not include Git repositories in your plugin
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gs-custom-login.php" instead of "gscusl_custom_login.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin8,199 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 698 | 712 | 3,487 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 5 | 338 | 54 | 1,572 |
JavaScript | 4 | 127 | 90 | 448 |
JSON | 1 | 0 | 0 | 21 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 21.70 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 113 | |
▷ Static methods | 3 | 2.65% |
▷ Public methods | 79 | 69.91% |
▷ Protected methods | 6 | 5.31% |
▷ Private methods | 28 | 24.78% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
10 PNG files occupy 0.16MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
gscusl_assets/inc/img/t6logo.png | 14.19KB | 5.22KB | ▼ 63.24% |
gscusl_assets/inc/img/recaptcha.png | 13.85KB | 6.35KB | ▼ 54.19% |
gscusl_assets/inc/img/t1logo.png | 5.13KB | 3.10KB | ▼ 39.54% |
gscusl_assets/inc/img/t2logo.png | 9.62KB | 4.41KB | ▼ 54.14% |
gscusl_assets/inc/img/error_options.png | 17.09KB | 9.07KB | ▼ 46.91% |