Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.17ms] Passed 4 tests
A check of server-side resources used by Basic Front-End Login
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.19 ▼1.86 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.53 ▼3.67 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 52.25 ▼1.29 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.72 ▼9.87 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.25 ▲3.58 |
Login Form /wp-admin/users.php?page=ee-basic-front-end-login | 3.21 | 31.18 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Basic Front-End Login
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲35 | 13.23 ▼1.15 | 1.79 ▼0.21 | 39.60 ▲1.12 |
Dashboard /wp-admin | 2,225 ▲22 | 4.87 ▼0.03 | 106.16 ▼1.25 | 39.49 ▼9.11 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.98 ▼0.08 | 36.76 ▲0.63 | 32.99 ▼7.36 |
Add New Post /wp-admin/post-new.php | 1,529 ▼19 | 17.45 ▼5.90 | 687.55 ▲36.50 | 55.70 ▲4.02 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.20 ▼0.01 | 96.25 ▼7.18 | 44.54 ▲0.56 |
Login Form /wp-admin/users.php?page=ee-basic-front-end-login | 888 | 2.04 | 23.07 | 39.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: user login, no admin bar, login form, no dashboard, login redirect
basic-front-end-login/ee-basic-front-end-login.php 85% from 13 tests
The principal PHP file in "Basic Front-End Login" v. 1.2.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("basic-front-end-login.php" instead of "ee-basic-front-end-login.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,396 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 11 | 308 | 308 | 1,126 |
PHP | 1 | 105 | 38 | 171 |
CSS | 1 | 16 | 1 | 84 |
JavaScript | 1 | 6 | 1 | 15 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected