Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼293.74ms] Passed 4 tests
Server-side resources used by Login Logo Editor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 56.38 ▲6.47 |
Dashboard /wp-admin | 3.43 ▲0.02 | 33.72 ▲0.84 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 39.96 ▲0.72 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 94.19 ▼1,176.36 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 26.03 ▼0.15 |
Login Logo /wp-admin/options-general.php?page=login_logo_editor | 3.36 | 27.88 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 4 new options
New WordPress options |
---|
lle_login_logo_link |
lle_login_logo_css |
lle_login_logo_img |
lle_login_logo_title |
Browser metrics Passed 4 tests
Checking browser requirements for Login Logo Editor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,760 ▲38 | 16.12 ▲0.12 | 7.00 ▲1.02 | 2.27 ▼0.52 |
Dashboard /wp-admin | 2,894 ▲36 | 6.09 ▼0.03 | 114.96 ▼18.60 | 153.22 ▼9.16 |
Posts /wp-admin/edit.php | 2,695 ▲1 | 3.23 ▼0.14 | 62.14 ▼1.88 | 136.13 ▼1.93 |
Add New Post /wp-admin/post-new.php | 1,714 ▼38 | 20.82 ▼0.69 | 428.74 ▼25.27 | 158.18 ▲1.13 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.48 ▼0.01 | 155.75 ▲17.99 | 183.38 ▼4.20 |
Login Logo /wp-admin/options-general.php?page=login_logo_editor | 1,412 | 4.26 | 70.60 | 166.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/login-logo-editor-by-oizuled/options.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/login-logo-editor-by-oizuled/login-logo-by-oizuled.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: custom logo, login screen, login, plugin, customize...
login-logo-editor-by-oizuled/login-logo-by-oizuled.php 92% from 13 tests
Analyzing the main PHP file in "Login Logo Editor" version 1.3.3
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("login-logo-editor-by-oizuled.php" instead of "login-logo-by-oizuled.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected228 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 21 | 54 | 173 |
CSS | 1 | 1 | 0 | 33 |
JavaScript | 1 | 12 | 4 | 22 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 12 | |
▷ Named functions | 12 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
w-logo-blue.png | 4.60KB | 3.09KB | ▼ 32.80% |
wordpress-logo.png | 4.75KB | 5.22KB | 0.00% |