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
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▲0.20ms] Passed 4 tests
Server-side resources used by Child Theme Configurator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.69 ▼0.43 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.75 ▼1.45 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 46.37 ▲2.66 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 93.33 ▲3.00 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.17 ▲0.01 |
Child Themes /wp-admin/tools.php?page=chld_thm_cfg_menu | 4.29 | 44.49 |
Server storage [IO: ▲1.72MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 68 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Child Theme Configurator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.20 ▼1.18 | 1.66 ▲0.02 | 39.54 ▼4.53 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼0.02 | 103.03 ▼3.47 | 38.70 ▼4.04 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.03 | 34.21 ▼0.70 | 33.53 ▼5.46 |
Add New Post /wp-admin/post-new.php | 1,545 ▲1 | 18.61 ▲0.31 | 630.33 ▲12.34 | 54.34 ▲4.75 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.27 ▲0.04 | 98.11 ▼7.56 | 44.28 ▲2.17 |
Child Themes /wp-admin/tools.php?page=chld_thm_cfg_menu | 2,516 | 2.76 | 72.04 | 90.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/child-theme-configurator/includes/forms/errorstrings.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/child-theme-configurator/includes/forms/related.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Parent/Child tab), #2 (Parent/Child tab with parent theme menu open), #3 (Query/Selector tab), #4 (Property/Value tab), #5 (Web Fonts tab), #6 (Parent CSS tab), #7 (Files tab)
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
child-theme-configurator/child-theme-configurator.php Passed 13 tests
The main PHP script in "Child Theme Configurator" version 2.6.3 is automatically included on every request by WordPress
114 characters long description:
When using the Customizer is not enough - Create child themes and customize styles, templates, functions and more.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin14,755 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 37 | 606 | 1,108 | 6,199 |
JavaScript | 8 | 718 | 884 | 5,322 |
PO File | 3 | 763 | 780 | 2,160 |
CSS | 1 | 7 | 61 | 1,074 |
PHP code Passed 2 tests
This is a very shot review 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.40 |
Average class complexity | 95.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 438.00 |
Average method complexity | 5.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 81.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 251 | |
▷ Static methods | 29 | 11.55% |
▷ Public methods | 242 | 96.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 3.59% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 13 | 92.86% |
▷ Class constants | 1 | 7.14% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.18MB with 0.09MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/hook-highlighter-box.png | 185.99KB | 59.24KB | ▼ 68.15% |
css/lilaea-logo.png | 3.20KB | 2.22KB | ▼ 30.57% |