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.16MB] [CPU: ▼4.85ms] Passed 4 tests
A check of server-side resources used by Login Logout Register Menu
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 47.91 ▲5.91 |
Dashboard /wp-admin | 3.46 ▲0.16 | 47.93 ▼5.60 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 51.84 ▲2.34 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 88.87 ▼12.68 |
Media Library /wp-admin/upload.php | 3.38 ▲0.16 | 34.94 ▼3.47 |
Login Logout Register /wp-admin/options-general.php?page=llrm | 3.35 | 33.11 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Login Logout Register Menu
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲83 | 13.30 ▼0.89 | 1.91 ▲0.22 | 45.77 ▲4.49 |
Dashboard /wp-admin | 2,253 ▲53 | 4.86 ▼1.01 | 105.89 ▲5.44 | 36.84 ▼5.54 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.05 ▲0.05 | 43.55 ▲6.39 | 37.72 ▲3.35 |
Add New Post /wp-admin/post-new.php | 1,563 ▲18 | 23.05 ▼0.15 | 695.67 ▲35.03 | 58.73 ▲2.61 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.29 ▲0.06 | 111.51 ▲6.12 | 48.91 ▼0.04 |
Login Logout Register /wp-admin/options-general.php?page=llrm | 916 | 2.06 | 25.16 | 46.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
8 plugin tags: logout menu, login menu, login to navigation bar, profile menu, plugin...
login-logout-register-menu/login-logout-register-menu.php Passed 13 tests
The main file in "Login Logout Register Menu" v. 2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
137 characters long description:
The plugin allows you to add login, logout, register and profile menus in the navigation bar which can be configured from the admin area.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected721 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 221 | 436 | 596 |
PO File | 1 | 41 | 49 | 112 |
JavaScript | 1 | 2 | 4 | 13 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 16.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 3.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 2 | 4.08% |
▷ Public methods | 44 | 89.80% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 10.20% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG files were detected