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
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.01ms] Passed 4 tests
Analyzing server-side resources used by Customize Kirki Variants
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 34.39 ▼12.65 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.39 ▲0.53 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 46.86 ▲2.82 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 89.41 ▲9.82 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.09 ▲1.27 |
Customize Kirki Variants /wp-admin/options-general.php?page=ckv_settings | 3.25 | 30.87 |
Server storage [IO: ▲0.83MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Customize Kirki Variants: 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,795 ▲34 | 14.37 ▲0.01 | 1.68 ▼0.01 | 37.84 ▼4.79 |
Dashboard /wp-admin | 2,201 ▲24 | 5.48 ▼0.21 | 82.11 ▼9.92 | 38.33 ▼1.51 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.98 ▲0.03 | 39.71 ▲3.33 | 40.32 ▲2.12 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.14 ▼0.30 | 638.60 ▼82.81 | 53.99 ▼16.25 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.17 ▲0.08 | 97.25 ▼7.47 | 42.68 ▼2.32 |
Customize Kirki Variants /wp-admin/options-general.php?page=ckv_settings | 946 | 1.98 | 25.21 | 42.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/customize-kirki-variants/customize-kirki-variants.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: variants, kirki, font weight, font, customize kirki variants
customize-kirki-variants/customize-kirki-variants.php 92% from 13 tests
"Customize Kirki Variants" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected278 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 54 | 63 | 228 |
CSS | 1 | 10 | 0 | 50 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.81MB with 0.54MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/step2.png | 280.04KB | 91.35KB | ▼ 67.38% |
assets/images/step1.png | 286.09KB | 97.36KB | ▼ 65.97% |
assets/images/step3.png | 267.54KB | 90.83KB | ▼ 66.05% |