Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.21MB] [CPU: ▼8.18ms] Passed 4 tests
An overview of server-side resources used by RADIUS Client (RADIUS Login)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 68.03 ▼9.61 |
Dashboard /wp-admin | 3.52 ▲0.21 | 91.00 ▼3.01 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 89.25 ▼17.73 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 160.67 ▼2.36 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 65.64 ▲4.35 |
Upgrade Plan /wp-admin/admin.php?page=mo_radius_licence | 3.41 | 57.92 |
Support /wp-admin/admin.php?page=mo_radius_support | 3.41 | 66.65 |
Configure Radius /wp-admin/admin.php?page=mo_radius_settings | 3.41 | 59.93 |
Account Setup /wp-admin/admin.php?page=mo_radius_account_setup | 3.41 | 66.26 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 31 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
host_name |
new_registration |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for RADIUS Client (RADIUS Login)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲95 | 13.31 ▼0.94 | 12.01 ▲8.41 | 74.31 ▼2.46 |
Dashboard /wp-admin | 2,231 ▲46 | 4.98 ▼0.96 | 185.62 ▼0.80 | 141.01 ▲52.02 |
Posts /wp-admin/edit.php | 2,129 ▲34 | 2.09 ▲0.07 | 67.89 ▼6.23 | 69.58 ▼7.44 |
Add New Post /wp-admin/post-new.php | 1,445 ▲48 | 17.88 ▲0.04 | 1,022.37 ▲43.24 | 92.69 ▲20.54 |
Media Library /wp-admin/upload.php | 1,425 ▲43 | 4.23 ▲0.03 | 179.10 ▼27.82 | 135.37 ▲33.59 |
Upgrade Plan /wp-admin/admin.php?page=mo_radius_licence | 1,072 | 1.72 | 46.08 | 94.91 |
Support /wp-admin/admin.php?page=mo_radius_support | 2,277 | 2.19 | 63.36 | 60.62 |
Configure Radius /wp-admin/admin.php?page=mo_radius_settings | 1,175 | 1.74 | 47.03 | 56.79 |
Account Setup /wp-admin/admin.php?page=mo_radius_account_setup | 2,385 | 2.21 | 65.89 | 57.11 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Crypt_CHAP' not found in wp-content/plugins/miniorange-radius-client/includes/lib/Crypt/CHAP/class-crypt-chap-msv1.php:18
- > PHP Fatal error
Uncaught Error: Class 'Crypt_CHAP_MSv1' not found in wp-content/plugins/miniorange-radius-client/includes/lib/Crypt/CHAP/class-crypt-chap-msv2.php:18
- > 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 errors were detected
Optimizations
Plugin configuration 90% 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:
- Screenshots: These screenshots need descriptions #2, #3 in miniorange-radius-client/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 19 tag instead of maximum 10
miniorange-radius-client/mo_rad_settings.php 92% from 13 tests
Analyzing the main PHP file in "RADIUS Client (RADIUS Login)" version 2.2
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("miniorange-radius-client.php" instead of "mo_rad_settings.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected3,062 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 256 | 1,435 | 3,059 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for 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.24 |
Average class complexity | 23.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 127.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 120 | |
▷ Static methods | 9 | 7.50% |
▷ Public methods | 106 | 88.33% |
▷ Protected methods | 4 | 3.33% |
▷ Private methods | 10 | 8.33% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.00% |
Constants | 187 | |
▷ Global constants | 1 | 0.53% |
▷ Class constants | 186 | 99.47% |
▷ Public constants | 186 | 100.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
3 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resource/images/flags16.png | 61.80KB | 19.90KB | ▼ 67.79% |
resource/images/miniorange.png | 0.44KB | 0.35KB | ▼ 18.61% |
resource/images/xecurify.png | 0.93KB | 0.91KB | ▼ 2.00% |