Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.18MB] [CPU: ▼10.40ms] Passed 4 tests
Server-side resources used by Loginner
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.06 | 29.43 ▼11.78 |
Dashboard /wp-admin | 3.19 ▼0.12 | 32.34 ▼14.19 |
Posts /wp-admin/edit.php | 3.25 ▼0.10 | 37.99 ▼7.71 |
Add New Post /wp-admin/post-new.php | 5.44 ▼0.45 | 80.75 ▼7.90 |
Media Library /wp-admin/upload.php | 3.20 ▼0.03 | 31.81 ▼2.94 |
Loginner /wp-admin/options-general.php?page=loginner_options | 3.15 | 30.06 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Loginner
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 14.48 ▲0.10 | 2.00 ▼0.17 | 40.11 ▼11.36 |
Dashboard /wp-admin | 2,207 ▲19 | 5.83 ▲0.94 | 94.16 ▼25.12 | 38.55 ▼6.92 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.03 ▼0.01 | 39.93 ▲3.70 | 36.72 ▲3.16 |
Add New Post /wp-admin/post-new.php | 1,526 ▲12 | 23.25 ▲5.69 | 678.67 ▲0.17 | 58.64 ▼7.88 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.20 ▲0.02 | 95.42 ▼6.33 | 44.90 ▼0.36 |
Loginner /wp-admin/options-general.php?page=loginner_options | 920 | 2.03 | 22.98 | 28.12 |
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 does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=loginner_options
- > Notice in wp-content/plugins/loginner/loginner.php+210
Undefined index: user
- > GET request to /wp-admin/options-general.php?page=loginner_options
- > Notice in wp-content/plugins/loginner/loginner.php+175
Undefined index: account
- > GET request to /wp-admin/options-general.php?page=loginner_options
- > Warning in wp-content/plugins/loginner/loginner.php+175
array_keys() expects parameter 1 to be array, null given
- > GET request to /wp-admin/options-general.php?page=loginner_options
- > Warning in wp-content/plugins/loginner/loginner.php+175
Invalid argument supplied for foreach()
- > GET request to /wp-admin/options-general.php?page=loginner_options
- > Notice in wp-content/plugins/loginner/loginner.php+206
Undefined variable: args
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/loginner/uninstall.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/loginner/loginner.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Requires at least: Invalid plugin version format
loginner/loginner.php Passed 13 tests
Analyzing the main PHP file in "Loginner" version 1.0
80 characters long description:
Loginner lets you open other Wordpress backends under your control in one click.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin199 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 59 | 39 | 199 |
PHP code Passed 2 tests
Analyzing 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.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
There were not PNG files found in your plugin