Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲4.76MB] [CPU: ▼323.89ms] 75% from 4 tests
Analyzing server-side resources used by WCC SEO Keyword Research
Please have a look at the following items
- CPU: The total CPU usage must kept under 500.00ms (currently 911.63ms on /wp-admin/admin.php?page=wcc-seo-keyword-research)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.66 ▲5.15 | 75.52 ▲20.26 |
Dashboard /wp-admin | 8.68 ▲5.27 | 58.90 ▼1.48 |
Posts /wp-admin/edit.php | 8.68 ▲5.04 | 57.35 ▲19.62 |
Add New Post /wp-admin/post-new.php | 10.55 ▲3.58 | 115.38 ▼1,333.96 |
Media Library /wp-admin/upload.php | 8.68 ▲5.39 | 52.68 ▲27.72 |
Freemius Debug [v.2.4.2] /wp-admin/admin.php?page=freemius | 8.68 | 46.86 |
WCC SEO Keyword Research /wp-admin/admin.php?page=wcc-seo-keyword-research | 8.68 | 911.63 |
Server storage [IO: ▲4.31MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 263 new files
Database: no new tables, 5 new options
New WordPress options |
---|
fs_accounts |
fs_debug_mode |
fs_gdpr |
fs_active_plugins |
wcc_seo_keyword_research_db_version |
Browser metrics Passed 4 tests
An overview of browser requirements for WCC SEO Keyword Research
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,814 ▲70 | 15.71 ▼0.31 | 5.55 ▼1.19 | 2.21 ▲0.05 |
Dashboard /wp-admin | 2,943 ▲89 | 6.12 ▲0.01 | 117.20 ▼18.49 | 374.71 ▲214.37 |
Posts /wp-admin/edit.php | 2,737 ▲49 | 3.24 ▲0.01 | 65.55 ▼32.45 | 217.12 ▲54.35 |
Add New Post /wp-admin/post-new.php | 1,682 ▲21 | 21.89 ▲4.30 | 441.71 ▲29.86 | 168.33 ▼49.99 |
Media Library /wp-admin/upload.php | 1,746 ▲54 | 5.65 ▲0.12 | 148.27 ▲3.23 | 212.63 ▲30.07 |
Freemius Debug [v.2.4.2] /wp-admin/admin.php?page=freemius | 1,473 | 2.54 | 51.32 | 112.99 |
WCC SEO Keyword Research /wp-admin/admin.php?page=wcc-seo-keyword-research | 1,683 | 4.26 | 87.31 | 278.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/wcc-seo-keyword-research/freemius/includes/class-freemius.php+8552
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 5 options in the database
- fs_accounts
- fs_debug_mode
- fs_active_plugins
- wcc_seo_keyword_research_db_version
- fs_gdpr
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wcc-seo-keyword-research/freemius/templates/ajax-loader.php
- 13× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wcc-seo-keyword-research/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/wcc-seo-keyword-research/freemius/templates/account/partials/addon.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function freemius() in wp-content/plugins/wcc-seo-keyword-research/freemius/templates/partials/network-activation.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wcc-seo-keyword-research/includes/getApiKey.php:19
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/wcc-seo-keyword-research/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wcc-seo-keyword-research/freemius/templates/account/partials/addon.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wcc-seo-keyword-research/includes/setting.php:41
- > PHP Fatal error
Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/wcc-seo-keyword-research/freemius/templates/account/partials/addon.php:9
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/wcc-seo-keyword-research/freemius/templates/account/partials/addon.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/wcc-seo-keyword-research/includes/wcc_keyword_research-xls-export.php:11
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
1 plugin tags: seo keyword research
wcc-seo-keyword-research/wcc_seo_keyword_research.php 92% from 13 tests
The primary PHP file in "WCC SEO Keyword Research" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wcc-seo-keyword-research.php" instead of "wcc_seo_keyword_research.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected35,638 lines of code in 160 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 114 | 8,052 | 16,128 | 32,050 |
CSS | 17 | 1,739 | 27 | 1,400 |
JavaScript | 8 | 146 | 202 | 1,195 |
SVG | 19 | 0 | 9 | 752 |
Markdown | 1 | 68 | 0 | 214 |
JSON | 1 | 0 | 0 | 27 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
Please fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 2,907)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 90.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,907.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 47 | |
▷ Abstract classes | 2 | 4.26% |
▷ Concrete classes | 45 | 95.74% |
▷ Final classes | 0 | 0.00% |
Methods | 1,182 | |
▷ Static methods | 184 | 15.57% |
▷ Public methods | 824 | 69.71% |
▷ Protected methods | 29 | 2.45% |
▷ Private methods | 329 | 27.83% |
Functions | 108 | |
▷ Named functions | 107 | 99.07% |
▷ Anonymous functions | 1 | 0.93% |
Constants | 127 | |
▷ Global constants | 100 | 78.74% |
▷ Class constants | 27 | 21.26% |
▷ Public constants | 27 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
17 PNG files occupy 0.36MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/tool/excel.png | 34.92KB | 12.95KB | ▼ 62.93% |
(invalid) img/placeholder-2.png | 37.42KB | 0.00KB | ▼ 100.00% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
img/zillow-Logo.png | 1.56KB | 1.19KB | ▼ 23.34% |
img/tool/xls.png | 59.46KB | 22.20KB | ▼ 62.66% |