10% genolve-toolkit

Code Review | Genolve - AI image generation Midjourney, DALLE3, Stablility.ai - start with free credits

WordPress plugin Genolve - AI image generation Midjourney, DALLE3, Stablility.ai - start with free credits scored10%from 54 tests.

About plugin

  • Plugin page: genolve-toolkit
  • Plugin version: 4.0.6
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4.1
  • WordPress version: 6.3.1
  • First release: May 19, 2019
  • Latest release: Nov 26, 2023
  • Number of updates: 64
  • Update frequency: every 25.9 days
  • Top authors: genolve (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

100+ active /3,564 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
  • Install procedure had errors
    • > Notice in wp-content/plugins/genolve-toolkit/inc/functions.php+184
    Undefined variable: genolve_use_mode

Server metrics [RAM: ▲0.22MB] [CPU: ▼1.40ms] Passed 4 tests

An overview of server-side resources used by Genolve - AI image generation Midjourney, DALLE3, Stablility.ai - start with free credits
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.72 ▲0.2541.16 ▼1.29
Dashboard /wp-admin3.53 ▲0.2350.85 ▲3.41
Posts /wp-admin/edit.php3.65 ▲0.2949.76 ▲1.35
Add New Post /wp-admin/post-new.php6.06 ▲0.1783.09 ▼9.06
Media Library /wp-admin/upload.php3.46 ▲0.2339.15 ▲5.57

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 69 new files
Database: no new tables, 22 new options
New WordPress options
genolve_gen_par
genolve_membership
genolve_color_bg
genolve_color_txt
genolve_apikey
genolve_gen_sel
genolve_use_mode
widget_recent-posts
genolve_img_sel
genolve_img_par
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Genolve - AI image generation Midjourney, DALLE3, Stablility.ai - start with free credits
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,072 ▲28516.08 ▲1.8213.08 ▲11.0436.91 ▼6.10
Dashboard /wp-admin2,254 ▲805.19 ▼0.43106.58 ▲10.2541.37 ▼4.41
Posts /wp-admin/edit.php2,140 ▲402.55 ▲0.5342.92 ▲3.1836.19 ▼0.10
Add New Post /wp-admin/post-new.php6,409 ▲4,88328.59 ▲5.38951.47 ▲300.2737.54 ▼11.85
Media Library /wp-admin/upload.php1,463 ▲694.72 ▲0.5489.19 ▼7.7742.32 ▲2.03

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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
Everything seems fine, however this is by no means an exhaustive test

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)
No browser errors were detected

Optimizations

Plugin configuration Passed 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
7 plugin tags: midjourney, dalle, music video, royalty-free photos, ai image...

genolve-toolkit/genolve-toolkit.php Passed 13 tests

"Genolve - AI image generation Midjourney, DALLE3, Stablility.ai - start with free credits" version 4.0.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
125 characters long description:
Stunning AI images from a prompt, AI-edit photos, plus amazing toolkit to make banners, collages, slideshows or music videos.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin34,489 lines of code in 42 files:
LanguageFilesBlank linesComment linesLines of code
CSS112,5208718,337
JavaScript172,0014,87313,807
SVG55561,285
PHP51154001,010
XML30035
Markdown113015

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.32
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%
Functions31
▷ Named functions31100.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants7100.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
3 PNG files occupy 0.45MB with 0.20MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/genolveDNA7transparent.png17.29KB16.72KB▼ 3.32%
img/timer_bar.png168.70KB65.83KB▼ 60.98%
img/timer_bar2.png278.12KB93.13KB▼ 66.51%