6 views

Open-Dev-Society/OpenStock

OpenStock is an open-source alternative to expensive market platforms. Track real-time prices, set personalized alerts, and explore detailed company insights — built openly, for everyone, forever free.

TypeScript★ 18,937+344 that day#5 on trending

Analyzed September 24, 2026 at 7570db2 (main) with jscpd 5.4.0 in 0.0s. Code duplication stayed at 0.83% across 4 appearances since Sep 20.

C58/100
Project health9,739 lines of code (S)
Duplication90
0.9% in tsx, typescript, bash, javascript, perl
Dead code26
17%
Complexity85
9.9%

The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.

0.83%duplicated code · 71 of 8,578 lines
5clones in code
95code files of 117 scanned
1.1%duplicated over all files · 8 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code.

Largest clones in the code

2 more
Largest clones over all files, tests and data included
  • 31 lines in 2 placestextdocs and examples146 tokens
    259# Better Auth
    260BETTER_AUTH_SECRET=your_better_auth_secret
    261BETTER_AUTH_URL=http://localhost:3000
    262
    263# Finnhub
    264# Note: NEXT_PUBLIC_FINNHUB_API_KEY is required for Vercel deployment
    265NEXT_PUBLIC_FINNHUB_API_KEY=your_finnhub_key
    266FINNHUB_BASE_URL=https://finnhub.io/api/v1
    267
    268# Sentiment insights (optional)
    

    First 10 of 31 lines.

  • 13 lines in 2 placestsx71 tokens
    87<OpenDevSocietyBranding outerClassName="mt-10 flex justify-center" />
    88<div className="mt-5 flex justify-center">
    89    <a href="https://peerlist.io/ravixalgorithm/project/openstock" target="_blank" rel="noreferrer">
    90        <img
    91            src="https://peerlist.io/api/v1/projects/embed/PRJH8OED7MBL9MGB9HRMKAKLM66KNN?showUpvote=true&theme=light"
    92            alt="OpenStock"
    93            style={{ width: 'auto', height: '72px' }}
    94        />
    95    </a>
    96</div>
    

    First 10 of 13 lines.

  • 19 lines in 2 placesyamldocs and examples68 tokens
    226mongodb:
    227  image: mongo:7
    228  container_name: mongodb
    229  restart: unless-stopped
    230  environment:
    231    MONGO_INITDB_ROOT_USERNAME: root
    232    MONGO_INITDB_ROOT_PASSWORD: example
    233  ports:
    234    - "27017:27017"
    235  volumes:
    

    First 10 of 19 lines.

  • 14 lines in 2 placestsx58 tokens
  • 19 lines in 2 placestsx57 tokens
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
tsx494,5113461.02%
typescript242,5982250.96%
javascript12651000%
bash9644000%
perl1174000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
tsx494,5113461.02%
typescript303,7153371%
text19112426.37%
yaml25211834.62%
markdown3763000%
bash10663000%
javascript12651000%
css1489000%
markup4181000%
perl1174000%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Sep 24, 2026#518,937 (+344)11711,40981.1%0.83%C 587570db2
Sep 22, 2026#217,964 (+844)11711,40981.1%0.83%C 58.19677edd
Sep 21, 2026#816,997 (+755)11711,40581.1%0.83%C 58.653553ec
Sep 20, 2026#416,225 (+472)11711,40581.1%0.83%C 58.653553ec

Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.