Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.02ms] Passed 4 tests
This is a short check of server-side resources used by Custom Login
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 33.07 ▼7.26 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.81 ▲1.79 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.41 ▼2.31 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.17 ▼3.36 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.33 ▲0.86 |
Server storage [IO: ▲1.84MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 625 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Custom Login
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.37 ▼0.01 | 1.74 ▲0.03 | 36.27 ▼8.01 |
Dashboard /wp-admin | 2,198 ▲24 | 5.61 ▼0.06 | 91.74 ▼5.93 | 37.84 ▼3.32 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.97 ▼0.03 | 41.57 ▼1.93 | 34.79 ▼4.17 |
Add New Post /wp-admin/post-new.php | 1,526 ▼10 | 23.45 ▲0.43 | 658.26 ▲36.82 | 57.49 ▲5.64 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.30 ▲0.05 | 97.58 ▼1.55 | 42.07 ▼0.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% 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
Almost there! Just fix the following items
- 311× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'TheFrosty\\WpUtilities\\Plugin\\TemplateLoaderInterface' not found in wp-content/plugins/custom-login/vendor/thefrosty/wp-utilities/src/Plugin/TemplateLoader.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Composer\\Plugin\\PluginInterface' not found in wp-content/plugins/custom-login/vendor/composer/installers/src/Composer/Installers/Plugin.php:9
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/custom-login/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Dwnload\\WpSettingsApi\\Api\\SettingSection' not found in wp-content/plugins/custom-login/config/import-export.php:13
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\Constraint\\Constraint' not found in wp-content/plugins/custom-login/vendor/symfony/http-foundation/Test/Constraint/RequestAttributeValueSame.php:17
- > PHP Parse error
syntax error, unexpected 'protected' (T_PROTECTED), expecting variable (T_VARIABLE) in wp-content/plugins/custom-login/src/Extensions/AddOn.php on line 41
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\HttpFoundation\\Response' not found in wp-content/plugins/custom-login/vendor/symfony/http-foundation/JsonResponse.php:25
- > PHP Fatal error
Uncaught Error: Class 'TheFrosty\\WpUtilities\\Plugin\\AbstractContainerProvider' not found in wp-content/plugins/custom-login/src/WpAdmin/SettingsUpgrades.php:22
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/custom-login/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\HttpFoundation\\File\\Exception\\FileException' not found in wp-content/plugins/custom-login/vendor/symfony/http-foundation/File/Exception/FormSizeFileException.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: error, login error, admin, logo, custom login...
custom-login/custom-login.php Passed 13 tests
This is the main PHP file of "Custom Login" version 4.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
84 characters long description:
A simple way to customize your WordPress wp-login.php screen! A Frosty Media plugin.
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
Good job! No executable or dangerous file extensions detected35,177 lines of code in 600 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 436 | 5,475 | 14,984 | 24,834 |
CSS | 108 | 741 | 72 | 5,815 |
JSON | 17 | 0 | 0 | 1,782 |
Markdown | 18 | 385 | 0 | 1,195 |
JavaScript | 6 | 97 | 292 | 588 |
PO File | 1 | 140 | 244 | 306 |
Bourne Shell | 6 | 53 | 37 | 277 |
YAML | 4 | 37 | 1 | 150 |
XML | 3 | 16 | 40 | 133 |
reStructuredText | 1 | 96 | 139 | 97 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 6.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 245.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 63 | |
Interfaces | 37 | |
Traits | 27 | |
Classes | 333 | |
▷ Abstract classes | 24 | 7.21% |
▷ Concrete classes | 309 | 92.79% |
▷ Final classes | 29 | 9.39% |
Methods | 1,612 | |
▷ Static methods | 147 | 9.12% |
▷ Public methods | 1,204 | 74.69% |
▷ Protected methods | 289 | 17.93% |
▷ Private methods | 119 | 7.38% |
Functions | 210 | |
▷ Named functions | 95 | 45.24% |
▷ Anonymous functions | 115 | 54.76% |
Constants | 484 | |
▷ Global constants | 9 | 1.86% |
▷ Class constants | 475 | 98.14% |
▷ Public constants | 450 | 94.74% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin