Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.75ms] Passed 4 tests
Analyzing server-side resources used by AC Change Login Image
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.97 ▼13.55 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.38 ▲2.18 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 53.84 ▲2.83 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 94.16 ▼2.46 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.62 ▲7.89 |
Login Logo /wp-admin/themes.php?page=ac_login_logo_admin_menu | 3.23 | 35.26 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by AC Change Login Image
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.21 ▼1.16 | 1.68 ▼0.35 | 41.05 ▼25.33 |
Dashboard /wp-admin | 2,210 ▲19 | 5.88 ▲0.95 | 108.06 ▲4.78 | 43.88 ▼0.90 |
Posts /wp-admin/edit.php | 2,098 ▲6 | 1.98 ▲0.01 | 53.82 ▲13.90 | 41.07 ▲1.85 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.22 ▲5.63 | 643.85 ▼36.97 | 58.37 ▼4.81 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.26 ▲0.03 | 96.22 ▼1.87 | 45.96 ▲2.70 |
Login Logo /wp-admin/themes.php?page=ac_login_logo_admin_menu | 971 | 3.03 | 40.07 | 23.44 |
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_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files
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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (The final result (wp-login.php)), #2 (The simples interface)
ac-change-login-logo/ac-change-login-logo.php Passed 13 tests
"AC Change Login Image" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
97 characters long description:
Change the Login screen logo. After activate go to Appearance -> Login logo and choose your logo.
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 plugin105 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 11 | 51 | 105 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
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 | 2 | |
▷ Global constants | 2 | 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
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 33.44KB | 13.18KB | ▼ 60.59% |
screenshot-1.png | 13.88KB | 5.46KB | ▼ 60.70% |