78% kundennotecom

Code Review | Kundennote.com Bewertungssiegel

WordPress plugin Kundennote.com Bewertungssiegel scored78%from 54 tests.

About plugin

  • Plugin page: kundennotecom
  • Plugin version: 3.1.6
  • PHP version: 7.4.16
  • WordPress compatibility: 5.7-6.2.2
  • WordPress version: 6.3.1
  • First release: Mar 8, 2016
  • Latest release: Jun 12, 2023
  • Number of updates: 75
  • Update frequency: every 35.4 days
  • Top authors: mutoweb (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

60+ active /2,658 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: ▼4.06ms] Passed 4 tests

Analyzing server-side resources used by Kundennote.com Bewertungssiegel
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.32 ▲0.71
Dashboard /wp-admin3.32 ▲0.0246.04 ▲2.11
Posts /wp-admin/edit.php3.37 ▲0.0242.73 ▼5.77
Add New Post /wp-admin/post-new.php5.90 ▲0.0286.79 ▼7.28
Media Library /wp-admin/upload.php3.25 ▲0.0235.66 ▼3.91
kundennote.com /wp-admin/options-general.php?page=kundennote3.1928.28

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
widget_kundennote_widget
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Kundennote.com Bewertungssiegel
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲4914.78 ▲0.101.81 ▼0.1242.57 ▲2.37
Dashboard /wp-admin2,209 ▲544.88 ▼0.77116.74 ▲13.1344.11 ▲3.56
Posts /wp-admin/edit.php2,095 ▲32.03 ▼0.0236.29 ▼3.6035.77 ▼1.81
Add New Post /wp-admin/post-new.php1,538 ▲1823.39 ▲0.45645.77 ▲11.0954.72 ▼11.31
Media Library /wp-admin/upload.php1,397 ▲124.21 ▲0.0495.64 ▼9.6642.07 ▼2.18
kundennote.com /wp-admin/options-general.php?page=kundennote8782.0225.0334.69

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
The following items require your attention
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_kundennote_widget
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
    • > GET request to /wp-admin/options-general.php?page=kundennote
    • > Notice in wp-content/plugins/kundennotecom/kundennote_options.php+47
    Trying to access array offset on value of type bool

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
  • 5× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kundennotecom/kundennote_options.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/kundennotecom/kundennote_shortcode.php:21
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kundennotecom/kundennote_aiopro_widget.php:16
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/kundennotecom/kundennote_widget.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/kundennotecom/kundennotecom.php:14

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% 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
Attributes that require attention:
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === kundennotecom === )
  • Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
You can take inspiration from this readme.txt

kundennotecom/kundennotecom.php Passed 13 tests

Analyzing the main PHP file in "Kundennote.com Bewertungssiegel" version 3.1.6
79 characters long description:
Fügen Sie Ihr kundennote.com Bewertungssiegel über Shortcode oder Widget ein.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected351 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP56935263
CSS10088

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity10.00
▷ Minimum class complexity10.00
▷ Maximum class complexity10.00
Average method complexity3.25
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/kn-logo.png8.07KB8.07KB0.00%
img/logo-kn.png8.36KB5.44KB▼ 35.00%