Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▼5.32ms] Passed 4 tests
An overview of server-side resources used by Aspexi Login Audit
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 47.87 ▲7.57 |
Dashboard /wp-admin | 3.50 ▲0.15 | 46.49 ▼15.08 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 47.38 ▲5.28 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 80.71 ▼14.75 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 36.64 ▲3.29 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_ala_logs |
New WordPress options |
---|
aspexiloginaudit_options |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Aspexi Login Audit
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.48 ▼0.26 | 2.01 ▲0.09 | 40.96 ▼1.25 |
Dashboard /wp-admin | 2,210 ▲25 | 5.91 ▼0.02 | 103.61 ▼8.78 | 42.87 ▲3.36 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.01 | 39.85 ▲0.15 | 33.83 ▼3.18 |
Add New Post /wp-admin/post-new.php | 1,536 ▼1 | 23.31 ▲0.05 | 629.32 ▲33.60 | 50.56 ▼0.94 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.18 ▼0.07 | 99.94 ▲1.10 | 40.01 ▼2.07 |
Aspexi Login Audit /wp-admin/aspexi-login-audit.php | 26 | 0.44 | 0.09 | 14.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method AspexiLoginAudit::uninstall() should not be called statically
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/aspexi-login-audit.php
- > Network (severe)
wp-admin/aspexi-login-audit.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 25 tag instead of maximum 10
aspexi-login-audit/aspexi-login-audit.php 92% from 13 tests
The principal PHP file in "Aspexi Login Audit" v. 1.0.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 195 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,027 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 170 | 14 | 774 |
PO File | 1 | 64 | 77 | 157 |
CSS | 1 | 13 | 0 | 60 |
JavaScript | 1 | 3 | 0 | 36 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 119.00 |
▷ Minimum class complexity | 119.00 |
▷ Maximum class complexity | 119.00 |
Average method complexity | 4.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.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 | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 93.55% |
▷ Protected methods | 2 | 6.45% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 3 | 37.50% |
▷ Class constants | 5 | 62.50% |
▷ Public constants | 5 | 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
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/be250.png | 7.19KB | 3.89KB | ▼ 45.91% |
images/aspexi300.png | 26.93KB | 11.76KB | ▼ 56.33% |