excalidraw
excalidraw copied to clipboard
feat: simple impl of multi font support, for chinese font
Coverage Report
| Status | Category | Percentage | Covered / Total |
|---|---|---|---|
| 🟢 | Lines | 73.62% (🎯 70%) | 44842 / 60907 |
| 🟢 | Statements | 73.62% (🎯 70%) | 44842 / 60907 |
| 🟢 | Functions | 69.83% (🎯 68%) | 1431 / 2049 |
| 🟢 | Branches | 81.1% (🎯 70%) | 5641 / 6955 |
File Coverage
| File | Stmts | % Branch | % Funcs | % Lines | Uncovered Lines |
|---|---|---|---|---|---|
| Changed Files | |||||
| src/constants.ts | 99.42% | 42.85% | 100% | 99.42% | 11-12 |
| src/actions/actionProperties.tsx | 94.64% | 86.17% | 91.22% | 94.64% | 174-176, 211-212, 245, 388-390, 405-414, 644, 775, 808-809, 857, 889-890, 936, 960, 963, 1020-1052 |
| src/element/textElement.ts | 91.97% | 94.25% | 92.68% | 91.97% | 178-179, 227, 323-326, 345-357, 408-409, 621-628, 640-661, 672-673, 693-694, 726-732, 765-776, 839-840, 851-852 |
size-limit report 📦
| Path | Size | Loading time (3g) | Running time (snapdragon) | Total time |
|---|---|---|---|---|
| dist/excalidraw.production.min.js | 315.88 KB (+0.02% 🔺) | 6.4 s (+0.02% 🔺) | 1.2 s (+17.59% 🔺) | 7.6 s |
| dist/excalidraw-assets/locales | 282.84 KB (0%) | 5.7 s (0%) | 223 ms (+34.88% 🔺) | 5.9 s |
| dist/excalidraw-assets/vendor*.js | 831.78 KB (0%) | 16.7 s (0%) | 2.5 s (+3.6% 🔺) | 19.2 s |