74% wp-vgwort

Code Review | Prosodia VGW OS

WordPress plugin Prosodia VGW OS scored74%from 54 tests.

About plugin

  • Plugin page: wp-vgwort
  • Plugin version: 3.25.3
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3.1
  • WordPress version: 6.3.1
  • First release: Jan 29, 2013
  • Latest release: Sep 16, 2023
  • Number of updates: 216
  • Update frequency: every 18.0 days
  • Top authors: raubvogel (81.48%)smoo1337 (18.98%)

Code review

54 tests

User reviews

26 reviews

Install metrics

9,000+ active /174,680 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲1.64MB] [CPU: ▲5.88ms] Passed 4 tests

Server-side resources used by Prosodia VGW OS
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /5.05 ▲1.5849.28 ▲11.04
Dashboard /wp-admin4.99 ▲1.6956.21 ▲11.20
Posts /wp-admin/edit.php5.08 ▲1.7252.61 ▲10.86
Add New Post /wp-admin/post-new.php7.56 ▲1.6888.81 ▼9.59
Media Library /wp-admin/upload.php4.85 ▲1.6252.81 ▲21.05
Hilfe/Anleitungen /wp-admin/admin.php?page=wpvgw-support4.8239.20
Operationen /wp-admin/admin.php?page=wpvgw-operations4.8240.18
Einstellungen /wp-admin/admin.php?page=wpvgw-configuration4.8244.53
Zählmarken /wp-admin/admin.php?page=wpvgw-markers4.8740.10
Import /wp-admin/admin.php?page=wpvgw-import4.8236.11
Impressum /wp-admin/admin.php?page=wpvgw-about4.8239.02
Datenschutz /wp-admin/admin.php?page=wpvgw-data-privacy4.8334.40

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 49 new files
Database: 2 new tables, 8 new options
New tables
wp_wpvgw_posts_extras
wp_wpvgw_markers
New WordPress options
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
wpvgw_version
can_compress_scripts
wpvgw_options_v1
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

Prosodia VGW OS: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,906 ▲16013.22 ▼1.151.99 ▲0.2048.41 ▲1.51
Dashboard /wp-admin2,281 ▲935.89 ▲0.97103.20 ▼0.4644.22 ▲5.96
Posts /wp-admin/edit.php2,299 ▲2102.20 ▲0.1540.16 ▼0.9442.03 ▲5.13
Add New Post /wp-admin/post-new.php6,417 ▲4,88925.94 ▲7.42854.46 ▲233.7147.85 ▼3.92
Media Library /wp-admin/upload.php1,472 ▲844.24 ▲0.0899.58 ▲4.1346.52 ▲6.95
Hilfe/Anleitungen /wp-admin/admin.php?page=wpvgw-support9422.2324.4530.22
Operationen /wp-admin/admin.php?page=wpvgw-operations1,2122.3427.0936.04
Einstellungen /wp-admin/admin.php?page=wpvgw-configuration1,5252.3929.3839.09
Zählmarken /wp-admin/admin.php?page=wpvgw-markers1,7502.3428.3338.42
Import /wp-admin/admin.php?page=wpvgw-import1,0872.4126.4128.65
Impressum /wp-admin/admin.php?page=wpvgw-about9362.2125.7230.71
Datenschutz /wp-admin/admin.php?page=wpvgw-data-privacy1,4002.2424.3537.47

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie tables were found after uninstall: 2 tables
    • wp_wpvgw_posts_extras
    • wp_wpvgw_markers
  • This plugin did not uninstall successfully, leaving 8 options in the database
    • wpvgw_options_v1
    • can_compress_scripts
    • widget_theysaidso_widget
    • wpvgw_version
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Almost there! Just fix the following items
  • 19× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'WPVGW_ViewBase' not found in wp-content/plugins/wp-vgwort/views/post-view.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/wp-vgwort/rest-api/rest-api.php:9
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-vgwort/views/markers-table.php on line 9
    • > PHP Fatal error
      Uncaught Error: Class 'WPVGW_AdminViewBase' not found in wp-content/plugins/wp-vgwort/views/admin/support-admin-view.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'WPVGW_Plugin_Extension' not found in wp-content/plugins/wp-vgwort/plugin-extensions/advanced-custom-fields-plugin-extension.php:9
    • > PHP Warning
      require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/wp-vgwort/views/markers-table.php on line 9
    • > PHP Fatal error
      Uncaught Error: Class 'WPVGW_AdminViewBase' not found in wp-content/plugins/wp-vgwort/views/admin/markers-admin-view.php:9
    • > PHP Fatal error
      require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-vgwort/views/markers-table.php on line 9
    • > PHP Fatal error
      Uncaught Error: Class 'WPVGW_AdminViewBase' not found in wp-content/plugins/wp-vgwort/views/admin/data-privacy-admin-view.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'WPVGW_ViewBase' not found in wp-content/plugins/wp-vgwort/views/admin/admin-view-base.php:9

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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
9 plugin tags: zhlmarke, vg wort, geld, vgw, zhlpixel...

wp-vgwort/wp-vgwort.php 92% from 13 tests

The principal PHP file in "Prosodia VGW OS" v. 3.25.3 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

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 plugin7,640 lines of code in 42 files:
LanguageFilesBlank linesComment linesLines of code
PHP30282886,732
JavaScript10235290678
CSS15118218
SVG10012

PHP code Passed 2 tests

Analyzing 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.38
Average class complexity29.08
▷ Minimum class complexity1.00
▷ Maximum class complexity136.00
Average method complexity2.97
▷ Minimum method complexity1.00
▷ Maximum method complexity63.00
Code structure
Namespaces0
Interfaces1
Traits0
Classes35
▷ Abstract classes411.43%
▷ Concrete classes3188.57%
▷ Final classes00.00%
Methods505
▷ Static methods8416.63%
▷ Public methods42383.76%
▷ Protected methods254.95%
▷ Private methods5711.29%
Functions12
▷ Named functions00.00%
▷ Anonymous functions12100.00%
Constants32
▷ Global constants1031.25%
▷ Class constants2268.75%
▷ Public constants22100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/conversionjunkies-logo.png3.76KB2.21KB▼ 41.24%
images/prosodia-logo.png4.21KB2.82KB▼ 32.95%