Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼7.98ms] Passed 4 tests
This is a short check of server-side resources used by Autologin Links
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 43.45 ▲0.34 |
Dashboard /wp-admin | 3.43 ▲0.09 | 50.87 ▼15.80 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 49.76 ▼3.02 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 98.06 ▼7.82 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 36.28 ▼5.26 |
Autologin-links /wp-admin/options-general.php?page=pkg_autologin_admin_menu | 3.32 | 33.14 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Autologin Links
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲175 | 13.71 ▼0.97 | 13.80 ▲11.93 | 40.72 ▼2.78 |
Dashboard /wp-admin | 2,199 ▲22 | 5.54 ▼0.02 | 90.73 ▼12.36 | 41.53 ▼1.38 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.00 ▼0.03 | 38.92 ▲0.85 | 35.31 ▼0.17 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 18.50 ▲0.69 | 591.82 ▼81.19 | 58.03 ▼2.82 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.27 ▲0.10 | 99.09 ▼12.62 | 43.08 ▼3.84 |
Autologin-links /wp-admin/options-general.php?page=pkg_autologin_admin_menu | 848 | 2.05 | 24.08 | 27.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/autologin-links/autologin-links.php on line 28
- > PHP Warning
require_once(ABSPATHWPINC/class-phpass.php): failed to open stream: No such file or directory in wp-content/plugins/autologin-links/autologin-links.php on line 28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/autologin-links/autologin-links-admin-bar.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/autologin-links/autologin-links-admin-bar.php:11
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHWPINC/class-phpass.php' (include_path='.:/usr/share/php') in wp-content/plugins/autologin-links/autologin-links.php on line 28
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/autologin-links/autologin-links.php on line 28
- > PHP Warning
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 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid url: ""
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== autologin-links ===
)
autologin-links/autologin-links.php Passed 13 tests
The primary PHP file in "Autologin Links" version 1.12.0 is used by WordPress to initiate all plugin functionality
55 characters long description:
Lets administrators generate autologin links for users.
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
Good job! No executable or dangerous file extensions detected814 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 130 | 228 | 609 |
JavaScript | 3 | 13 | 5 | 83 |
CSS | 1 | 21 | 2 | 61 |
PO File | 1 | 24 | 37 | 61 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
close.png | 0.36KB | 0.20KB | ▼ 45.95% |