80% keyword-research-tool

Code Review | Keyword Research Tool

WordPress plugin Keyword Research Tool scored80%from 54 tests.

About plugin

  • Plugin page: keyword-research-...
  • Plugin version: 1.8.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-6.2
  • WordPress version: 6.3.1
  • First release: Mar 28, 2019
  • Latest release: Apr 24, 2023
  • Number of updates: 62
  • Update frequency: every 24.0 days
  • Top authors: SEOreviewtools (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

1,000+ active /22,610 total downloads

Benchmarks

Plugin footprint 65% 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.04MB] [CPU: ▼2.14ms] Passed 4 tests

Analyzing server-side resources used by Keyword Research Tool
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0340.68 ▲1.78
Dashboard /wp-admin3.35 ▲0.0549.00 ▲2.18
Posts /wp-admin/edit.php3.40 ▲0.0548.48 ▼2.51
Add New Post /wp-admin/post-new.php5.93 ▲0.0589.29 ▼9.25
Media Library /wp-admin/upload.php3.27 ▲0.0537.57 ▲1.42

Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Keyword Research Tool
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.32 ▼0.251.64 ▼0.1442.99 ▲3.12
Dashboard /wp-admin2,197 ▲205.49 ▼0.0682.04 ▼3.7769.34 ▲29.93
Posts /wp-admin/edit.php2,108 ▲81.96 ▼0.0539.66 ▲3.4135.40 ▲4.92
Add New Post /wp-admin/post-new.php1,690 ▲16122.36 ▼0.64677.12 ▲62.1661.49 ▲6.13
Media Library /wp-admin/upload.php1,411 ▲114.07 ▼0.1595.35 ▼1.6575.04 ▲30.46

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin did not uninstall without warnings or errors
    • > Warning in wp-includes/class-wp-hook.php+310
    call_user_func_array() expects parameter 1 to be a valid callback, function 'uninstall_removedata' not found or invalid function name
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: keyword tool, content, keywords, keyword research, seo

keyword-research-tool/keyword-research-tool.php 92% from 13 tests

The principal PHP file in "Keyword Research Tool" v. 1.8.1 is loaded by WordPress automatically on each request
The following require your attention:
  • Description: Please don't use more than 140 characters for the plugin description (currently 162 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin383 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP214755383

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.20
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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 PNG files occupy 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/icon.png18.19KB0.68KB▼ 96.26%
images/LinkedIn.png10.07KB6.64KB▼ 34.07%
images/seo-review-tools.png23.85KB3.59KB▼ 84.97%