84% kein-produkt-zoom-woo

Code Review | Kein Produkt-Zoom Woo

WordPress plugin Kein Produkt-Zoom Woo scored84%from 54 tests.

About plugin

  • Plugin page: kein-produkt-zoom...
  • Plugin version: 1.1
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.2
  • WordPress version: 6.3.1
  • First release: Oct 23, 2020
  • Latest release: Apr 28, 2023
  • Number of updates: 9
  • Update frequency: every 101.9 days
  • Top authors: sahumedia (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active /715 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

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

An overview of server-side resources used by Kein Produkt-Zoom Woo
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0141.79 ▼0.51
Dashboard /wp-admin3.35 ▲0.0144.70 ▼4.71
Posts /wp-admin/edit.php3.40 ▲0.0048.13 ▲0.69
Add New Post /wp-admin/post-new.php5.94 ▲0.0094.08 ▲5.88
Media Library /wp-admin/upload.php3.28 ▲0.0037.68 ▲3.77

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Kein Produkt-Zoom Woo
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.34 ▼1.011.79 ▼0.0543.17 ▼4.08
Dashboard /wp-admin2,209 ▲215.92 ▲1.0195.66 ▼11.2539.58 ▼0.05
Posts /wp-admin/edit.php2,086 ▼32.00 ▲0.0240.20 ▼1.2338.96 ▲2.99
Add New Post /wp-admin/post-new.php1,514 ▼017.49 ▼0.10671.21 ▲56.9462.35 ▼0.07
Media Library /wp-admin/upload.php1,388 ▼04.14 ▼0.0798.56 ▼8.3939.96 ▼6.19

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
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 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 50% 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
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/kein-produkt-zoom-woo/zoom.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 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
3 plugin tags: woocommerce kein produkt-zoom, produkt-zoom deaktivieren, kein produkt-zoom

kein-produkt-zoom-woo/zoom.php 92% from 13 tests

The entry point to "Kein Produkt-Zoom Woo" version 1.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Main file name: Name the main plugin file the same as the plugin slug ("kein-produkt-zoom-woo.php" instead of "zoom.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin8 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP23158

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.33
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There are no PNG files in this plugin