Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.54MB] [CPU: ▲4.06ms] Passed 4 tests
An overview of server-side resources used by Starter Templates by Kadence WP
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.68 ▲1.22 | 46.55 ▲6.55 |
Dashboard /wp-admin | 4.95 ▲1.65 | 57.77 ▲10.56 |
Posts /wp-admin/edit.php | 5.07 ▲1.71 | 51.05 ▲5.27 |
Add New Post /wp-admin/post-new.php | 7.54 ▲1.65 | 86.32 ▼6.16 |
Media Library /wp-admin/upload.php | 4.88 ▲1.65 | 44.56 ▲12.04 |
Starter Templates /wp-admin/themes.php?page=kadence-starter-templates | 5.03 | 42.44 |
Server storage [IO: ▲0.75MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 57 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
kadence_starter_templates_config |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Starter Templates by Kadence WP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.14 ▼0.15 | 1.79 ▲0.23 | 47.48 ▲7.65 |
Dashboard /wp-admin | 2,202 ▲25 | 5.65 ▲0.05 | 96.55 ▲8.94 | 42.15 ▼2.57 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 2.02 ▲0.01 | 33.44 ▼1.32 | 34.34 ▼2.49 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.15 ▼0.04 | 627.39 ▼1.23 | 50.94 ▼0.34 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.22 ▲0.07 | 103.45 ▲10.48 | 46.11 ▲4.31 |
Starter Templates /wp-admin/themes.php?page=kadence-starter-templates | 1,845 | 14.28 | 301.07 | 58.64 |
Uninstaller [IO: ▲0.31MB] [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 detected upon uninstall: 7 options
- widget_recent-posts
- kadence_starter_templates_config
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Importer' not found in wp-content/plugins/kadence-starter-templates/vendor/wxr-importer/WXRImporter.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function Kadence_Starter_Templates\\is_admin() in wp-content/plugins/kadence-starter-templates/inc/class-template-database-importer.php:120
- > PHP Fatal error
Uncaught Error: Class 'AwesomeMotive\\WPContentImporter2\\WXRImporter' not found in wp-content/plugins/kadence-starter-templates/vendor/wxr-importer/Importer.php:10
- > PHP Fatal error
Uncaught Error: Class 'Kadence_Starter_Templates\\Logger' not found in wp-content/plugins/kadence-starter-templates/inc/class-logger-cli.php:26
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Setting' not found in wp-content/plugins/kadence-starter-templates/inc/class-customizer-option.php:16
- > PHP Fatal error
Uncaught Error: Class 'AwesomeMotive\\WPContentImporter2\\WXRImporter' not found in wp-content/plugins/kadence-starter-templates/inc/class-wxr-importer.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function Kadence_Starter_Templates\\add_action() in wp-content/plugins/kadence-starter-templates/inc/class-author-meta.php:38
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Setting' not found in wp-content/plugins/kadence-starter-templates/inc/class-import-customizer-option.php:20
- > PHP Fatal error
Uncaught Error: Class 'AwesomeMotive\\WPContentImporter2\\WPImporterLogger' not found in wp-content/plugins/kadence-starter-templates/vendor/wxr-importer/WPImporterLoggerCLI.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/themes.php?page=kadence-starter-templates
- > Console-api (warning) in wp-includes/js/dist/deprecated.min.js?ver=73ad3591e7bc95f4777a+1:627
`position` prop in wp.components.Dropdown is deprecated since version 6.2. Please use `popoverProps.placement` prop instead. Note: Note that the `position` prop will override any values passed through the `popoverProps.placement` prop.
Optimizations
Plugin configuration Passed 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
2 plugin tags: gutenberg, templates
kadence-starter-templates/kadence-starter-templates.php Passed 13 tests
The primary PHP file in "Starter Templates by Kadence WP" version 1.2.22 is used by WordPress to initiate all plugin functionality
48 characters long description:
Choose the prebuilt website and click to import.
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
No dangerous file extensions were detected10,372 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 1,213 | 3,006 | 6,964 |
JavaScript | 8 | 18 | 97 | 2,012 |
Sass | 2 | 7 | 4 | 1,084 |
CSS | 3 | 70 | 11 | 312 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 44.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 314.00 |
Average method complexity | 5.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 2 | 7.69% |
Methods | 270 | |
▷ Static methods | 66 | 24.44% |
▷ Public methods | 197 | 72.96% |
▷ Protected methods | 38 | 14.07% |
▷ Private methods | 35 | 12.96% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/kadence_logo.png | 23.29KB | 11.74KB | ▼ 49.58% |