Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.11ms] Passed 4 tests
Server-side resources used by Child Themify
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.93 ▼4.21 |
Dashboard /wp-admin | 3.37 ▲0.07 | 49.28 ▲0.77 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 49.20 ▲1.39 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 82.46 ▼21.43 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 36.36 ▲0.45 |
Create Child Theme /wp-admin/themes.php?page=child_themify | 3.29 | 35.59 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Child Themify: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲72 | 13.18 ▼1.23 | 2.12 ▼0.27 | 41.50 ▼3.89 |
Dashboard /wp-admin | 2,207 ▲19 | 4.86 ▼1.00 | 101.37 ▼13.37 | 40.23 ▼3.46 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.96 ▼0.08 | 36.00 ▼5.13 | 32.08 ▼2.13 |
Add New Post /wp-admin/post-new.php | 1,547 ▲11 | 23.21 ▲0.05 | 672.04 ▲69.78 | 51.23 ▼12.09 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.18 ▲0.02 | 96.00 ▼3.83 | 41.79 ▼4.09 |
Create Child Theme /wp-admin/themes.php?page=child_themify | 829 | 3.82 | 57.42 | 28.57 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/child-themify/child-themify.php:14
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: child, theme, themes
child-themify/child-themify.php Passed 13 tests
This is the main PHP file of "Child Themify" version 2.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
44 characters long description:
Create child themes at the click of a button
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
Everything looks great! No dangerous files found in this plugin391 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 51 | 182 | 389 |
CSS | 1 | 0 | 1 | 1 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 26 | |
▷ Named functions | 26 | 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
No PNG images were found in this plugin