Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- This plugin did not install gracefully
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
Server metrics [RAM: ▼1.97MB] [CPU: ▼57.15ms] Passed 4 tests
A check of server-side resources used by Quick Child Theme Generator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.82 ▼38.20 |
Dashboard /wp-admin | 2.05 ▼1.30 | 5.03 ▼55.45 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.41 ▼42.92 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.24 ▼92.01 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.36 ▼29.23 |
Template /wp-admin/admin.php?page=quick-blank-template-generator | 2.05 | 5.39 |
Quick Child Theme /wp-admin/admin.php?page=quick-child-theme-generator | 2.05 | 11.92 |
Server storage [IO: ▲0.08MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Quick Child Theme Generator
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲91 | 14.68 ▲0.13 | 2.10 ▲0.25 | 44.72 ▲1.41 |
Dashboard /wp-admin | 2,218 ▲37 | 5.58 ▼0.13 | 91.50 ▼10.31 | 43.02 ▲1.69 |
Posts /wp-admin/edit.php | 2,123 ▲20 | 2.02 ▲0.02 | 38.64 ▼2.27 | 36.22 ▲0.73 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 23.32 ▲0.20 | 660.33 ▼10.89 | 68.02 ▲9.75 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.21 ▲0.02 | 101.33 ▼7.01 | 47.76 ▲0.84 |
Template /wp-admin/admin.php?page=quick-blank-template-generator | 873 | 2.07 | 29.21 | 45.53 |
Quick Child Theme /wp-admin/admin.php?page=quick-child-theme-generator | 1,091 | 2.00 | 30.95 | 63.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=quick-child-theme-generator
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
SRP 50% from 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
Please fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_child_theme() in wp-content/plugins/quick-child-theme-generator/views/qcthg_template.php:19
- > PHP Fatal error
Uncaught Error: Class 'QCTHG_Helper' not found in wp-content/plugins/quick-child-theme-generator/views/qcthg_menu.php:15
- > PHP Fatal error
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please add an image for screenshot #4 (Enter any template name and fill other fields as per your requirements. Then click on the Create Template button.)
quick-child-theme-generator/quick-child-theme-generator.php Passed 13 tests
"Quick Child Theme Generator" version 2.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
112 characters long description:
This plugin allows us to generate a quick and easy free child theme and you can create custom templates as well.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,991 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 41 | 49 | 1,304 |
PHP | 7 | 96 | 146 | 680 |
JavaScript | 1 | 1 | 0 | 7 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 12 | 41.38% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/qcthg-logo.png | 1.48KB | 1.21KB | ▼ 18.43% |