Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▲1.68ms] Passed 4 tests
Analyzing server-side resources used by MM Login Customization
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 44.44 ▲6.72 |
Dashboard /wp-admin | 3.41 ▲0.11 | 45.85 ▼0.48 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 49.60 ▲3.79 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 98.68 ▼3.31 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 39.28 ▲7.03 |
Settings /wp-admin/admin.php?page=lc-setting | 3.30 | 32.57 |
Help /wp-admin/admin.php?page=lc-setting-help | 3.27 | 31.38 |
Server storage [IO: ▲0.72MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for MM Login Customization
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲180 | 13.64 ▼0.72 | 7.61 ▲5.82 | 43.43 ▼1.43 |
Dashboard /wp-admin | 2,238 ▲47 | 5.83 ▲0.95 | 94.11 ▼11.10 | 81.16 ▲38.71 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.05 ▲0.06 | 39.93 ▲4.86 | 36.56 ▲4.44 |
Add New Post /wp-admin/post-new.php | 1,554 ▲40 | 18.25 ▲0.72 | 693.70 ▲47.59 | 61.24 ▼7.46 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.24 ▲0.02 | 96.44 ▼1.66 | 83.17 ▲38.24 |
Settings /wp-admin/admin.php?page=lc-setting | 892 | 2.10 | 26.36 | 27.98 |
Help /wp-admin/admin.php?page=lc-setting-help | 706 | 1.53 | 6.49 | 20.30 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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 items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/mm-login-customization/init/front-template/template-firstlog.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mm-login-customization/init/mmlc-setup.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/mm-login-customization/mm-log-custom.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/mm-login-customization/init/front-template/template-secondlog.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
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 need to be fixed:
- Screenshots: Please a description for screenshot #3 in mm-login-customization/assets to your readme.txt
mm-login-customization/mm-log-custom.php 85% from 13 tests
The main PHP script in "MM Login Customization" version 1.4 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 227 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("mm-login-customization.php" instead of "mm-log-custom.php")
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
Everything looks great! No dangerous files found in this plugin1,369 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 195 | 43 | 636 |
CSS | 3 | 113 | 36 | 547 |
JavaScript | 2 | 55 | 2 | 186 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 6.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 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 PNG files occupy 0.48MB with 0.24MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/back/templc1.png | 351.52KB | 158.37KB | ▼ 54.95% |
assets/images/back/lc-icon.png | 2.40KB | 1.82KB | ▼ 24.24% |
assets/images/back/templc2.png | 140.23KB | 40.20KB | ▼ 71.33% |