78% wp-keyword-finder

Code Review | WordPress Keyword Finder

WordPress plugin WordPress Keyword Finder scored78%from 54 tests.

About plugin

  • Plugin page: wp-keyword-finder
  • Plugin version: 1.1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.9
  • WordPress version: 6.3.1
  • First release: Sep 16, 2020
  • Latest release: Jan 23, 2022
  • Number of updates: 17
  • Update frequency: every 29.0 days
  • Top authors: evilbozkurt (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /911 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲0.09MB] [CPU: ▼12.74ms] Passed 4 tests

An overview of server-side resources used by WordPress Keyword Finder
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1042.16 ▲0.23
Dashboard /wp-admin3.41 ▲0.0647.92 ▼23.68
Posts /wp-admin/edit.php3.46 ▲0.1049.93 ▲1.31
Add New Post /wp-admin/post-new.php6.00 ▲0.1283.60 ▼21.52
Media Library /wp-admin/upload.php3.33 ▲0.1033.50 ▼5.99
Keyword Finder /wp-admin/options-general.php?page=wpkf_keyword_finder_dashboard3.3131.35

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 9 new options
New WordPress options
widget_theysaidso_widget
WPKF_default_source
db_upgraded
theysaidso_admin_options
widget_recent-posts
WPKF_default_language
can_compress_scripts
widget_recent-comments
WPKF_default_country

Browser metrics Passed 4 tests

WordPress Keyword Finder: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,795 ▲3414.70 ▲0.152.70 ▲1.0238.94 ▼3.17
Dashboard /wp-admin2,204 ▲245.63 ▼0.0494.12 ▲1.8243.46 ▲0.47
Posts /wp-admin/edit.php2,106 ▲62.03 ▲0.0039.58 ▼1.2337.36 ▲1.24
Add New Post /wp-admin/post-new.php7,923 ▲6,39725.89 ▲2.58868.00 ▲166.4862.74 ▲7.98
Media Library /wp-admin/upload.php1,409 ▲124.18 ▼0.0199.02 ▼18.6343.80 ▼5.94
Keyword Finder /wp-admin/options-general.php?page=wpkf_keyword_finder_dashboard2,5251.9927.5632.68

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 7 options in the database
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • WPKF_default_source
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
The following issues need your attention
  • 4× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/wp-keyword-finder/admin/index.php
    • > /wp-content/plugins/wp-keyword-finder/wp-keyword-finder.php
    • > /wp-content/plugins/wp-keyword-finder/admin/admin.php
    • > /wp-content/plugins/wp-keyword-finder/WPKF-functions.php
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-keyword-finder/includes/settings.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% 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:
  • Screenshots: Add images for these screenshots: #1 (Description of first screenshot named screenshot-1), #2 (Description of second screenshot named screenshot-2)
  • Contributors: Plugin contributors field is missing
Please take inspiration from this readme.txt

wp-keyword-finder/wp-keyword-finder.php 92% from 13 tests

Analyzing the main PHP file in "WordPress Keyword Finder" version 1.1.2
The following require your attention:
  • Description: Please keep the plugin description shorter than 140 characters (currently 194 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected1,188 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP65725915
CSS2120239
JavaScript15734

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.47
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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
PNG images were not found in this plugin