Skip to content

Commit 438d17e

Browse files
committed
#109 docs: add codecov badge and collapsed coverage graphs
1 parent 396159f commit 438d17e

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,41 @@
1111
[![docs.rs](https://img.shields.io/docsrs/telegram-webapp-sdk)](https://docs.rs/telegram-webapp-sdk)
1212
[![Downloads](https://img.shields.io/crates/d/telegram-webapp-sdk)](https://crates.io/crates/telegram-webapp-sdk)
1313
![MSRV](https://img.shields.io/badge/MSRV-1.89-blue)
14-
![License](https://img.shields.io/badge/License-MIT%20or%20Apache--2.0-informational)
14+
![License](https://img.shields.io/badge/License-MIT-informational)
15+
[![codecov](https://codecov.io/gh/RAprogramm/telegram-webapp-sdk/graph/badge.svg?token=7FP6HC20BK)](https://codecov.io/gh/RAprogramm/telegram-webapp-sdk)
1516
[![Hits-of-Code](https://hitsofcode.com/github/RAprogramm/telegram-webapp-sdk?branch=main)](https://hitsofcode.com/github/RAprogramm/telegram-webapp-sdk/view?branch=main)
1617
[![CI](https://github.com/RAprogramm/telegram-webapp-sdk/actions/workflows/ci.yml/badge.svg)](https://github.com/RAprogramm/telegram-webapp-sdk/actions/workflows/ci.yml)
18+
[![REUSE status](https://api.reuse.software/badge/github.com/RAprogramm/telegram-webapp-sdk)](https://api.reuse.software/info/github.com/RAprogramm/telegram-webapp-sdk)
1719
<!-- webapp_api_badges:start -->
1820
[![Telegram WebApp API](https://img.shields.io/badge/Telegram%20WebApp%20API-9.2-blue)](https://core.telegram.org/bots/webapps)
1921
[![Coverage](https://img.shields.io/badge/Coverage-up%20to%20date%20%2892abbf7%29-brightgreen)](https://github.com/RAprogramm/telegram-webapp-sdk/commit/92abbf7)
2022
<!-- webapp_api_badges:end -->
2123

2224
`telegram-webapp-sdk` provides a type-safe and ergonomic wrapper around the [Telegram Web Apps](https://core.telegram.org/bots/webapps) JavaScript API.
2325

26+
<details>
27+
<summary>Coverage Graphs</summary>
28+
29+
### Sunburst
30+
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
31+
32+
[![Sunburst](https://codecov.io/gh/RAprogramm/telegram-webapp-sdk/graphs/sunburst.svg?token=7FP6HC20BK)](https://codecov.io/gh/RAprogramm/telegram-webapp-sdk)
33+
34+
### Grid
35+
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
36+
37+
[![Grid](https://codecov.io/gh/RAprogramm/telegram-webapp-sdk/graphs/tree.svg?token=7FP6HC20BK)](https://codecov.io/gh/RAprogramm/telegram-webapp-sdk)
38+
39+
### Icicle
40+
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
41+
42+
[![Icicle](https://codecov.io/gh/RAprogramm/telegram-webapp-sdk/graphs/icicle.svg?token=7FP6HC20BK)](https://codecov.io/gh/RAprogramm/telegram-webapp-sdk)
43+
44+
</details>
45+
2446
## Table of contents
2547

48+
- [Coverage Graphs](#coverage-graphs)
2649
- [Features](#features)
2750
- [Macros](#macros)
2851
- [Router](#router)

0 commit comments

Comments
 (0)