Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.11ms] Passed 4 tests
This is a short check of server-side resources used by WP Child Theme Generator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 35.86 ▼1.87 |
Dashboard /wp-admin | 3.44 ▲0.14 | 47.37 ▼3.45 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 53.08 ▲6.67 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 85.67 ▼12.17 |
Media Library /wp-admin/upload.php | 3.36 ▲0.14 | 41.79 ▲5.04 |
Child Theme Gen /wp-admin/themes.php?page=custom-child-theme | 3.33 | 36.13 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
WP Child Theme Generator: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲71 | 14.39 ▲0.04 | 1.69 ▲0.02 | 38.79 ▼0.84 |
Dashboard /wp-admin | 2,235 ▲58 | 5.64 ▲0.05 | 89.57 ▼1.39 | 38.90 ▼2.64 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 2.03 ▲0.04 | 41.20 ▲6.66 | 35.94 ▲1.38 |
Add New Post /wp-admin/post-new.php | 1,562 ▲36 | 23.06 ▲0.07 | 674.32 ▲8.19 | 63.40 ▲10.05 |
Media Library /wp-admin/upload.php | 1,440 ▲40 | 4.21 ▲0.14 | 110.32 ▼14.11 | 46.46 ▲3.21 |
Child Theme Gen /wp-admin/themes.php?page=custom-child-theme | 1,216 | 2.50 | 43.05 | 44.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 9× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-child-theme-generator/wp-custom-child/wp-custom-child.php
- > /wp-content/plugins/wp-child-theme-generator/wp-easy-child/wp-easy-child.php
- > /wp-content/plugins/wp-child-theme-generator/wp-custom-child/wp-custom-child-hooks.php
- > /wp-content/plugins/wp-child-theme-generator/wp-custom-child/wp-custom-child-form.php
- > /wp-content/plugins/wp-child-theme-generator/templates/functions.php
- > /wp-content/plugins/wp-child-theme-generator/wp-easy-child/wp-easy-child-hooks.php
- > /wp-content/plugins/wp-child-theme-generator/wp-child-theme-generator-styling.php
- > /wp-content/plugins/wp-child-theme-generator/wp-child-theme-generator.php
- > /wp-content/plugins/wp-child-theme-generator/wp-custom-child/wp-custom-child-form-handling.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wp-child-theme-generator/templates/css.php:2
- > PHP Notice
Undefined variable: function in wp-content/plugins/wp-child-theme-generator/templates/functions.php on line 8
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
wp-child-theme-generator/wp-child-theme-generator.php Passed 13 tests
The primary PHP file in "WP Child Theme Generator" version 1.0.8 is used by WordPress to initiate all plugin functionality
76 characters long description:
A simple plugin for easy child theme making, easy but very effective. Enjoy!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin764 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 172 | 109 | 564 |
CSS | 1 | 15 | 0 | 120 |
JavaScript | 2 | 20 | 2 | 80 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 2 | |
▷ Static methods | 1 | 50.00% |
▷ Public methods | 1 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 50.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/docico.png | 7.15KB | 3.26KB | ▼ 54.48% |
assets/images/plugin.png | 10.22KB | 4.68KB | ▼ 54.23% |
assets/images/help.png | 8.58KB | 3.63KB | ▼ 57.74% |