Benchmarks
Plugin footprint 83% 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.05MB] [CPU: ▼3.36ms] Passed 4 tests
This is a short check of server-side resources used by YumJam Require Login
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 33.91 ▼5.38 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.45 ▼0.06 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 51.75 ▲3.75 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 81.31 ▼7.94 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 32.40 ▼0.07 |
YumJam Require Login /wp-admin/options-general.php?page=rl_options | 3.31 | 38.43 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-comments |
rl_enable |
rl_cust_log_form |
can_compress_scripts |
db_upgraded |
rl_red_aft_log |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
rl_red_aft_log_url |
Browser metrics Passed 4 tests
Checking browser requirements for YumJam Require Login
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,074 ▲339 | 15.45 ▲1.21 | 5.15 ▲3.43 | 39.05 ▼5.60 |
Dashboard /wp-admin | 2,375 ▲187 | 6.70 ▲1.78 | 129.09 ▲28.42 | 41.39 ▼3.32 |
Posts /wp-admin/edit.php | 2,275 ▲186 | 3.59 ▲1.57 | 55.01 ▲18.54 | 32.57 ▼2.72 |
Add New Post /wp-admin/post-new.php | 1,550 ▲7 | 23.25 ▲5.07 | 655.40 ▲35.85 | 34.76 ▼16.86 |
Media Library /wp-admin/upload.php | 1,417 ▲26 | 4.36 ▲0.14 | 86.33 ▼12.63 | 44.31 ▲0.97 |
YumJam Require Login /wp-admin/options-general.php?page=rl_options | 1,199 | 3.70 | 47.60 | 28.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, 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 Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: user login, intranet, authentication, forced login, restrict access...
yumjam-require-login/require_login.php 85% from 13 tests
Analyzing the main PHP file in "YumJam Require Login" version 1.1.5
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("yumjam-require-login.php" instead of "require_login.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
There were no executable files found in this plugin2,058 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 118 | 36 | 1,318 |
CSS | 4 | 75 | 41 | 400 |
PHP | 2 | 56 | 81 | 340 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 53.00 |
▷ Minimum class complexity | 53.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 93.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.90% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/chosen/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
1px.png | 0.15KB | 0.12KB | ▼ 20.51% |
lib/chosen/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |