Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼141.18ms] Passed 4 tests
Analyzing server-side resources used by WP Content Generator Blog Planner FREE for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.04 ▲0.32 | 40.57 ▲16.57 |
Dashboard /wp-admin | 3.30 ▲0.24 | 45.55 ▲2.76 |
Posts /wp-admin/edit.php | 3.41 ▲0.30 | 42.57 ▼0.65 |
Add New Post /wp-admin/post-new.php | 5.66 ▲0.22 | 88.90 ▼570.59 |
Media Library /wp-admin/upload.php | 3.24 ▲0.24 | 35.30 ▲3.75 |
WooGetter /wp-admin/edit.php?post_type=wp_cg_woogetter | 3.28 | 35.99 |
Structural Phrases /wp-admin/edit.php?post_type=wp_cg_wooget_phrases | 3.28 | 32.74 |
WPCG Dashboard /wp-admin/admin.php?page=wp-cg-dashboard | 3.22 | 29.58 |
Test /wp-admin/admin.php?page=wp-cg-test-file-phrases | 3.21 | 28.22 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 3 new options
New WordPress options |
---|
wp_cg_options |
wp_cg_phrases_settings |
wp_cg_analysis |
Browser metrics Passed 4 tests
A check of browser resources used by WP Content Generator Blog Planner FREE for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,753 ▲157 | 15.85 ▲0.33 | 7.92 ▼1.47 | 51.55 ▲0.56 |
Dashboard /wp-admin | 3,037 ▲106 | 5.86 ▼0.25 | 134.65 ▼5.06 | 119.48 ▲4.39 |
Posts /wp-admin/edit.php | 2,830 ▲91 | 2.73 ▲0.02 | 59.02 ▼9.59 | 94.04 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,922 ▲252 | 19.16 ▲0.06 | 388.56 ▲10.22 | 103.62 ▼9.81 |
Media Library /wp-admin/upload.php | 1,825 ▲18 | 5.00 ▼0.14 | 126.80 ▼15.41 | 144.75 ▲30.99 |
WooGetter /wp-admin/edit.php?post_type=wp_cg_woogetter | 1,506 | 2.63 | 56.59 | 76.82 |
Structural Phrases /wp-admin/edit.php?post_type=wp_cg_wooget_phrases | 1,506 | 2.63 | 59.47 | 77.15 |
WPCG Dashboard /wp-admin/admin.php?page=wp-cg-dashboard | 1,251 | 2.22 | 53.97 | 83.90 |
Test /wp-admin/admin.php?page=wp-cg-test-file-phrases | 1,118 | 2.05 | 50.10 | 54.07 |
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
- Zombie WordPress options were found after uninstall: 3 options
- wp_cg_phrases_settings
- wp_cg_analysis
- wp_cg_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-cg-test-file-phrases
- > Notice in wp-content/plugins/wp-content-generator-blog-planner-free/includes/wp-cg-file-phrases-test-settings.php+60
Undefined index: test_confirmed
- > GET request to /wp-admin/admin.php?page=wp-cg-test-file-phrases
- > Notice in wp-content/plugins/wp-content-generator-blog-planner-free/includes/wp-cg-file-phrases-test-settings.php+49
Undefined variable: actual_link
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-content-generator-blog-planner-free/wp-cg-blog-planner-free.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid URI found ("")
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5 in wp-content-generator-blog-planner-free/assets to your readme.txt
wp-content-generator-blog-planner-free/wp-cg-blog-planner-free.php 85% from 13 tests
The entry point to "WP Content Generator Blog Planner FREE for WooCommerce" version 1.0.6 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-content-generator-blog-planner-free.php" instead of "wp-cg-blog-planner-free.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin2,052 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 424 | 358 | 1,713 |
PO File | 1 | 102 | 139 | 320 |
CSS | 1 | 3 | 2 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 55.00 |
▷ Minimum class complexity | 55.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 3.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.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
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/wp-cg-page-refresh-icon.png | 0.47KB | 0.59KB | 0.00% |
wp-content-generator-blog-planner-icon.png | 0.91KB | 1.13KB | 0.00% |
icons/wp-cg-crawler-favicon.png | 0.38KB | 0.44KB | 0.00% |