84% keyword-analyzer

Code Review | Keyword Analyzer

WordPress plugin Keyword Analyzer scored84%from 54 tests.

About plugin

  • Plugin page: keyword-analyzer
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.3
  • WordPress version: 6.3.1
  • First release: Dec 18, 2019
  • Latest release: Dec 18, 2019
  • Number of updates: 10
  • Update frequency: every 0.7 days
  • Top authors: pluginbyvisualwebz (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /623 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.00MB] [CPU: ▼10.24ms] Passed 4 tests

An overview of server-side resources used by Keyword Analyzer
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0042.58 ▼5.26
Dashboard /wp-admin3.31 ▼0.0348.81 ▼16.01
Posts /wp-admin/edit.php3.36 ▲0.0146.58 ▼4.23
Add New Post /wp-admin/post-new.php5.89 ▲0.0182.72 ▼15.45
Media Library /wp-admin/upload.php3.23 ▲0.0137.03 ▲0.85
Keyword Analyzer /wp-admin/admin.php?page=keywordanalyzer_layout3.2335.31

Server storage [IO: ▲0.46MB] [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
widget_theysaidso_widget
widget_recent-comments
db_upgraded
can_compress_scripts
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for Keyword Analyzer
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲7313.61 ▼0.581.82 ▲0.0643.36 ▼0.23
Dashboard /wp-admin2,225 ▲405.84 ▲0.98101.10 ▼13.7442.46 ▼0.93
Posts /wp-admin/edit.php2,108 ▲192.01 ▼0.0336.15 ▼0.5835.42 ▲1.19
Add New Post /wp-admin/post-new.php1,560 ▲3223.36 ▲4.95665.32 ▲1.0256.44 ▼12.75
Media Library /wp-admin/upload.php1,410 ▲224.21 ▲0.0296.00 ▼11.8046.37 ▼0.97
Keyword Analyzer /wp-admin/admin.php?page=keywordanalyzer_layout8233.1946.3139.39

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
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

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

SRP 50% from 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
Please take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_pages() in wp-content/plugins/keyword-analyzer/view/ka_layout.php:23

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Donate link: Invalid url: ""
The official readme.txt is a good inspiration

keyword-analyzer/keyword-analyzer.php Passed 13 tests

Analyzing the main PHP file in "Keyword Analyzer" version 1.0
113 characters long description:
Keyword Analyzer is the latest plugin designed to report SEO keywords in the website as a pdf format to the user.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin156 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP2161881
JavaScript23747
CSS15028

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.15
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants1
▷ 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
There were not PNG files found in your plugin