89% woocommerce-putler-connector

Code Review | Putler Connector for WooCommerce - Accurate Analytics and Reports for your WooCommerce Store

WordPress plugin Putler Connector for WooCommerce - Accurate Analytics and Reports for your WooCommerce Store scored89%from 54 tests.

About plugin

  • Plugin page: woocommerce-putle...
  • Plugin version: 2.13.0
  • PHP compatiblity: 5.6++
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8.0-6.3.1
  • WordPress version: 6.3.1
  • First release: Oct 17, 2013
  • Latest release: Oct 5, 2023
  • Number of updates: 94
  • Update frequency: every 38.7 days
  • Top authors: putler (65.96%)storeapps (35.11%)

Code review

54 tests

User reviews

8 reviews

Install metrics

400+ active /11,370 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼8.08ms] Passed 4 tests

An overview of server-side resources used by Putler Connector for WooCommerce - Accurate Analytics and Reports for your WooCommerce Store
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0340.91 ▲1.64
Dashboard /wp-admin3.33 ▼0.0146.78 ▼19.71
Posts /wp-admin/edit.php3.38 ▲0.0350.82 ▼0.06
Add New Post /wp-admin/post-new.php5.91 ▲0.0395.67 ▼10.34
Media Library /wp-admin/upload.php3.25 ▲0.0332.97 ▼2.20

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Putler Connector for WooCommerce - Accurate Analytics and Reports for your WooCommerce Store
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,809 ▲3813.44 ▼0.952.05 ▼0.1241.57 ▼1.55
Dashboard /wp-admin2,215 ▲304.84 ▼0.98102.69 ▼5.1640.59 ▼0.17
Posts /wp-admin/edit.php2,100 ▲82.00 ▼0.0339.60 ▲3.3735.01 ▲0.09
Add New Post /wp-admin/post-new.php1,523 ▼1117.49 ▼5.91611.93 ▲18.0257.92 ▲5.29
Media Library /wp-admin/upload.php1,400 ▲124.38 ▲0.0896.88 ▼6.1643.30 ▼0.50

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
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 7 options
    • theysaidso_admin_options
    • widget_recent-comments
    • _wpc_activation_redirect
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts

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
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 smoke test targeting browser errors/issues
Everything seems fine on the user side

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
These attributes need your attention:
  • Tags: You are using too many tags: 11 tag instead of maximum 10
The official readme.txt might help

woocommerce-putler-connector/woocommerce-putler-connector.php 85% from 13 tests

"Putler Connector for WooCommerce - Accurate Analytics and Reports for your WooCommerce Store" version 2.13.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Plugin Name: Please don't use more than 70 characters for the plugin name (currently 92 characters long)
  • Requires PHP: Required version number should only contain digits separated by dots (ex. "7.0" instead of "5.6+")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin2,354 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP35013682,354

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.84
Average class complexity327.50
▷ Minimum class complexity133.00
▷ Maximum class complexity522.00
Average method complexity8.19
▷ Minimum method complexity1.00
▷ Maximum method complexity39.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods32
▷ Static methods26.25%
▷ Public methods2784.38%
▷ Protected methods13.12%
▷ Private methods412.50%
Functions5
▷ Named functions480.00%
▷ Anonymous functions120.00%
Constants5
▷ Global constants5100.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
There were not PNG files found in your plugin