Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼6.11ms] Passed 4 tests
Server-side resources used by One Click Logo
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 37.00 ▼6.45 |
Dashboard /wp-admin | 3.48 ▲0.14 | 49.44 ▼13.65 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 55.69 ▲4.90 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 94.53 ▼6.84 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.90 ▲2.52 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
ocl_version |
can_compress_scripts |
ocl_installed |
Browser metrics Passed 4 tests
One Click Logo: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,966 ▲220 | 14.87 ▲0.58 | 1.89 ▲0.03 | 41.88 ▼0.42 |
Dashboard /wp-admin | 2,347 ▲159 | 6.39 ▲0.53 | 134.26 ▲23.67 | 41.73 ▼1.17 |
Posts /wp-admin/edit.php | 2,250 ▲158 | 3.31 ▲1.30 | 48.50 ▲10.93 | 32.96 ▼3.01 |
Add New Post /wp-admin/post-new.php | 1,681 ▲167 | 24.39 ▲6.93 | 592.13 ▼38.74 | 35.84 ▼21.60 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.13 ▼0.11 | 80.88 ▼26.47 | 42.28 ▼1.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- ocl_installed
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- ocl_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: wordpress login logo, login, logo, custom logo, login page logo...
one-click-logo/one-click-logo.php 92% from 13 tests
The main PHP file in "One Click Logo" ver. 1.1.3 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.0" instead of "5.6")
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 detected782 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 245 | 263 | 689 |
PO File | 1 | 9 | 9 | 38 |
JSON | 2 | 0 | 0 | 24 |
JavaScript | 1 | 1 | 0 | 20 |
CSS | 1 | 0 | 0 | 8 |
Markdown | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 51 | |
▷ Static methods | 16 | 31.37% |
▷ Public methods | 48 | 94.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.88% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin