83% kolaykimlik

Code Review | T.C Kimlik & Vergi No Dogrulama - Kolay Kimlik Doğrulama

WordPress plugin T.C Kimlik & Vergi No Dogrulama - Kolay Kimlik Doğrulama scored83%from 54 tests.

About plugin

  • Plugin page: kolaykimlik
  • Plugin version: 1.4.1
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-5.9
  • WordPress version: 6.3.1
  • First release: Apr 13, 2022
  • Latest release: Aug 17, 2022
  • Number of updates: 11
  • Update frequency: every 11.6 days
  • Top authors: ftpyz (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /2,957 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.44MB] [CPU: ▼1.54ms] Passed 4 tests

This is a short check of server-side resources used by T.C Kimlik & Vergi No Dogrulama - Kolay Kimlik Doğrulama
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.93 ▲0.4743.29 ▲0.34
Dashboard /wp-admin3.77 ▲0.4752.40 ▼5.04
Posts /wp-admin/edit.php3.82 ▲0.4752.40 ▲2.04
Add New Post /wp-admin/post-new.php6.29 ▲0.4088.85 ▼3.50
Media Library /wp-admin/upload.php3.63 ▲0.4040.24 ▲6.38

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
db_upgraded
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

T.C Kimlik & Vergi No Dogrulama - Kolay Kimlik Doğrulama: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲6814.23 ▼0.121.62 ▼0.1647.41 ▲5.40
Dashboard /wp-admin2,232 ▲555.59 ▼0.0785.78 ▼3.7140.49 ▼5.20
Posts /wp-admin/edit.php2,144 ▲442.13 ▲0.1841.48 ▲3.0336.68 ▼1.92
Add New Post /wp-admin/post-new.php1,563 ▲3723.07 ▼0.36666.22 ▼7.4951.57 ▲3.10
Media Library /wp-admin/upload.php1,440 ▲374.12 ▼0.01102.38 ▼0.4542.70 ▼3.49

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
Please fix the following
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Warning
      Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/kolaykimlik/vendor/appsero/client/src/Client.php on line 152
    • > PHP Fatal error
      Uncaught Error: Call to undefined function Appsero\\plugin_basename() in wp-content/plugins/kolaykimlik/vendor/appsero/client/src/Client.php:153

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: kimlik, tc, vergino

kolaykimlik/kolaykimlik.php 77% from 13 tests

Analyzing the main PHP file in "T.C Kimlik & Vergi No Dogrulama - Kolay Kimlik Doğrulama" version 1.4.1
It is important to fix the following:
  • Requires at least: Required version does not match the one declared in readme.txt ("5.9" instead of "4.9")
  • Description: The description should be shorter than 140 characters (currently 236 characters long)
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin3,179 lines of code in 25 files:
LanguageFilesBlank linesComment linesLines of code
PHP205869722,784
Markdown1650179
PO File24848140
JSON20076

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.43
Average class complexity29.67
▷ Minimum class complexity1.00
▷ Maximum class complexity70.00
Average method complexity3.28
▷ Minimum method complexity1.00
▷ Maximum method complexity24.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes12
▷ Abstract classes00.00%
▷ Concrete classes12100.00%
▷ Final classes00.00%
Methods152
▷ Static methods1912.50%
▷ Public methods11676.32%
▷ Protected methods63.95%
▷ Private methods3019.74%
Functions7
▷ Named functions685.71%
▷ Anonymous functions114.29%
Constants0
▷ Global constants00.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
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/woocommerceVergi.png1.11KB0.85KB▼ 23.33%
assets/woocommerce.png2.32KB1.26KB▼ 45.83%
assets/contactform7.png1.13KB0.61KB▼ 45.76%