89% integrate-nekorekten-wc

Code Review | Integrate nekorekten.com for WooCommerce

WordPress plugin Integrate nekorekten.com for WooCommerce scored89%from 54 tests.

About plugin

  • Plugin page: integrate-nekorek...
  • Plugin version: 1.3
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-6.4
  • WordPress version: 6.3.1
  • First release: Oct 20, 2023
  • Latest release: Nov 15, 2023
  • Number of updates: 7
  • Update frequency: every 3.9 days
  • Top authors: martinvalchev (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /146 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.01MB] [CPU: ▼8.89ms] Passed 4 tests

A check of server-side resources used by Integrate nekorekten.com for WooCommerce
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0035.13 ▼10.38
Dashboard /wp-admin3.31 ▼0.0446.97 ▼18.81
Posts /wp-admin/edit.php3.36 ▲0.0044.52 ▲0.42
Add New Post /wp-admin/post-new.php5.89 ▲0.0093.94 ▼0.40
Media Library /wp-admin/upload.php3.23 ▲0.0031.08 ▼5.98

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 172 new files
Database: no new tables, 8 new options
New WordPress options
widget_recent-posts
abl_inwc_version
widget_recent-comments
theysaidso_admin_options
inwc_settings_group
db_upgraded
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for Integrate nekorekten.com for WooCommerce
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,790 ▲4314.75 ▲0.641.61 ▼0.3440.13 ▼4.06
Dashboard /wp-admin2,198 ▲205.60 ▼0.1287.67 ▼30.0338.77 ▼8.59
Posts /wp-admin/edit.php2,100 ▼01.96 ▼0.0439.13 ▲4.2433.83 ▼4.36
Add New Post /wp-admin/post-new.php1,526 ▼023.89 ▲0.78600.68 ▼99.6848.55 ▼7.48
Media Library /wp-admin/upload.php1,403 ▼04.18 ▼0.04100.28 ▲0.3144.63 ▲1.13

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
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

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
Congratulations! This plugin passed the SRP test

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

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
  • Tags: Please delete some tags, you are using 11 tag instead of maximum 10
You can look at the official readme.txt

integrate-nekorekten-wc/integrate-nekorekten-wc.php 92% from 13 tests

The entry point to "Integrate nekorekten.com for WooCommerce" version 1.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 376 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
Everything looks great! No dangerous files found in this plugin71,479 lines of code in 141 files:
LanguageFilesBlank linesComment linesLines of code
JSON50027,185
JavaScript911,9531,52217,355
SVG601214,394
CSS183,728819,807
Sass357681,344
PHP8198243751
Markdown41850484
HTML3590127
Mustache15027
YAML2005

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.54
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%
Functions29
▷ Named functions29100.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants7100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.30MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
includes/intl-tel-input/screenshots/twilio.png20.05KB9.61KB▼ 52.07%
includes/intl-tel-input/build/img/flags@2x.png179.65KB69.58KB▼ 61.27%
includes/intl-tel-input/screenshots/vanilla.png33.23KB19.88KB▼ 40.17%
includes/intl-tel-input/build/img/flags.png68.68KB24.74KB▼ 63.98%
includes/intl-tel-input/screenshots/separateDialCode.png3.94KB3.27KB▼ 16.90%