Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/wp-auth-logging/authlogging.php+47
Use of undefined constant wp_auth_logging_fail_log - assumed 'wp_auth_logging_fail_log' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.97MB] [CPU: ▼53.29ms] Passed 4 tests
Analyzing server-side resources used by wp-auth-logging
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.30 ▼31.52 |
Dashboard /wp-admin | 2.05 ▼1.30 | 6.12 ▼50.27 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.39 ▼42.25 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 4.94 ▼89.11 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 4.94 ▼28.78 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
wp-auth-logging: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.15 ▼1.21 | 1.58 ▼0.11 | 40.04 ▼1.00 |
Dashboard /wp-admin | 2,200 ▲9 | 5.79 ▲0.90 | 98.42 ▼2.74 | 37.90 ▼2.62 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.03 ▲0.03 | 36.44 ▼2.40 | 30.07 ▼5.54 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 18.69 ▲0.31 | 583.28 ▼20.71 | 51.00 ▲2.41 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.28 ▲0.08 | 93.89 ▼11.69 | 41.50 ▼3.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/wp-auth-logging/authlogging.php+47
Use of undefined constant wp_auth_logging_fail_log - assumed 'wp_auth_logging_fail_log' (this will throw an Error in a future version of PHP)
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-auth-logging/authlogging.php:47
- > 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)
No browser issues were found
Optimizations
Plugin configuration 93% 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:
- Donate link: Please fix this invalid url: ""
wp-auth-logging/authlogging.php 92% from 13 tests
The principal PHP file in "wp-auth-logging" v. 0.1 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-auth-logging.php" instead of "authlogging.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected29 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 9 | 12 | 29 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected