Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.58ms] Passed 4 tests
An overview of server-side resources used by FP Front End Login Form
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.02 ▼1.07 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.62 ▲0.77 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 50.93 ▲0.35 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 80.02 ▼26.38 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.88 ▲4.60 |
FP Front End Login /wp-admin/options-general.php?page=fp-fel | 3.22 | 30.99 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_fp_fel_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for FP Front End Login Form
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 14.48 ▲0.09 | 1.88 ▲0.07 | 41.70 ▼0.30 |
Dashboard /wp-admin | 2,207 ▲52 | 5.83 ▲0.22 | 97.25 ▼7.81 | 36.43 ▼8.89 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 2.04 ▲0.01 | 39.36 ▼3.08 | 33.44 ▼4.93 |
Add New Post /wp-admin/post-new.php | 1,545 ▲6 | 23.08 ▲0.20 | 652.87 ▲60.88 | 58.29 ▼3.52 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.19 ▼0.04 | 95.58 ▼0.86 | 40.13 ▼3.68 |
FP Front End Login /wp-admin/options-general.php?page=fp-fel | 811 | 2.04 | 25.74 | 29.49 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_fp_fel_widget
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=fp-fel
- > Notice in wp-content/plugins/fp-front-end-login-form/includes/admin/class-fp-front-end-login-admin.php+169
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fp-front-end-login-form/includes/partials/login-form-widget.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/fp-front-end-login-form/includes/partials/login-form.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Contributors: The plugin contributors field is missing
fp-front-end-login-form/fp-front-end-login.php 85% from 13 tests
The primary PHP file in "FP Front End Login Form" version 1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 248 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("fp-front-end-login-form.php" instead of "fp-front-end-login.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
Everything looks great! No dangerous files found in this plugin394 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 95 | 392 | 383 |
CSS | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 2.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 83.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.13% |
Functions | 7 | |
▷ Named functions | 7 | 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