Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.85ms] Passed 4 tests
Analyzing server-side resources used by Child Theme Wizard
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 40.61 ▼0.92 |
Dashboard /wp-admin | 3.34 ▼0.01 | 52.40 ▼14.77 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.31 ▼7.33 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 92.08 ▼1.95 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 35.74 ▼7.35 |
Child Theme Wizard /wp-admin/tools.php?page=ChildThemeWizard | 3.25 | 34.35 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Child Theme Wizard
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲22 | 14.26 ▼0.04 | 1.92 ▼0.02 | 44.27 ▲2.54 |
Dashboard /wp-admin | 2,199 ▲25 | 5.66 ▲0.01 | 85.82 ▼8.04 | 41.22 ▼4.63 |
Posts /wp-admin/edit.php | 2,104 ▲25 | 2.00 ▼0.02 | 38.05 ▼0.57 | 33.39 ▼2.19 |
Add New Post /wp-admin/post-new.php | 1,529 ▼3 | 17.81 ▼5.38 | 623.86 ▼63.19 | 68.57 ▼0.53 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.14 ▼0.13 | 100.27 ▼15.86 | 44.33 ▼5.44 |
Child Theme Wizard /wp-admin/tools.php?page=ChildThemeWizard | 1,313 | 7.81 | 212.10 | 63.97 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, 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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/child-theme-wizard/child-theme-wizard.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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 need to be fixed:
- Screenshots: Add descriptions for screenshots #2, #2, #3, #3 in child-theme-wizard/assets to your readme.txt
child-theme-wizard/child-theme-wizard.php Passed 13 tests
Analyzing the main PHP file in "Child Theme Wizard" version 1.4
55 characters long description:
Creates a child theme from any theme you have installed
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin240 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 68 | 94 | 240 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
2 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/screenshot.png | 98.64KB | 56.96KB | ▼ 42.25% |
images/guru-header-2013.png | 33.72KB | 13.19KB | ▼ 60.90% |