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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼0.14ms] Passed 4 tests
This is a short check of server-side resources used by Plain Custom Login
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.32 ▼0.11 |
Dashboard /wp-admin | 3.41 ▲0.11 | 48.46 ▲5.67 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 50.93 ▲7.10 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 90.62 ▼6.75 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.40 ▲0.64 |
Plain Custom Login /wp-admin/options-general.php?page=PlainCustomLogin/settings.php | 3.30 | 32.60 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Plain Custom Login
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲90 | 13.35 ▼0.62 | 1.88 ▲0.16 | 45.59 ▲1.73 |
Dashboard /wp-admin | 2,236 ▲48 | 4.99 ▼0.91 | 103.61 ▼1.31 | 39.76 ▲2.23 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.33 ▲0.35 | 42.33 ▲3.11 | 37.34 ▲2.18 |
Add New Post /wp-admin/post-new.php | 1,538 ▼4 | 23.26 ▲5.00 | 634.11 ▲24.93 | 36.32 ▼28.05 |
Media Library /wp-admin/upload.php | 1,421 ▲30 | 4.45 ▲0.27 | 98.97 ▼3.93 | 41.25 ▼3.47 |
Plain Custom Login /wp-admin/options-general.php?page=PlainCustomLogin/settings.php | 1,824 | 3.08 | 77.61 | 27.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_theme_textdomain() in wp-content/plugins/plain-custom-login/plain-custom-login.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Requires at least: Invalid plugin version format
plain-custom-login/plain-custom-login.php Passed 13 tests
The main PHP script in "Plain Custom Login" version 0.23.2 is automatically included on every request by WordPress
106 characters long description:
Lightweight plugin to let you customise the login page and popup to better reflect your site's appearance.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin994 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
LESS | 2 | 82 | 7 | 454 |
PHP | 1 | 75 | 51 | 276 |
CSS | 1 | 0 | 0 | 246 |
JavaScript | 1 | 7 | 2 | 18 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.11% |
Functions | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin