99% keyword-landing-page-generator

Code Review | Keyword Landing Page Generator (Free)

WordPress plugin Keyword Landing Page Generator (Free) scored 99% from 54 tests.

About plugin

  • Plugin page: keyword-landing-p...
  • Plugin version: 1.01
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.4.2
  • WordPress version: 5.8.1
  • First release: Feb 5, 2016
  • Latest release: Mar 28, 2016
  • Number of updates: 8
  • Update frequency: every 6.7 days
  • Top authors: stubgo (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active / 2,105 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.12MB] [CPU: ▼139.70ms] Passed 4 tests

An overview of server-side resources used by Keyword Landing Page Generator (Free)
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.94 ▲0.2236.90 ▲9.06
Dashboard /wp-admin3.17 ▲0.1146.24 ▼11.75
Posts /wp-admin/edit.php3.26 ▲0.1544.86 ▼1.15
Add New Post /wp-admin/post-new.php5.53 ▲0.10100.48 ▼540.62
Media Library /wp-admin/upload.php3.11 ▲0.1037.24 ▼5.26
Instructions /wp-admin/admin.php?page=wpsos-landing-page-generator&tab=instructions3.1034.33
General /wp-admin/admin.php?page=wpsos-landing-page-generator&tab=general3.0933.44
Keywords /wp-admin/admin.php?page=wpsos-landing-page-generator&tab=keywords3.0833.27
For Developers /wp-admin/admin.php?page=wpsos-landing-page-generator&tab=developers3.0933.10
Support /wp-admin/admin.php?page=wpsos-landing-page-generator&tab=support3.0933.50

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 3 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Keyword Landing Page Generator (Free)
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,758 ▲16215.95 ▲0.6810.47 ▲1.1747.28 ▼12.06
Dashboard /wp-admin3,026 ▲955.99 ▼0.15144.09 ▼22.08116.33 ▲4.74
Posts /wp-admin/edit.php2,794 ▲552.70 ▲0.0170.61 ▼3.94102.49 ▲5.95
Add New Post /wp-admin/post-new.php1,651 ▼3221.67 ▲2.89284.05 ▼124.32116.29 ▲14.06
Media Library /wp-admin/upload.php1,862 ▲555.04 ▲0.04163.14 ▲9.79119.60 ▼4.51
Instructions /wp-admin/admin.php?page=wpsos-landing-page-generator&tab=instructions1,2952.3357.46109.17
General /wp-admin/admin.php?page=wpsos-landing-page-generator&tab=general1,2932.3660.7398.58
Keywords /wp-admin/admin.php?page=wpsos-landing-page-generator&tab=keywords1,7942.3362.01105.90
For Developers /wp-admin/admin.php?page=wpsos-landing-page-generator&tab=developers1,3352.3464.60102.01
Support /wp-admin/admin.php?page=wpsos-landing-page-generator&tab=support1,2472.3664.0393.30

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully

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
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
  • Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt is a good inspiration

keyword-landing-page-generator/keyword-landing-page-generator.php 92% from 13 tests

The primary PHP file in "Keyword Landing Page Generator (Free)" version 1.01 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Description: Please keep the plugin description shorter than 140 characters (currently 210 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected784 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity25.00
▷ Minimum class complexity25.00
▷ Maximum class complexity25.00
Average method complexity2.15
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods21100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions685.71%
▷ Anonymous functions114.29%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.34MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/triggering-keywords.png61.14KB22.43KB▼ 63.31%
img/custom-html.png45.68KB19.87KB▼ 56.51%
img/general_settings.png75.23KB31.09KB▼ 58.68%
img/edit-page.png37.39KB17.02KB▼ 54.49%
img/keyword-values.png76.41KB30.26KB▼ 60.40%