78% checkrobin

Code Review | checkrobin für WooCommerce Plug-In

WordPress plugin checkrobin für WooCommerce Plug-In scored78%from 54 tests.

About plugin

  • Plugin page: checkrobin
  • Plugin version: 0.0.13
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.0
  • WordPress version: 6.3.1
  • First release: Aug 5, 2020
  • Latest release: Jul 1, 2022
  • Number of updates: 12
  • Update frequency: every 59.0 days
  • Top authors: checkrobin (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /1,146 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

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

Server-side resources used by checkrobin für WooCommerce Plug-In
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0044.58 ▲0.45
Dashboard /wp-admin3.31 ▲0.0048.20 ▼5.37
Posts /wp-admin/edit.php3.36 ▲0.0051.44 ▼2.47
Add New Post /wp-admin/post-new.php5.89 ▲0.0091.80 ▼9.32
Media Library /wp-admin/upload.php3.23 ▲0.0035.04 ▼4.68

Server storage [IO: ▲4.73MB] [DB: ▲0.00MB] 67% from 3 tests

Analyzing filesystem and database footprints of this plugin
Please fix the following
  • The plugin illegally modified 1 file (4.00KB) outside of "wp-content/plugins/checkrobin/" and "wp-content/uploads/"
    • (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 198 new files
Database: 3 new tables, 8 new options
New tables
wp_checkrobin_settings
wp_checkrobin_tracking
wp_checkrobin_logging
New WordPress options
checkrobin_plugin_version
db_upgraded
widget_recent-comments
checkrobin_tracking_email
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by checkrobin für WooCommerce Plug-In
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,826 ▲6513.26 ▼1.031.99 ▲0.3043.90 ▲2.17
Dashboard /wp-admin2,221 ▲214.85 ▼1.12110.01 ▲2.5542.00 ▲0.89
Posts /wp-admin/edit.php2,097 ▼32.02 ▲0.0234.25 ▼6.0833.04 ▼5.87
Add New Post /wp-admin/post-new.php1,531 ▲523.11 ▲5.54659.06 ▲9.3166.32 ▲7.98
Media Library /wp-admin/upload.php1,400 ▼34.22 ▼0.0394.29 ▼18.4744.79 ▼5.59

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
  • Zombie WordPress options were found after uninstall: 7 options
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • checkrobin_plugin_version

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

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

SRP 0% from 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
Please fix the following items
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/checkrobin/vendor/checkrobin/webshopconnect/check_requirements.php
  • 99× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/checkrobin/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/checkrobin/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/checkrobin/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/checkrobin/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/checkrobin/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/checkrobin/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/checkrobin/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/checkrobin/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Checkrobin\\Webshopconnect\\Call' not found in wp-content/plugins/checkrobin/vendor/checkrobin/webshopconnect/classes/Checkrobin/Webshopconnect/Authentication.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/checkrobin/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Screenshots: Screenshot #1 (checkrobin, die Versandplattform für deine Pakete) image required
You can take inspiration from this readme.txt

checkrobin/checkrobin.php Passed 13 tests

The principal PHP file in "checkrobin für WooCommerce Plug-In" v. 0.0.13 is loaded by WordPress automatically on each request
107 characters long description:
The Checkrobin plugin enables you to transfer order data from your WooCommerce shop directly to Checkrobin.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin5,886 lines of code in 170 files:
LanguageFilesBlank linesComment linesLines of code
PHP1421,3811,1604,824
JSON620415
PO File16785214
JavaScript5947201
Markdown3580123
Sass7160103
CSS61286

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity4.36
▷ Minimum class complexity1.00
▷ Maximum class complexity56.00
Average method complexity2.95
▷ Minimum method complexity1.00
▷ Maximum method complexity27.00
Code structure
Namespaces8
Interfaces0
Traits0
Classes127
▷ Abstract classes10.79%
▷ Concrete classes12699.21%
▷ Final classes10.79%
Methods225
▷ Static methods62.67%
▷ Public methods17879.11%
▷ Protected methods3314.67%
▷ Private methods146.22%
Functions16
▷ Named functions212.50%
▷ Anonymous functions1487.50%
Constants10
▷ Global constants770.00%
▷ Class constants330.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
10 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/css/DataTables-1.10.21/images/sort_both.png0.20KB0.29KB0.00%
assets/scss/DataTables-1.10.21/images/sort_asc_disabled.png0.14KB0.25KB0.00%
assets/scss/DataTables-1.10.21/images/sort_asc.png0.16KB0.25KB0.00%
assets/css/DataTables-1.10.21/images/sort_asc.png0.16KB0.25KB0.00%
assets/scss/DataTables-1.10.21/images/sort_desc.png0.15KB0.25KB0.00%