Skip to content

Latest commit

 

History

History
82 lines (57 loc) · 4.42 KB

README.md

File metadata and controls

82 lines (57 loc) · 4.42 KB

Data structures and algorithms in pure Kotlin

A repository that organizes various data structures, algorithms, and solutions to problems in Kotlin in a structured format

Build Codebeat CodeFactor Codacy Badge Hits-of-Code License: MIT FOSSA Status CodeStyle Kotlin Version codacy test coverage Maintainability codeclimate test coverage codecov test coverage Coverage Status


Overview

The repository is a collection of open-source implementations of a variety of algorithms implemented in Kotlin and licensed under MIT License. The implementations and their associated documentations are meant to provide a learning resource for educators and students. Hence, one may find more than one implementation for the same objective but using different algorithm strategies and optimizations.

Features

  • The repository provides implementations of various algorithms in one of the most fundamental general purpose languages
  • Well documented source code with detailed explanations provide a valuable resource for educators and students alike.
  • Source codes are compiled and tested
  • Self-checks within programs ensure correct implementations with confidence.
  • Modular implementations and OpenSource licensing enable the functions to be utilized conveniently in other applications.
  • Makefile
  • JUnit 5
  • Code checks (detekt, ktlint, spotless)
  • CI

detekt

Metrics

  • 272 number of properties

  • 231 number of functions

  • 140 number of classes

  • 9 number of packages

  • 84 number of kt files

Complexity Report

  • 7,644 lines of code (loc)

  • 3,710 source lines of code (sloc)

  • 2,870 logical lines of code (lloc)

  • 3,372 comment lines of code (cloc)

  • 427 cyclomatic complexity (mcc)

  • 214 cognitive complexity

  • 0 number of total code smells

  • 90% comment source ratio

  • 148 mcc per 1,000 lloc

  • 0 code smells per 1,000 lloc

Findings (0)

generated with detekt version 1.23.7 on 2024-12-11 22:35:45 UTC