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.09MB] [CPU: ▼2.43ms] Passed 4 tests
A check of server-side resources used by Hellō Login
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 36.12 ▼4.31 |
Dashboard /wp-admin | 3.43 ▲0.13 | 45.36 ▼6.24 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 48.68 ▲1.65 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 88.10 ▼0.83 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.97 ▲4.06 |
Hellō Login /wp-admin/options-general.php?page=hello-login-settings | 3.26 | 32.45 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
hello-login-plugin-version |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Hellō Login
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲56 | 14.25 ▲0.10 | 1.67 ▼0.12 | 40.81 ▼3.22 |
Dashboard /wp-admin | 2,204 ▲27 | 5.63 ▲0.01 | 91.80 ▼7.88 | 40.16 ▼2.72 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.97 ▲0.00 | 40.25 ▲3.72 | 36.68 ▲0.39 |
Add New Post /wp-admin/post-new.php | 1,537 ▲10 | 23.21 ▲0.02 | 672.55 ▲40.92 | 71.80 ▲17.23 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.25 ▲0.05 | 100.03 ▼8.60 | 41.09 ▼4.23 |
Hellō Login /wp-admin/options-general.php?page=hello-login-settings | 839 | 2.00 | 26.71 | 31.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- hello-login-plugin-version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hello-login/includes/functions.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/hello-login/includes/hello-login-option-settings.php:101
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 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
7 plugin tags: apps, security, authentication, oauth2, sso...
hello-login/hello-login.php 92% from 13 tests
"Hellō Login" version 1.5.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 144 characters long)
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 detected2,522 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 626 | 1,845 | 2,426 |
CSS | 3 | 8 | 0 | 63 |
JavaScript | 1 | 6 | 1 | 33 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 32.45 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 93.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 157 | |
▷ Static methods | 29 | 18.47% |
▷ Public methods | 130 | 82.80% |
▷ Protected methods | 6 | 3.82% |
▷ Private methods | 21 | 13.38% |
Functions | 8 | |
▷ Named functions | 5 | 62.50% |
▷ Anonymous functions | 3 | 37.50% |
Constants | 16 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 16 | 100.00% |
▷ Public constants | 16 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin