Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼2.34ms] Passed 4 tests
Analyzing server-side resources used by SK WP Login Customization
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.49 ▼3.82 |
Dashboard /wp-admin | 3.41 ▲0.10 | 50.50 ▲3.60 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 44.77 ▼2.32 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 82.78 ▼1.25 |
Media Library /wp-admin/upload.php | 3.32 ▲0.08 | 35.13 ▼1.98 |
SK WP Login Customization /wp-admin/options-general.php?page=sk-wll | 3.61 | 37.57 |
Server storage [IO: ▲1.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by SK WP Login Customization
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,224 ▲463 | 15.37 ▲0.82 | 2.28 ▲0.53 | 41.69 ▲2.53 |
Dashboard /wp-admin | 2,618 ▲441 | 6.47 ▲0.84 | 111.21 ▲27.65 | 36.35 ▼3.89 |
Posts /wp-admin/edit.php | 2,506 ▲403 | 3.59 ▲1.57 | 54.23 ▲12.61 | 29.17 ▼7.81 |
Add New Post /wp-admin/post-new.php | 1,544 ▲5 | 23.93 ▲0.42 | 666.45 ▼36.12 | 37.99 ▼24.86 |
Media Library /wp-admin/upload.php | 1,706 ▲306 | 4.46 ▲0.30 | 86.98 ▼24.81 | 42.09 ▼5.04 |
SK WP Login Customization /wp-admin/options-general.php?page=sk-wll | 2,083 | 3.35 | 50.31 | 77.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=sk-wll
- > Notice in wp-content/plugins/sk-wp-login-customization/views/dashboard.php+594
Undefined variable: skwll_form_shadow_status
SRP 0% 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
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/sk-wp-login-customization/sk-wp-login-customization.php
- > /wp-content/plugins/sk-wp-login-customization/views/dashboard-print-head-scripts.php
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/sk-wp-login-customization/views/dashboard.php:8
- > PHP Warning
Use of undefined constant SK_WLL_NAME - assumed 'SK_WLL_NAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/sk-wp-login-customization/views/dashboard.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'SkWllCommon' not found in wp-content/plugins/sk-wp-login-customization/classes/SkWllCore.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/sk-wp-login-customization/views/login-form-customization.php:6
- > PHP Warning
Use of undefined constant SK_WLL_NO_IMG_URL - assumed 'SK_WLL_NO_IMG_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/sk-wp-login-customization/views/dashboard-print-head-scripts.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
2 plugin tags: customize wordpress login form, wordpress logo change
sk-wp-login-customization/sk-wp-login-customization.php 92% from 13 tests
The main file in "SK WP Login Customization" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 199 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected10,596 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 6 | 1,853 | 6,761 |
JavaScript | 35 | 1,136 | 152 | 2,776 |
PHP | 6 | 91 | 27 | 1,059 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 19.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 21 | 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
There are no PNG files in this plugin