2 views

google/ax

Google's open agentic orchestration runtime

Go★ 11,607+1,379 that day#8 on trending

Analyzed September 26, 2026 at d0bc38b (main) with jscpd 5.4.0 in 0.0s. Code duplication went from 2.6% on Sep 23 to 2.4% on Sep 26.

D49.7/100
Project health14,735 lines of code (M)
Duplication63
5.9% in go, bash, perl, python
Dead coden/a
the languages dead code reads are under 5% of the code
Complexity39
73.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.

2.4%duplicated code · 188 of 7,843 lines
19clones in code
32code files of 77 scanned
5.24%duplicated over all files · 83 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 2 generated files: pkg/apis/v1alpha1/ax_grpc.pb.go, pkg/apis/v1alpha1/ax.pb.go.

Largest clones in the code

  • 15 lines in 3 placesgo119 tokens
    73func (s *Server) GetTask(ctx context.Context, req *v1alpha1.GetTaskRequest) (*v1alpha1.Task, error) {
    74    if req == nil {
    75        return nil, status.Error(codes.InvalidArgument, "missing request")
    76    }
    77    atespace := req.Atespace
    78    if atespace == "" {
    79        atespace = "default"
    80    }
    81    task, err := s.store.GetTask(ctx, atespace, req.Name)
    82    if err != nil {
    

    First 10 of 15 lines.

  • 8 lines in 3 placesgo57 tokens
    224    return []*v1alpha1.Task{}, nil
    225}
    226
    227keys := make([]string, len(members))
    228for i, m := range members {
    229    parts := strings.SplitN(m, ":", 2)
    230    if len(parts) == 2 {
    231        keys[i] = s.taskKey(parts[0], parts[1])
    
    408    return []*v1alpha1.Model{}, nil
    409}
    410
    411keys := make([]string, len(members))
    412for i, m := range members {
    413    parts := strings.SplitN(m, ":", 2)
    414    if len(parts) == 2 {
    415        keys[i] = s.modelKey(parts[0], parts[1])
    
  • 8 lines in 3 placesgo54 tokens
    319func (s *Store) DeleteTask(ctx context.Context, atespace, name string) error {
    320    if atespace == "" {
    321        atespace = "default"
    322    }
    323    member := fmt.Sprintf("%s:%s", atespace, name)
    324
    325    pipe := s.client.TxPipeline()
    326    pipe.Del(ctx, s.taskKey(atespace, name))
    
    373func (s *Store) DeleteModel(ctx context.Context, atespace, name string) error {
    374    if atespace == "" {
    375        atespace = "default"
    376    }
    377    member := fmt.Sprintf("%s:%s", atespace, name)
    378
    379    pipe := s.client.TxPipeline()
    380    pipe.Del(ctx, s.modelKey(atespace, name))
    
7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
go206,696191882.81%
bash10844000%
perl1174000%
python1129000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
go3513,584838746.43%
bash14913000%
markdown11905000%
yaml10596000%
protobuf1317000%
perl1174000%
python1129000%
markup245000%
text232000%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Sep 26, 2026#811,607 (+1,379)7716,695835.24%2.4%D 49.7d0bc38b
Sep 25, 2026#210,694 (+1,373)7515,886734.83%2.33%D 50.598f4f2c
Sep 24, 2026#29,324 (+1,543)7517,447915.43%2.6%D 48.6ace0360
Sep 23, 2026#47,911 (+2,305)7417,394915.45%2.6%D 49.6d8ed0fe

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