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.01MB] [CPU: ▼1.83ms] Passed 4 tests
An overview of server-side resources used by HTTP Auth
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.05 ▼5.28 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.36 ▲1.48 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.93 ▼2.69 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 100.28 ▲5.13 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.59 ▼0.83 |
Settings /wp-admin/admin.php?page=http-auth-settings | 3.27 | 32.57 |
About /wp-admin/admin.php?page=http-auth-about-plugins | 3.27 | 29.77 |
Server storage [IO: ▲0.95MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by HTTP Auth
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲81 | 13.22 ▼0.95 | 1.59 ▼0.33 | 40.29 ▼0.22 |
Dashboard /wp-admin | 2,233 ▲45 | 4.85 ▼0.05 | 110.22 ▲4.71 | 41.70 ▼2.28 |
Posts /wp-admin/edit.php | 2,119 ▲27 | 2.00 ▲0.00 | 38.65 ▼1.02 | 34.51 ▼4.19 |
Add New Post /wp-admin/post-new.php | 1,564 ▲22 | 18.37 ▲0.12 | 640.08 ▲37.37 | 58.49 ▲5.32 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.22 ▲0.05 | 105.69 ▼13.37 | 45.05 ▼1.42 |
Settings /wp-admin/admin.php?page=http-auth-settings | 922 | 2.07 | 29.18 | 26.39 |
About /wp-admin/admin.php?page=http-auth-about-plugins | 2,180 | 2.06 | 23.59 | 41.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
http-auth/http-auth.php 92% from 13 tests
"HTTP Auth" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected8,817 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 9 | 1 | 1 | 8,119 |
PHP | 8 | 97 | 260 | 696 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 8.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 53.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 46.15% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/prevent-xss-vulnerability.png | 7.36KB | 7.25KB | ▼ 1.51% |
assets/images/media-post-permalink.png | 24.03KB | 11.56KB | ▼ 51.92% |