Feature: QMC v2 (JS Decoder) #211

Merged
ix64 merged 8 commits from feature/qmc-v2 into master 2021-12-17 09:58:47 +00:00
ix64 commented 2021-12-16 22:26:35 +00:00 (Migrated from github.com)
References: https://gist.github.com/ix64/bcd72c151f21e1b050c9cc52d6ff27d5#gistcomment-3997683 https://github.com/unlock-music/cli/tree/master/algo/qmc /cc @ishowshao @jixunmoe
github-actions[bot] commented 2021-12-16 22:28:14 +00:00 (Migrated from github.com)

Coverage report

St.
Category Percentage Covered / Total
🔴 Statements
54.33% (-45.67% 🔻)
226/416
🔴 Branches
26.63% (-73.37% 🔻)
45/169
🔴 Functions
50% (-50% 🔻)
25/50
🔴 Lines
54.64% (-45.36% 🔻)
206/377
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢
... / qmc_cipher.ts
96.51% 84.62% 100% 98.61%
🟢 utils/tea.ts 100% 100% 100% 100%
🔴 decrypt/utils.ts 13.19% 1.32% 12.5% 15.58%
🔴 decrypt/qmc_wasm.ts 4.65% 0% 0% 4.65%
🔴 utils/api.ts 10% 0% 0% 10%
🟢 decrypt/qmc_key.ts 93.75% 66.67% 100% 93.22%
🔴 decrypt/qmc.ts 38.64% 20.45% 57.14% 39.29%

Test suite run success

14 tests passing in 4 suites.

Report generated by 🧪jest coverage report action from 8713871854

<!-- jest coverage report action for options with hash 11b8a2ca89bfaeea09600f9f64cf2c01 --> ## Coverage report | <div title="Status of coverage: 🟢 - ok, 🟡 - slightly more than threshold, 🔴 - under the threshold">St.<sup>:grey_question:</sup></div> | Category | Percentage | Covered / Total | | :---------------------------------------------------------------------------------------------------------------------------------------: | :--------- | :------------------------------------------------------------ | :-------------: | | 🔴 | Statements | <div title="Base coverage is: 100%">54.33% (-45.67% 🔻)</div> | 226/416 | | 🔴 | Branches | <div title="Base coverage is: 100%">26.63% (-73.37% 🔻)</div> | 45/169 | | 🔴 | Functions | <div title="Base coverage is: 100%">50% (-50% 🔻)</div> | 25/50 | | 🔴 | Lines | <div title="Base coverage is: 100%">54.64% (-45.36% 🔻)</div> | 206/377 | <details><summary>Show new covered files 🐣</summary> | <div title="Status of coverage: 🟢 - ok, 🟡 - slightly more than threshold, 🔴 - under the threshold">St.<sup>:grey_question:</sup></div> | File | Statements | Branches | Functions | Lines | | :---------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------- | :--------- | :------- | :-------- | :----- | | 🟢 | <div title="decrypt/qmc_cipher.ts">`...` / qmc_cipher.ts</div> | 96.51% | 84.62% | 100% | 98.61% | | 🟢 | utils/tea.ts | 100% | 100% | 100% | 100% | | 🔴 | decrypt/utils.ts | 13.19% | 1.32% | 12.5% | 15.58% | | 🔴 | decrypt/qmc_wasm.ts | 4.65% | 0% | 0% | 4.65% | | 🔴 | utils/api.ts | 10% | 0% | 0% | 10% | | 🟢 | decrypt/qmc_key.ts | 93.75% | 66.67% | 100% | 93.22% | | 🔴 | decrypt/qmc.ts | 38.64% | 20.45% | 57.14% | 39.29% | </details> # Test suite run success ## 14 tests passing in 4 suites. <p align="right">Report generated by <a href="https://github.com/ArtiomTr/jest-coverage-report-action">🧪jest coverage report action</a> from 87138718549bdec014752ba43dcd5997aaf29137</p>
cloudflare-pages[bot] commented 2021-12-16 22:29:01 +00:00 (Migrated from github.com)

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8713871
Status:   Deploy successful!
Preview URL: https://fd1dd059.unlock-music-2dd0.pages.dev

View logs

## Deploying with &nbsp;<a href="https://pages.dev"><img alt="Cloudflare Pages" src="https://user-images.githubusercontent.com/23264/106598434-9e719e00-654f-11eb-9e59-6167043cfa01.png" width="16"></a> &nbsp;Cloudflare Pages <table><tr><td><strong>Latest commit:</strong> </td><td> <code>8713871</code> </td></tr> <tr><td><strong>Status:</strong></td><td>&nbsp;✅&nbsp; Deploy successful!</td></tr> <tr><td><strong>Preview URL:</strong></td><td> <a href='https://fd1dd059.unlock-music-2dd0.pages.dev'>https://fd1dd059.unlock-music-2dd0.pages.dev</a> </td></tr> </table> [View logs](https://dash.cloudflare.com/?to=/:account/pages/view/unlock-music/fd1dd059-162d-457c-9031-7e2abe437cd8)
jixunmoe (Migrated from github.com) reviewed 2021-12-17 00:19:52 +00:00
ix64 (Migrated from github.com) reviewed 2021-12-17 00:29:26 +00:00
ix64 (Migrated from github.com) reviewed 2021-12-17 00:40:44 +00:00
jixunmoe (Migrated from github.com) reviewed 2021-12-17 00:42:47 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.