Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼13.24ms] Passed 4 tests
Analyzing server-side resources used by WordPress Additional Logins
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 46.63 ▲5.21 |
Dashboard /wp-admin | 3.42 ▲0.12 | 47.84 ▼12.88 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 45.92 ▼7.91 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 76.01 ▼31.88 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 36.39 ▼0.29 |
Additional Logins /wp-admin/users.php?page=wpal | 3.36 | 35.24 |
Additional Logins /wp-admin/options-general.php?page=wpal-options | 3.28 | 33.62 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WordPress Additional Logins
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲11 | 14.38 ▼0.18 | 1.71 ▼0.16 | 42.94 ▼0.47 |
Dashboard /wp-admin | 2,203 ▲26 | 5.63 ▼0.08 | 95.52 ▲0.58 | 42.44 ▲2.22 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 1.96 ▼0.01 | 35.87 ▼3.49 | 34.59 ▲1.38 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.11 ▼0.08 | 687.13 ▲4.16 | 48.70 ▼1.71 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.19 ▼0.01 | 116.55 ▲1.71 | 49.33 ▼1.16 |
Additional Logins /wp-admin/users.php?page=wpal | 836 | 2.04 | 26.50 | 31.07 |
Additional Logins /wp-admin/options-general.php?page=wpal-options | 852 | 2.04 | 26.58 | 30.67 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-additional-logins/views/header.php
- > /wp-content/plugins/wp-additional-logins/views/choose-user.php
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_avatar() in wp-content/plugins/wp-additional-logins/views/view-logins.php:11
- > PHP Notice
Undefined variable: users in wp-content/plugins/wp-additional-logins/views/choose-user.php on line 17
- > PHP Notice
Undefined variable: userID in wp-content/plugins/wp-additional-logins/views/add-login.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/wp-additional-logins/views/add-login.php:8
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/wp-additional-logins/views/choose-user.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/wp-additional-logins/views/settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-additional-logins/wp-additional-logins.php:221
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: multiple, additional, register, users, login...
wp-additional-logins/wp-additional-logins.php Passed 13 tests
The main PHP script in "WordPress Additional Logins" version 1.0.0 is automatically included on every request by WordPress
39 characters long description:
Adds additional login details to a user
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin437 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 89 | 176 | 416 |
Markdown | 1 | 18 | 0 | 21 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 9 | 100.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
No PNG images were found in this plugin