Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼10.34ms] Passed 4 tests
A check of server-side resources used by Brand My Login
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.02 | 43.77 ▲4.59 |
Dashboard /wp-admin | 3.41 ▲0.07 | 52.02 ▼30.68 |
Posts /wp-admin/edit.php | 3.52 ▲0.13 | 48.40 ▼5.29 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.06 | 88.66 ▼7.52 |
Media Library /wp-admin/upload.php | 3.33 ▲0.06 | 38.56 ▲2.13 |
Brand My Login /wp-admin/themes.php?page=brand_my_login_settings | 3.30 | 35.11 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Brand My Login: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.71 ▼0.02 | 1.80 ▲0.13 | 45.95 ▲2.88 |
Dashboard /wp-admin | 2,202 ▲25 | 5.61 ▼0.05 | 81.71 ▼10.53 | 36.72 ▼11.76 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.03 | 35.61 ▲0.82 | 33.58 ▼4.39 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 23.07 ▲4.72 | 688.28 ▲31.19 | 54.60 ▼12.63 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.18 ▲0.02 | 99.21 ▼9.69 | 42.11 ▼8.68 |
Brand My Login /wp-admin/themes.php?page=brand_my_login_settings | 1,625 | 12.87 | 119.75 | 43.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 14 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=brand_my_login_settings
- > Notice in wp-content/plugins/brand-my-login/brand-my-login.php+87
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
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
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: brand, wordpress, wp-login, logo, customize...
brand-my-login/brand-my-login.php Passed 13 tests
The principal PHP file in "Brand My Login" v. 1.2.1 is loaded by WordPress automatically on each request
42 characters long description:
Brand and style your WordPress login page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected954 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 142 | 59 | 391 |
JavaScript | 1 | 146 | 27 | 362 |
CSS | 1 | 39 | 0 | 200 |
SVG | 1 | 0 | 0 | 1 |
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.36 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/w-logo-blue.png | 3.04KB | 3.09KB | 0.00% |