Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼2.74ms] Passed 4 tests
Server-side resources used by Generate Child Theme
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 42.61 ▼2.04 |
Dashboard /wp-admin | 3.42 ▲0.12 | 51.41 ▼7.80 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 52.89 ▲2.48 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 92.65 ▼3.27 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 40.12 ▲2.15 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Generate Child Theme
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.34 ▼0.22 | 1.93 ▲0.32 | 40.98 ▼2.35 |
Dashboard /wp-admin | 2,211 ▲40 | 5.66 ▲0.13 | 92.67 ▼1.31 | 42.13 ▼0.67 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.09 ▲0.11 | 36.93 ▼3.72 | 33.58 ▼4.49 |
Add New Post /wp-admin/post-new.php | 1,549 ▲21 | 22.81 ▼0.31 | 648.05 ▼55.95 | 56.09 ▼5.84 |
Media Library /wp-admin/upload.php | 1,413 ▲10 | 4.20 ▼0.02 | 101.02 ▼12.64 | 43.17 ▼3.49 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/generate-child-theme/templates/child-theme-css.php
- > /wp-content/plugins/generate-child-theme/templates/rtl-css.php
- 16× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: version in wp-content/plugins/generate-child-theme/templates/child-theme-css.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/generate-child-theme/partials/footer.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/generate-child-theme/partials/generate-child-theme-admin-display.php:17
- > PHP Notice
Undefined variable: theme_name in wp-content/plugins/generate-child-theme/templates/rtl-css.php on line 2
- > PHP Notice
Undefined variable: parent_theme_name in wp-content/plugins/generate-child-theme/templates/rtl-css.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_action() in wp-content/plugins/generate-child-theme/partials/CatchThemesThemePlugin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/generate-child-theme/partials/sidebar.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/generate-child-theme/partials/dashboard-display.php:19
- > PHP Notice
Undefined variable: parent_theme_template in wp-content/plugins/generate-child-theme/templates/rtl-css.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/generate-child-theme/partials/ctp-tabs-removal.php:16
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Main Page), #2 (Infinite Scroll on blog posts page), #3 (Infinite Scroll on WooCommerce shop page)
generate-child-theme/generate-child-theme.php Passed 13 tests
The main PHP script in "Generate Child Theme" version 1.9 is automatically included on every request by WordPress
83 characters long description:
Create child themes of any WordPress themes effortlessly with Generate Child Theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,553 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 175 | 175 | 831 |
CSS | 2 | 139 | 21 | 668 |
JavaScript | 3 | 11 | 4 | 54 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 34.50 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 4.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.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 | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/free-plugin-246x116.png | 8.01KB | 3.81KB | ▼ 52.42% |
images/premium-plugin-246x116.png | 9.01KB | 4.16KB | ▼ 53.83% |