89% feed-kuantokusta-for-woocommerce

Code Review | Feed KuantoKusta for WooCommerce - Free

WordPress plugin Feed KuantoKusta for WooCommerce - Free scored89%from 54 tests.

About plugin

  • Plugin page: feed-kuantokusta-...
  • Plugin version: 2.3
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4
  • WordPress version: 6.3.1
  • First release: May 23, 2018
  • Latest release: Nov 16, 2023
  • Number of updates: 77
  • Update frequency: every 26.5 days
  • Top authors: webdados (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /5,989 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼9.79ms] Passed 4 tests

Analyzing server-side resources used by Feed KuantoKusta for WooCommerce - Free
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0137.50 ▼5.00
Dashboard /wp-admin3.32 ▼0.0348.35 ▼13.92
Posts /wp-admin/edit.php3.37 ▲0.0147.20 ▲4.75
Add New Post /wp-admin/post-new.php5.90 ▲0.0182.23 ▼24.65
Media Library /wp-admin/upload.php3.24 ▲0.0134.94 ▲4.42

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
db_upgraded
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Feed KuantoKusta for WooCommerce - Free
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,809 ▲4714.26 ▲0.191.86 ▲0.0544.97 ▲0.18
Dashboard /wp-admin2,217 ▲435.65 ▲0.0592.98 ▼9.1739.29 ▼4.75
Posts /wp-admin/edit.php2,123 ▲202.02 ▲0.0635.49 ▼5.4735.06 ▼2.79
Add New Post /wp-admin/post-new.php1,540 ▼423.51 ▼1.78674.24 ▲9.2346.05 ▼18.18
Media Library /wp-admin/upload.php1,422 ▲254.21 ▲0.0499.75 ▼2.5642.68 ▼0.37

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 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
These attributes need your attention:
  • Requires php: The plugin version is formatted incorrectly
The official readme.txt might help

feed-kuantokusta-for-woocommerce/feed-kuantokusta-for-woocommerce.php 92% from 13 tests

"Feed KuantoKusta for WooCommerce - Free" version 2.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
  • Description: Keep the plugin description shorter than 140 characters (currently 142 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,688 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP5921431,665
SVG31117
JavaScript1006

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity97.00
▷ Minimum class complexity97.00
▷ Maximum class complexity97.00
Average method complexity4.00
▷ Minimum method complexity1.00
▷ Maximum method complexity19.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes1100.00%
Methods32
▷ Static methods13.12%
▷ Public methods3196.88%
▷ Protected methods00.00%
▷ Private methods13.12%
Functions9
▷ Named functions777.78%
▷ Anonymous functions222.22%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
webdados_invoicexpress_nag/invoicexpress-woocommerce-logo.png8.10KB7.67KB▼ 5.25%