78% getgenie

Code Review | GetGenie – Ai Content Writer with Keyword Research and Competitor Analysis

WordPress plugin GetGenie – Ai Content Writer with Keyword Research and Competitor Analysis scored78%from 54 tests.

About plugin

  • Plugin page: getgenie
  • Plugin version: 3.8.7
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jul 26, 2022
  • Latest release: Nov 29, 2023
  • Number of updates: 107
  • Update frequency: every 4.6 days
  • Top authors: getgenieai (57.94%)xpeedstudio (34.58%)ataurr (9.35%)

Code review

54 tests

User reviews

83 reviews

Install metrics

10,000+ active /197,052 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.75MB] [CPU: ▲5.79ms] Passed 4 tests

Server-side resources used by GetGenie – Ai Content Writer with Keyword Research and Competitor Analysis
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /4.17 ▲0.7145.83 ▲4.93
Dashboard /wp-admin4.06 ▲0.7657.40 ▲7.01
Posts /wp-admin/edit.php4.12 ▲0.7658.41 ▲12.92
Add New Post /wp-admin/post-new.php6.68 ▲0.7994.27 ▼1.69
Media Library /wp-admin/upload.php3.99 ▲0.7651.04 ▲15.68

Server storage [IO: ▲3.69MB] [DB: ▲0.01MB] Passed 3 tests

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 104 new files
Database: no new tables, 9 new options
New WordPress options
getgenie_install_date
widget_recent-comments
db_upgraded
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
getgenie__banner_last_check
theysaidso_admin_options
getgenie__banner_data

Browser metrics Passed 4 tests

GetGenie – Ai Content Writer with Keyword Research and Competitor Analysis: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,504 ▲74227.63 ▲13.501.88 ▲0.0740.92 ▼3.67
Dashboard /wp-admin2,626 ▲44913.91 ▲8.33395.22 ▲294.65153.81 ▲111.26
Posts /wp-admin/edit.php2,656 ▲55615.43 ▲13.46198.98 ▲162.99176.51 ▲139.21
Add New Post /wp-admin/post-new.php2,077 ▲55127.55 ▲4.44436.69 ▼159.47166.54 ▲115.36
Media Library /wp-admin/upload.php2,139 ▲73617.94 ▲13.75203.52 ▲108.25172.18 ▲130.89

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • Zombie WordPress options were found after uninstall: 9 options
    • getgenie__banner_data
    • getgenie__banner_last_check
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • getgenie_install_date
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 0% from 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
The following issues need your attention
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/getgenie/resources/view/admin/default.php
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Using $this when not in object context in wp-content/plugins/getgenie/app/ProLabel/views/template.php:88

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
  • Tags: Please delete some tags, you are using 12 tag instead of maximum 10
  • Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6, #7 in getgenie/assets to your readme.txt
The official readme.txt is a good inspiration

getgenie/getgenie.php Passed 13 tests

The primary PHP file in "GetGenie – Ai Content Writer with Keyword Research and Competitor Analysis" version 3.8.7 is used by WordPress to initiate all plugin functionality
109 characters long description:
GetGenie AI is the most intuitive A.I Content Wordpress Plugin that can help you save time and write smarter.

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
There were no executable files found in this plugin7,643 lines of code in 85 files:
LanguageFilesBlank linesComment linesLines of code
PHP399925203,519
SVG212143,256
JavaScript152860680
CSS802159
XML1144224
JSON1005

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity12.61
▷ Minimum class complexity1.00
▷ Maximum class complexity47.00
Average method complexity2.86
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces10
Interfaces0
Traits1
Classes27
▷ Abstract classes00.00%
▷ Concrete classes27100.00%
▷ Final classes00.00%
Methods184
▷ Static methods2714.67%
▷ Public methods16891.30%
▷ Protected methods21.09%
▷ Private methods147.61%
Functions32
▷ Named functions1134.38%
▷ Anonymous functions2165.62%
Constants10
▷ Global constants10100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
12 PNG files occupy 0.20MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/dist/admin/images/seo_optimization.png60.94KB17.83KB▼ 70.75%
assets/dist/admin/images/badge.png6.49KB3.11KB▼ 52.11%
assets/dist/admin/images/blog_post.png60.62KB18.76KB▼ 69.05%
assets/dist/admin/images/Google-Trends.png0.93KB0.74KB▼ 20.15%
assets/dist/admin/images/support.png2.36KB2.41KB0.00%