90% muv-kundenkonto

Code Review | muv - Kundenkonto

WordPress plugin muv - Kundenkonto scored90%from 54 tests.

About plugin

  • Plugin page: muv-kundenkonto
  • Plugin version: 1.5.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-4.8.2
  • WordPress version: 6.3.1
  • First release: Mar 14, 2017
  • Latest release: Sep 26, 2017
  • Number of updates: 24
  • Update frequency: every 8.2 days
  • Top authors: meinsundvogel (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /1,773 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼3.64ms] Passed 4 tests

An overview of server-side resources used by muv - Kundenkonto
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.70 ▲0.2539.43 ▼3.25
Dashboard /wp-admin3.37 ▲0.0746.42 ▼5.84
Posts /wp-admin/edit.php3.42 ▲0.0746.50 ▼3.86
Add New Post /wp-admin/post-new.php5.96 ▲0.0795.83 ▼1.61
Media Library /wp-admin/upload.php3.30 ▲0.0737.10 ▲3.24
Einstellungen /wp-admin/admin.php?page=muv-kk-einstellungen3.2932.86
Kunden /wp-admin/admin.php?page=muv-kk-kunden3.3134.84
/wp-admin/admin.php?page=muv-kk-apikey-neu3.2430.80

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 89 new files
Database: 4 new tables, 6 new options
New tables
wp_muv_sh_intversion
wp_muv_kk_kundendaten
wp_muv_kk_kunden
wp_muv_kk_kundendaten_ext
New WordPress options
widget_recent-posts
db_upgraded
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for muv - Kundenkonto
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,830 ▲9514.40 ▼0.191.75 ▼0.0940.03 ▼4.73
Dashboard /wp-admin2,232 ▲445.86 ▲0.94108.75 ▼6.0566.97 ▲20.08
Posts /wp-admin/edit.php2,118 ▲292.04 ▲0.0438.05 ▼0.9934.09 ▼1.15
Add New Post /wp-admin/post-new.php1,545 ▲1118.31 ▼5.13683.56 ▲11.4355.93 ▼6.54
Media Library /wp-admin/upload.php1,414 ▲294.25 ▼0.0498.88 ▼2.3345.18 ▼0.59
Einstellungen /wp-admin/admin.php?page=muv-kk-einstellungen9542.4539.2440.03
Kunden /wp-admin/admin.php?page=muv-kk-kunden8612.2730.7936.50
/wp-admin/admin.php?page=muv-kk-apikey-neu6831.537.0713.93

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 detected upon uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

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

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: frontend, konto, passwort, account, kunden...

muv-kundenkonto/muv-kundenkonto.php 92% from 13 tests

The main PHP script in "muv - Kundenkonto" version 1.5.0 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 179 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin16,877 lines of code in 71 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript62,0347,0837,371
PHP521,543573,523
CSS1010792,900
SVG1002,671
PO File1134160404
Markdown1808

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity13.86
▷ Minimum class complexity1.00
▷ Maximum class complexity68.00
Average method complexity3.17
▷ Minimum method complexity1.00
▷ Maximum method complexity42.00
Code structure
Namespaces7
Interfaces0
Traits0
Classes28
▷ Abstract classes00.00%
▷ Concrete classes28100.00%
▷ Final classes00.00%
Methods166
▷ Static methods13883.13%
▷ Public methods14788.55%
▷ Protected methods00.00%
▷ Private methods1911.45%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants36
▷ Global constants925.00%
▷ Class constants2775.00%
▷ Public constants27100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
vendor/public/datatables.net-dt/images/sort_asc.png0.16KB0.25KB0.00%
vendor/public/datatables.net-dt/images/sort_both.png0.20KB0.29KB0.00%
assets/img/logo.png0.42KB0.48KB0.00%
vendor/public/datatables.net-dt/images/sort_desc_disabled.png0.14KB0.25KB0.00%
vendor/public/datatables.net-dt/images/sort_asc_disabled.png0.14KB0.25KB0.00%