83% loudvoice-comment-system

Code Review | LoudVoice Comments Plugin - Supercharge your WordPress comments

WordPress plugin LoudVoice Comments Plugin - Supercharge your WordPress comments scored83%from 54 tests.

About plugin

  • Plugin page: loudvoice-comment...
  • Plugin version: 2.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.9
  • WordPress version: 6.3.1
  • First release: Oct 21, 2016
  • Latest release: Feb 11, 2022
  • Number of updates: 69
  • Update frequency: every 28.1 days
  • Top authors: ClaudeSchlesser (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /3,832 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: ▲0.37MB] [CPU: ▼4.69ms] Passed 4 tests

An overview of server-side resources used by LoudVoice Comments Plugin - Supercharge your WordPress comments
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.83 ▲0.3748.83 ▲2.55
Dashboard /wp-admin3.68 ▲0.3457.02 ▼10.98
Posts /wp-admin/edit.php3.80 ▲0.4450.99 ▼1.33
Add New Post /wp-admin/post-new.php6.28 ▲0.4090.49 ▼8.98
Media Library /wp-admin/upload.php3.61 ▲0.3844.43 ▲8.28
Setup /wp-admin/admin.php?page=oa_loudvoice_settings3.5837.34
Synchronize /wp-admin/admin.php?page=oa_loudvoice_synchronize3.5836.14
+More /wp-admin/admin.php?page=oa_loudvoice_more3.5835.06

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
can_compress_scripts
oa_loudvoice_settings
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by LoudVoice Comments Plugin - Supercharge your WordPress comments
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,856 ▲11014.34 ▲0.092.01 ▲0.2143.72 ▼0.55
Dashboard /wp-admin2,234 ▲545.64 ▲0.0490.06 ▼1.5944.40 ▲2.70
Posts /wp-admin/edit.php2,151 ▲512.02 ▲0.0140.54 ▲6.8735.48 ▲0.58
Add New Post /wp-admin/post-new.php1,563 ▲3723.43 ▲0.31667.36 ▼28.4850.32 ▼5.62
Media Library /wp-admin/upload.php1,442 ▲484.19 ▲0.0296.34 ▼11.7440.45 ▼4.48
Setup /wp-admin/admin.php?page=oa_loudvoice_settings2,0341.9928.7234.30
Synchronize /wp-admin/admin.php?page=oa_loudvoice_synchronize8571.8227.1529.01
+More /wp-admin/admin.php?page=oa_loudvoice_more9091.7824.7632.70

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • This plugin does not fully uninstall, leaving 7 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • oa_loudvoice_settings
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 7× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/loudvoice-comment-system/includes/backend.php:17
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/loudvoice-comment-system/includes/frontend.php:24
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/loudvoice-comment-system/includes/synchronize.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/loudvoice-comment-system/includes/oversee.php:21
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/loudvoice-comment-system/includes/templates/comments.php:58
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/loudvoice-comment-system/includes/settings.php:35
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/loudvoice-comment-system/oa-loudvoice.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
  • Tags: Please delete some tags, you are using 12 tag instead of maximum 10
  • Screenshots: Add images for these screenshots: #1 (**Comment formular** - Responsive WYSIWYG form to leave comments and login with a social network.), #2 (**Formatted Comment** - Example of a formatted comment, part 1.), #3 (**Formatted Comment** - Example of a formatted comment, part 2.), #4 (**Formatted Comment** - Example of a formatted comment, part 3.)
Please take inspiration from this readme.txt

loudvoice-comment-system/oa-loudvoice.php 85% from 13 tests

Analyzing the main PHP file in "LoudVoice Comments Plugin - Supercharge your WordPress comments" version 2.2
The following require your attention:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("loudvoice-comment-system.php" instead of "oa-loudvoice.php")
  • Description: Please keep the plugin description shorter than 140 characters (currently 180 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin3,105 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PHP84398002,599
CSS1876289
JavaScript43929217

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for 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.50
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%
Functions87
▷ Named functions87100.00%
▷ Anonymous functions00.00%
Constants21
▷ Global constants21100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 0.31MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png17.04KB7.97KB▼ 53.24%
assets/img/status_ok.png0.76KB0.81KB0.00%
assets/img/sprite_35_35.png60.27KB21.06KB▼ 65.06%
assets/img/status_error.png0.64KB0.72KB0.00%
screenshot-4.png81.06KB38.05KB▼ 53.07%