89% kintpv-connect

Code Review | Kintpv Wooconnect

WordPress plugin Kintpv Wooconnect scored89%from 54 tests.

About plugin

  • Plugin page: kintpv-connect
  • Plugin version: 8.120
  • PHP compatiblity: 7.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Apr 26, 2022
  • Latest release: Nov 18, 2022
  • Number of updates: 81
  • Update frequency: every 20.5 days
  • Top authors: kinhelios (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /2,299 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

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

Server-side resources used by Kintpv Wooconnect
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0138.87 ▲0.37
Dashboard /wp-admin3.38 ▲0.0854.00 ▲2.28
Posts /wp-admin/edit.php3.43 ▲0.0848.76 ▼1.53
Add New Post /wp-admin/post-new.php5.90 ▲0.0189.85 ▼21.14
Media Library /wp-admin/upload.php3.24 ▲0.0141.02 ▲4.04

Server storage [IO: ▲0.26MB] [DB: ▲0.07MB] Passed 3 tests

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Kintpv Wooconnect
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.34 ▼0.361.48 ▼0.2744.18 ▲1.94
Dashboard /wp-admin2,189 ▲95.58 ▼0.1295.00 ▲2.8441.58 ▲1.48
Posts /wp-admin/edit.php2,100 ▼02.01 ▼0.0239.90 ▼0.8136.22 ▼2.84
Add New Post /wp-admin/post-new.php1,535 ▲718.21 ▼4.96582.08 ▼114.5868.31 ▲15.87
Media Library /wp-admin/upload.php1,394 ▼64.22 ▲0.0396.52 ▼13.3744.52 ▼3.20

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • Tags: You are using too many tags: 15 tag instead of maximum 10
The official readme.txt is a good inspiration

kintpv-connect/class-kintpvconnect.php 85% from 13 tests

The principal PHP file in "Kintpv Wooconnect" v. 8.120 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Requires at least: Required version must be the same as the one declared in readme.txt ("5.0" instead of "4.0")
  • Main file name: The principal plugin file should be the same as the plugin slug ("kintpv-connect.php" instead of "class-kintpvconnect.php")

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
Everything looks great! No dangerous files found in this plugin5,082 lines of code in 24 files:
LanguageFilesBlank linesComment linesLines of code
PHP231,0961,6964,911
PO File17173171

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity31.55
▷ Minimum class complexity1.00
▷ Maximum class complexity614.00
Average method complexity4.73
▷ Minimum method complexity1.00
▷ Maximum method complexity83.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes22
▷ Abstract classes00.00%
▷ Concrete classes22100.00%
▷ Final classes00.00%
Methods170
▷ Static methods95.29%
▷ Public methods8751.18%
▷ Protected methods8348.82%
▷ Private methods00.00%
Functions13
▷ Named functions215.38%
▷ Anonymous functions1184.62%
Constants58
▷ Global constants5289.66%
▷ Class constants610.34%
▷ Public constants6100.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
There are no PNG files in this plugin