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.14MB] [CPU: ▼0.56ms] Passed 4 tests
This is a short check of server-side resources used by Child Themes Helper
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 48.23 ▲4.08 |
Dashboard /wp-admin | 3.44 ▲0.14 | 53.43 ▲0.26 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 56.27 ▲7.00 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 83.63 ▼13.37 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 43.77 ▲6.78 |
Server storage [IO: ▲4.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 79 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
pas_cth_edit_allowedFileTypes |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Child Themes Helper
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲92 | 14.69 ▲0.31 | 1.81 ▼0.02 | 43.96 ▲2.57 |
Dashboard /wp-admin | 2,244 ▲59 | 5.93 ▲0.12 | 101.73 ▼1.94 | 41.67 ▼2.90 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.08 ▲0.03 | 36.88 ▼3.23 | 33.91 ▼0.18 |
Add New Post /wp-admin/post-new.php | 1,550 ▲17 | 17.83 ▼5.16 | 682.96 ▲21.85 | 38.53 ▼14.04 |
Media Library /wp-admin/upload.php | 1,426 ▲35 | 4.30 ▲0.12 | 101.34 ▼4.12 | 41.65 ▼3.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- pas_cth_test
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- pas_cth_edit_allowedFileTypes
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function child_themes_helper\\delete_option() in wp-content/plugins/child-themes-helper/lib/plugin_constants.php:24
- > 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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
child-themes-helper/child-themes-helper.php 92% from 13 tests
The entry point to "Child Themes Helper" version 2.2.7 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 235 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin5,652 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 542 | 609 | 2,268 |
CSS | 6 | 21 | 104 | 1,732 |
JavaScript | 8 | 196 | 135 | 1,630 |
Markdown | 1 | 10 | 0 | 22 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 27.25 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 87 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 80 | 91.95% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 8.05% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 19 | |
▷ Global constants | 19 | 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
26 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/fonts/samples/Roboto-Regular.png | 1.21KB | 1.17KB | ▼ 2.99% |
assets/fonts/samples/Roboto-Black.png | 1.18KB | 1.13KB | ▼ 4.05% |
assets/fonts/samples/OpenSansCondensed-Bold.png | 1.13KB | 1.09KB | ▼ 3.37% |
assets/fonts/samples/Roboto-Medium.png | 1.20KB | 1.16KB | ▼ 3.33% |
assets/fonts/samples/GloriaHallelujah.png | 0.97KB | 0.93KB | ▼ 4.13% |