Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.78ms] Passed 4 tests
An overview of server-side resources used by LotekMedia Custom Login
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.24 ▼3.57 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.14 ▼1.18 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.11 ▲0.41 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 90.64 ▼2.77 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 38.45 ▲3.95 |
LTM Login /wp-admin/options-general.php?page=__ltm_login_admin_page__ | 3.24 | 41.14 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by LotekMedia Custom Login
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,785 ▲24 | 14.34 ▼0.24 | 1.79 ▲0.12 | 44.56 ▲4.82 |
Dashboard /wp-admin | 2,196 ▲19 | 5.61 ▼0.03 | 90.21 ▲0.91 | 42.01 ▲0.68 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 1.97 ▼0.06 | 39.52 ▼0.49 | 34.00 ▼2.26 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 23.06 ▼0.15 | 663.81 ▲65.36 | 55.70 ▲2.86 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.21 ▲0.02 | 98.26 ▼1.29 | 46.04 ▲3.76 |
LTM Login /wp-admin/options-general.php?page=__ltm_login_admin_page__ | 1,370 | 3.76 | 66.79 | 26.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ltm-custom-login/ltm_custom_login.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/ltm-custom-login/ltm_login_admin_page.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== ltm-custom-login ===
)
ltm-custom-login/ltm_custom_login.php 92% from 13 tests
This is the main PHP file of "LotekMedia Custom Login" version 1.3.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("ltm-custom-login.php" instead of "ltm_custom_login.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin188 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 13 | 28 | 98 |
JavaScript | 1 | 16 | 4 | 60 |
PO File | 1 | 7 | 7 | 30 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected