89% liquidpoll-groundhogg-integration

Code Review | LiquidPoll - LiquidPoll - Groundhogg Integration

WordPress plugin LiquidPoll - LiquidPoll - Groundhogg Integration scored89%from 54 tests.

About plugin

  • Plugin page: liquidpoll-ground...
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Nov 10, 2022
  • Latest release: Dec 26, 2022
  • Number of updates: 6
  • Update frequency: every 7.7 days
  • Top authors: liquidpoll (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /210 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.03MB] [CPU: ▼6.14ms] Passed 4 tests

A check of server-side resources used by LiquidPoll - LiquidPoll - Groundhogg Integration
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0343.59 ▲2.52
Dashboard /wp-admin3.34 ▲0.0349.50 ▼4.22
Posts /wp-admin/edit.php3.39 ▲0.0349.16 ▼3.49
Add New Post /wp-admin/post-new.php5.92 ▲0.0386.64 ▼18.50
Media Library /wp-admin/upload.php3.26 ▲0.0341.01 ▲1.64

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for LiquidPoll - LiquidPoll - Groundhogg Integration
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.21 ▼0.012.23 ▲0.2557.58 ▲8.66
Dashboard /wp-admin2,195 ▲215.52 ▼0.05102.89 ▲2.0343.03 ▼0.29
Posts /wp-admin/edit.php2,100 ▼31.98 ▼0.0339.14 ▲4.8435.84 ▲3.14
Add New Post /wp-admin/post-new.php1,526 ▼023.29 ▼0.07659.45 ▲37.0351.15 ▼4.65
Media Library /wp-admin/upload.php1,403 ▲34.19 ▼0.0397.93 ▼11.3047.35 ▲2.60

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Screenshots: Please add an image for screenshot #1 (screenshot-1.png)
You can take inspiration from this readme.txt

liquidpoll-groundhogg-integration/liquidpoll-groundhogg-integration.php 85% from 13 tests

"LiquidPoll - LiquidPoll - Groundhogg Integration" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • Domain Path: The domain path folder does not exist ("/languages/")
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

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 plugin135 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP14338135

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.61
Average class complexity21.00
▷ Minimum class complexity21.00
▷ Maximum class complexity21.00
Average method complexity5.00
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods120.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin