84% gutenverse-form

Code Review | Gutenverse Form

WordPress plugin Gutenverse Form scored84%from 54 tests.

About plugin

  • Plugin page: gutenverse-form
  • Plugin version: 0.5.1
  • PHP compatiblity: 7.4.30+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Oct 9, 2023
  • Latest release: Oct 9, 2023
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: jegstudio (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /60 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲1.25MB] [CPU: ▲160.44ms] Passed 4 tests

An overview of server-side resources used by Gutenverse Form
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /4.73 ▲1.2648.71 ▲9.88
Dashboard /wp-admin4.58 ▲1.28366.08 ▲315.24
Posts /wp-admin/edit.php4.63 ▲1.26374.86 ▲322.46
Add New Post /wp-admin/post-new.php7.93 ▲2.03101.80 ▼5.82
Media Library /wp-admin/upload.php4.45 ▲1.22363.72 ▲326.59
Entries /wp-admin/edit.php?post_type=gutenverse-entries4.49361.72
Form Action /wp-admin/edit.php?post_type=gutenverse-form5.54356.91

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 177 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
widget_recent-comments
gutenverse-meta-option
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Gutenverse Form
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,136 ▲37524.84 ▲10.4870.73 ▲68.9841.27 ▲0.43
Dashboard /wp-admin2,312 ▲13511.60 ▲6.02131.52 ▲42.12131.58 ▲88.16
Posts /wp-admin/edit.php2,258 ▲15812.33 ▲10.3085.46 ▲41.34112.19 ▲73.64
Add New Post /wp-admin/post-new.php10,976 ▲9,43923.96 ▲5.99991.39 ▲374.27191.17 ▲126.14
Media Library /wp-admin/upload.php1,546 ▲14613.12 ▲8.97167.06 ▲57.72123.31 ▲74.21
Entries /wp-admin/edit.php?post_type=gutenverse-entries1,30012.1184.46105.41
Form Action /wp-admin/edit.php?post_type=gutenverse-form1,36912.21101.44124.86

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
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • gutenverse-meta-option
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% 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)
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 19× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Framework\\Style_Interface' not found in wp-content/plugins/gutenverse-form/lib/framework/includes/class-global-style.php:17
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/gutenverse-form/gutenverse-form.php:21
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Framework\\Style_Abstract' not found in wp-content/plugins/gutenverse-form/includes/style/class-form-input-number.php:19
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Framework\\Style_Abstract' not found in wp-content/plugins/gutenverse-form/includes/style/class-form-input-text.php:19
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Framework\\Style_Abstract' not found in wp-content/plugins/gutenverse-form/includes/style/class-form-input-email.php:19
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Framework\\Style_Abstract' not found in wp-content/plugins/gutenverse-form/includes/style/class-form-input-select.php:19
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Framework\\Style_Abstract' not found in wp-content/plugins/gutenverse-form/lib/framework/includes/style/class-section.php:19
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gutenverse-form/lib/framework/bootstrap.php:27
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Framework\\Style_Abstract' not found in wp-content/plugins/gutenverse-form/includes/style/class-form-input-textarea.php:19
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Framework\\Style_Abstract' not found in wp-content/plugins/gutenverse-form/includes/style/class-form-input-checkbox.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% 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
Please fix the following attributes:
  • Screenshots: These screenshots lack descriptions #1, #10, #11, #12, #2, #3, #4, #5, #6, #7, #8, #9 in gutenverse-form/assets to your readme.txt
The official readme.txt is a good inspiration

gutenverse-form/gutenverse-form.php Passed 13 tests

The principal PHP file in "Gutenverse Form" v. 0.5.1 is loaded by WordPress automatically on each request
135 characters long description:
Powerful and intuitive form builder plugin designed to streamline the process of creating and managing forms on your WordPress website.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin23,374 lines of code in 106 files:
LanguageFilesBlank linesComment linesLines of code
PHP561,5342,75911,208
CSS172,849879,126
JSON20503,019
JavaScript1103317
SVG2004

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity24.19
▷ Minimum class complexity1.00
▷ Maximum class complexity204.00
Average method complexity2.78
▷ Minimum method complexity1.00
▷ Maximum method complexity16.00
Code structure
Namespaces4
Interfaces0
Traits0
Classes42
▷ Abstract classes24.76%
▷ Concrete classes4095.24%
▷ Final classes00.00%
Methods289
▷ Static methods165.54%
▷ Public methods24986.16%
▷ Protected methods237.96%
▷ Private methods175.88%
Functions407
▷ Named functions348.35%
▷ Anonymous functions37391.65%
Constants26
▷ Global constants1973.08%
▷ Class constants726.92%
▷ Public constants7100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
lib/framework/assets/img/pro/advance-animation.png3.22KB1.65KB▼ 48.69%
lib/framework/assets/img/pro/mockup-shape-divider.png11.95KB5.72KB▼ 52.16%
lib/framework/assets/img/pro/background-animated.png37.30KB11.71KB▼ 68.61%
lib/framework/assets/img/pro/mockup-sticky.png3.49KB2.01KB▼ 42.35%