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.29MB] [CPU: ▼2.78ms] Passed 4 tests
An overview of server-side resources used by Custom Login Logo and URL
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 37.04 ▼4.05 |
Dashboard /wp-admin | 3.69 ▲0.39 | 45.79 ▼1.26 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 47.94 ▲5.15 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 85.59 ▼3.53 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 35.03 ▼2.26 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Custom Login Logo and URL
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.53 ▼0.90 | 1.55 ▼0.10 | 40.95 ▲2.28 |
Dashboard /wp-admin | 2,228 ▲40 | 4.95 ▼0.95 | 96.50 ▼6.59 | 82.69 ▲41.02 |
Posts /wp-admin/edit.php | 2,119 ▲51 | 1.99 ▼0.03 | 39.04 ▲3.66 | 34.79 ▲2.00 |
Add New Post /wp-admin/post-new.php | 1,550 ▲16 | 18.10 ▼4.92 | 681.23 ▲25.38 | 57.00 ▲2.39 |
Media Library /wp-admin/upload.php | 1,405 ▲17 | 4.26 ▲0.02 | 96.50 ▲1.95 | 76.20 ▲32.58 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% 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:
- Screenshots: No descriptions were found for these screenshots #1, #2 in custom-login-logo-and-url/assets to your readme.txt
custom-login-logo-and-url/custom-login-logo-and-url.php 85% from 13 tests
The main PHP file in "Custom Login Logo and URL" ver. 0.9 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Git Repository: An alternative Git repository was detected
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
No dangerous file extensions were detected3,949 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 747 | 753 | 2,660 |
CSS | 8 | 4 | 5 | 934 |
JavaScript | 6 | 16 | 0 | 244 |
JSON | 5 | 0 | 0 | 110 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 23.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 228.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 2 | 8.70% |
▷ Concrete classes | 21 | 91.30% |
▷ Final classes | 1 | 4.76% |
Methods | 214 | |
▷ Static methods | 12 | 5.61% |
▷ Public methods | 205 | 95.79% |
▷ Protected methods | 2 | 0.93% |
▷ Private methods | 7 | 3.27% |
Functions | 8 | |
▷ Named functions | 3 | 37.50% |
▷ Anonymous functions | 5 | 62.50% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/codexpert/plugin/src/assets/img/survey.png | 7.31KB | 3.08KB | ▼ 57.88% |
vendor/codexpert/plugin/src/assets/img/checked.png | 18.81KB | 9.90KB | ▼ 47.36% |
assets/img/icon.png | 1.54KB | 1.04KB | ▼ 32.13% |