Project Name
stringclasses
422 values
Package Name
stringlengths
1
89
Type Name
stringlengths
1
112
NOF
int64
0
1.33k
NOPF
int64
0
1.33k
NOM
int64
0
778
NOPM
int64
0
656
LOC
int64
0
9.42k
WMC
int64
0
2.05k
NC
int64
0
203
DIT
int64
0
9
LCOM
float64
-1
1
FANIN
int64
0
350
FANOUT
int64
0
139
Line no
int64
1
94.8k
code
stringlengths
12
4.03M
ThemeDemo
com.dim.baselibrary
ApplicationTest
0
0
1
1
8
1
0
0
-1
0
0
6
package com.dim.baselibrary; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { sup...
ThemeDemo
android.support.v7.app
SkinHelper
1
0
2
2
34
2
0
0
1
1
0
16
package android.support.v7.app; import android.content.Context; import android.os.Build; import android.support.v7.widget.VectorEnabledTintResources; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import java.lang.reflect.Field; import java.lang.reflect.InvocationHandl...
ThemeDemo
android.support.v7.app
LayoutInflaterFactory2
9
0
7
3
219
39
0
0
0
0
2
45
package android.support.v7.app; import android.content.Context; import android.content.ContextWrapper; import android.content.res.TypedArray; import android.os.Build; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.util.ArrayMap; import android.support.v...
ThemeDemo
android.support.v7.app
LayoutInflaterFactory2.DeclaredOnClickListener
4
0
0
0
52
0
0
0
-1
0
1
274
package android.support.v7.app; import android.content.Context; import android.content.ContextWrapper; import android.content.res.TypedArray; import android.os.Build; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.util.ArrayMap; import android.support.v...
ThemeDemo
com.dim.skin
SkinStyle
0
0
0
0
4
0
0
0
-1
29
0
3
package com.dim.skin; /** * Created by dim on 15/8/27. */ public enum SkinStyle { Dark, Light//默认Light }
ThemeDemo
com.dim.skin
SkinConfig
0
0
2
2
14
2
0
0
-1
6
1
7
package com.dim.skin; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; /** * Created by zzz40500 on 15/8/27. */ public class SkinConfig { public static SkinStyle getSkinStyle(Context context) { SharedPreferences sharedPreferences = context.getShared...
ThemeDemo
com.dim.skin
SkinEnable
0
0
1
0
6
1
0
0
-1
0
1
3
package com.dim.skin; /** * Created by zzz40500 on 15/8/27. */ public interface SkinEnable { void setSkinStyle(SkinStyle skinStyle); }
ThemeDemo
com.dim.skin.hepler
SkinHelper
2
0
8
8
46
12
2
0
0.625
17
5
13
package com.dim.skin.hepler; import android.content.Context; import android.util.AttributeSet; import android.view.View; import android.widget.ListView; import android.widget.TextView; import com.dim.skin.SkinConfig; import com.dim.skin.SkinStyle; import com.dim.widget.LinearLayout; /** * /** * * @attr ref androi...
ThemeDemo
com.dim.skin.hepler
ViewSkinHelper
9
1
4
4
62
14
3
1
0.5
0
2
11
package com.dim.skin.hepler; import android.content.Context; import android.util.AttributeSet; import android.view.View; import com.dim.skin.SkinConfig; import com.dim.skin.SkinStyle; /** * @attr ref android.R.styleable#View_background * Created by zzz40500 on 15/9/3. */ public class ViewSkinHelper extends SkinH...
ThemeDemo
com.dim.skin.hepler
LinearLayoutSkinHelper
2
0
3
3
52
10
0
2
0.666667
0
1
12
package com.dim.skin.hepler; import android.annotation.TargetApi; import android.content.Context; import android.os.Build; import android.util.AttributeSet; import android.view.View; import android.widget.LinearLayout; import com.dim.skin.SkinStyle; /** * Created by zzz40500 on 15/9/4. */ public class LinearLayout...
ThemeDemo
com.dim.skin.hepler
SkinCompat
0
0
5
5
51
15
0
0
-1
4
3
12
package com.dim.skin.hepler; import android.app.Activity; import android.view.View; import android.view.ViewGroup; import com.dim.skin.SkinStyle; import com.dim.widget.SLayoutParamsI; import com.dim.skin.SkinConfig; import com.dim.skin.SkinEnable; /** * Created by zzz40500 on 15/9/4. */ public class SkinCompat { ...
ThemeDemo
com.dim.skin.hepler
SkinCompat.SkinStyleChangeListener
0
0
0
0
4
0
0
0
-1
0
0
17
package com.dim.skin.hepler; import android.app.Activity; import android.view.View; import android.view.ViewGroup; import com.dim.skin.SkinStyle; import com.dim.widget.SLayoutParamsI; import com.dim.skin.SkinConfig; import com.dim.skin.SkinEnable; /** * Created by zzz40500 on 15/9/4. */ public class SkinCompat { ...
ThemeDemo
com.dim.skin.hepler
DefaultViewSkinHelper
13
1
5
5
95
23
0
1
0.4
7
3
12
package com.dim.skin.hepler; import android.content.Context; import android.util.AttributeSet; import android.view.View; import com.dim.skin.SkinConfig; import com.dim.skin.SkinStyle; import com.dim.widget.TextView; /** * @attr ref android.R.styleable#View_background * Created by zzz40500 on 15/9/3. */ public cl...
ThemeDemo
com.dim.skin.hepler
TextViewSkinHelper
16
0
3
3
132
30
0
2
0.666667
0
1
10
package com.dim.skin.hepler; import android.content.Context; import android.util.AttributeSet; import android.view.View; import android.widget.TextView; import com.dim.skin.SkinStyle; /** * <attr name="nightTextColor" format="color"/> * <attr name="nightTextColorHighlight" format="color"/> * <attr name="nightText...
ThemeDemo
com.dim.skin.hepler
ListViewSkinHelper
4
0
3
3
87
13
0
2
0.666667
0
1
11
package com.dim.skin.hepler; import android.content.Context; import android.graphics.drawable.ColorDrawable; import android.util.AttributeSet; import android.view.View; import android.widget.ListView; import com.dim.skin.SkinStyle; /** * Created by zzz40500 on 15/9/4. */ public class ListViewSkinHelper extends Vie...
ThemeDemo
com.dim.listener
SingleClickHelper
2
0
1
1
15
2
0
0
0
2
0
4
package com.dim.listener; import android.os.SystemClock; /** * Created by zzz40500 on 15/8/26. */ public class SingleClickHelper { private static long L_CLICK_INTERVAL = 1200; private long preClickTime; public boolean clickEnable(){ long clickTime= SystemClock.elapsedRealtime(); if ( ...
ThemeDemo
com.dim.listener
SingleItemClickListener
2
0
2
2
15
3
0
0
0
0
1
5
package com.dim.listener; import android.view.View; import android.widget.AdapterView; /** * Created by zzz40500 on 15/8/26. */ public class SingleItemClickListener implements AdapterView.OnItemClickListener { private AdapterView.OnItemClickListener singleItemClickListener; private SingleClickHelper single...
ThemeDemo
com.dim.listener
SingleClickListener
2
0
2
2
15
3
0
0
0
0
1
6
package com.dim.listener; import android.view.View; /** * Created by zzz40500 on 15/8/26. */ public class SingleClickListener implements View.OnClickListener { private View.OnClickListener mListener; private SingleClickHelper singleClickhelper =new SingleClickHelper(); public SingleClickListener(Vie...
ThemeDemo
com.dim.widget
ListView
2
0
10
9
44
10
0
0
0.4
0
3
17
package com.dim.widget; import android.content.Context; import android.graphics.Canvas; import android.util.AttributeSet; import com.dim.circletreveal.CircleRevealHelper; import com.dim.skin.SkinStyle; import com.dim.circletreveal.CircleRevealEnable; import com.dim.listener.SingleClickListener; import com.dim.listene...
ThemeDemo
com.dim.widget
MultiAutoCompleteTextView
2
0
9
8
41
9
0
0
0.333333
0
3
16
package com.dim.widget; import android.content.Context; import android.graphics.Canvas; import android.support.v7.widget.AppCompatMultiAutoCompleteTextView; import android.util.AttributeSet; import com.dim.circletreveal.CircleRevealHelper; import com.dim.listener.SingleClickListener; import com.dim.skin.SkinStyle; im...
ThemeDemo
com.dim.widget
LinearLayout
3
0
13
11
85
14
0
0
0.538462
0
5
21
package com.dim.widget; import android.annotation.TargetApi; import android.content.Context; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.os.Build; import android.util.AttributeSet; import android.view.*; import android.view.View; import com.dim.circletreveal.CircleRevealH...
ThemeDemo
com.dim.widget
LinearLayout.SLayoutParams
1
0
0
0
29
0
0
1
-1
0
1
112
package com.dim.widget; import android.annotation.TargetApi; import android.content.Context; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.os.Build; import android.util.AttributeSet; import android.view.*; import android.view.View; import com.dim.circletreveal.CircleRevealH...
ThemeDemo
com.dim.widget
EditText
2
0
9
8
41
9
0
0
0.333333
0
3
16
package com.dim.widget; import android.content.Context; import android.graphics.Canvas; import android.support.v7.widget.AppCompatEditText; import android.util.AttributeSet; import com.dim.circletreveal.CircleRevealEnable; import com.dim.circletreveal.CircleRevealHelper; import com.dim.listener.SingleClickListener; i...
ThemeDemo
com.dim.widget
SLayoutParamsI
0
0
1
0
6
1
3
0
-1
0
1
5
package com.dim.widget; import com.dim.skin.SkinStyle; /** * Created by zzz40500 on 15/9/5. */ public interface SLayoutParamsI { void setSkinStyle(SkinStyle skinStyle); }
ThemeDemo
com.dim.widget
RatingBar
2
0
9
8
41
9
0
0
0.333333
0
3
16
package com.dim.widget; import android.content.Context; import android.graphics.Canvas; import android.support.v7.widget.AppCompatRatingBar; import android.util.AttributeSet; import com.dim.circletreveal.CircleRevealHelper; import com.dim.circletreveal.CircleRevealEnable; import com.dim.listener.SingleClickListener; ...
ThemeDemo
com.dim.widget
ImageView
2
0
9
8
45
9
0
0
0.333333
0
3
16
package com.dim.widget; import android.content.Context; import android.graphics.Canvas; import android.util.AttributeSet; import com.dim.circletreveal.CircleRevealHelper; import com.dim.skin.SkinStyle; import com.dim.skin.hepler.SkinHelper; import com.dim.circletreveal.CircleRevealEnable; import com.dim.listener.Sing...
ThemeDemo
com.dim.widget
RelativeLayout
3
0
11
10
76
12
0
0
0.454545
0
5
21
package com.dim.widget; import android.annotation.TargetApi; import android.content.Context; import android.graphics.Canvas; import android.os.Build; import android.util.AttributeSet; import android.view.*; import android.view.View; import com.dim.circletreveal.CircleRevealHelper; import com.dim.listener.SingleClickL...
ThemeDemo
com.dim.widget
RelativeLayout.SLayoutParams
1
0
0
0
26
0
0
1
-1
0
1
99
package com.dim.widget; import android.annotation.TargetApi; import android.content.Context; import android.graphics.Canvas; import android.os.Build; import android.util.AttributeSet; import android.view.*; import android.view.View; import com.dim.circletreveal.CircleRevealHelper; import com.dim.listener.SingleClickL...
ThemeDemo
com.dim.widget
Button
2
0
9
8
41
9
0
0
0.333333
0
3
17
package com.dim.widget; import android.content.Context; import android.graphics.Canvas; import android.support.v7.widget.AppCompatButton; import android.util.AttributeSet; import com.dim.circletreveal.CircleRevealHelper; import com.dim.circletreveal.CircleRevealEnable; import com.dim.listener.SingleClickListener; imp...
ThemeDemo
com.dim.widget
TextView
2
0
9
8
46
9
0
0
0.333333
0
3
16
package com.dim.widget; import android.content.Context; import android.graphics.Canvas; import android.support.v7.widget.AppCompatTextView; import android.util.AttributeSet; import com.dim.circletreveal.CircleRevealHelper; import com.dim.skin.SkinStyle; import com.dim.circletreveal.CircleRevealEnable; import com.dim....
ThemeDemo
com.dim.widget
CheckBox
2
0
9
8
41
9
0
0
0.333333
0
3
16
package com.dim.widget; import android.content.Context; import android.graphics.Canvas; import android.support.v7.widget.AppCompatCheckBox; import android.util.AttributeSet; import com.dim.circletreveal.CircleRevealHelper; import com.dim.circletreveal.CircleRevealEnable; import com.dim.listener.SingleClickListener; i...
ThemeDemo
com.dim.widget
View
2
0
9
8
47
9
0
0
0.333333
7
3
18
package com.dim.widget; import android.content.Context; import android.graphics.Canvas; import android.util.AttributeSet; import com.dim.circletreveal.CircleRevealHelper; import com.dim.listener.SingleClickListener; import com.dim.skin.SkinConfig; import com.dim.skin.SkinStyle; import com.dim.skin.hepler.SkinCompat; ...
ThemeDemo
com.dim.widget
CompleteTextView
2
0
9
8
41
9
0
0
0.333333
0
3
16
package com.dim.widget; import android.content.Context; import android.graphics.Canvas; import android.support.v7.widget.AppCompatAutoCompleteTextView; import android.util.AttributeSet; import com.dim.circletreveal.CircleRevealEnable; import com.dim.circletreveal.CircleRevealHelper; import com.dim.listener.SingleClic...
ThemeDemo
com.dim.widget
Spinner
2
0
9
8
41
9
0
0
0.333333
0
3
16
package com.dim.widget; import android.content.Context; import android.graphics.Canvas; import android.support.v7.widget.AppCompatSpinner; import android.util.AttributeSet; import com.dim.circletreveal.CircleRevealEnable; import com.dim.circletreveal.CircleRevealHelper; import com.dim.listener.SingleClickListener; im...
ThemeDemo
com.dim.widget
WidgetFactor
2
0
3
3
25
5
0
0
0.666667
1
0
6
package com.dim.widget; import android.content.Context; import android.util.AttributeSet; /** * Created by zzz40500 on 15/9/5. */ public class WidgetFactor { private static WidgetFactor instant; public static WidgetFactor getInstant() { if(instant == null){ instant=new WidgetFactor(...
ThemeDemo
com.dim.widget
WidgetFactor.WidgetParser
0
0
0
0
3
0
0
0
-1
0
0
38
package com.dim.widget; import android.content.Context; import android.util.AttributeSet; /** * Created by zzz40500 on 15/9/5. */ public class WidgetFactor { private static WidgetFactor instant; public static WidgetFactor getInstant() { if(instant == null){ instant=new WidgetFactor(...
ThemeDemo
com.dim.widget
ImageButton
2
0
9
8
41
9
0
0
0.333333
0
3
16
package com.dim.widget; import android.content.Context; import android.graphics.Canvas; import android.util.AttributeSet; import com.dim.circletreveal.CircleRevealHelper; import com.dim.listener.SingleClickListener; import com.dim.skin.SkinStyle; import com.dim.skin.hepler.SkinHelper; import com.dim.circletreveal.Cir...
ThemeDemo
com.dim.widget
RadioButton
2
0
9
8
41
9
0
0
0.333333
0
3
16
package com.dim.widget; import android.content.Context; import android.graphics.Canvas; import android.support.v7.widget.AppCompatRadioButton; import android.util.AttributeSet; import com.dim.circletreveal.CircleRevealHelper; import com.dim.listener.SingleClickListener; import com.dim.skin.SkinStyle; import com.dim.s...
ThemeDemo
com.dim.widget
CheckedTextView
2
0
9
8
41
9
0
0
0.333333
0
3
17
package com.dim.widget; import android.content.Context; import android.graphics.Canvas; import android.support.v7.widget.AppCompatCheckedTextView; import android.util.AttributeSet; import com.dim.circletreveal.CircleRevealEnable; import com.dim.circletreveal.CircleRevealHelper; import com.dim.listener.SingleClickList...
ThemeDemo
com.dim.widget
FrameLayout
3
0
11
10
76
12
0
0
0.454545
0
4
20
package com.dim.widget; import android.annotation.TargetApi; import android.content.Context; import android.graphics.Canvas; import android.os.Build; import android.util.AttributeSet; import android.view.*; import com.dim.circletreveal.CircleRevealHelper; import com.dim.circletreveal.CircleRevealEnable; import com.di...
ThemeDemo
com.dim.widget
FrameLayout.SLayoutParams
1
0
0
0
26
0
0
1
-1
0
1
100
package com.dim.widget; import android.annotation.TargetApi; import android.content.Context; import android.graphics.Canvas; import android.os.Build; import android.util.AttributeSet; import android.view.*; import com.dim.circletreveal.CircleRevealHelper; import com.dim.circletreveal.CircleRevealEnable; import com.di...
ThemeDemo
com.dim.widget.animation
SimpleAnimListener
0
0
4
4
13
4
0
0
-1
1
1
3
package com.dim.widget.animation; /** * Created by zzz40500 on 15/9/3. */ public class SimpleAnimListener { public void onAnimationStart(CRAnimation animation) { } public void onAnimationEnd(CRAnimation animation) { } public void onAnimationCancel(CRAnimation animation) { } public ...
ThemeDemo
com.dim.widget.animation
CRAnimation
2
0
17
17
97
31
0
0
0.529412
3
1
10
package com.dim.widget.animation; import android.animation.Animator; import android.animation.ValueAnimator; import android.annotation.TargetApi; import android.os.Build; import android.view.animation.Interpolator; /** * Created by zzz40500 on 15/9/3. */ @TargetApi(Build.VERSION_CODES.HONEYCOMB) public class CRAni...
ThemeDemo
com.dim.circletreveal
CircleRevealHelper
7
0
4
4
55
7
0
0
0
17
1
15
package com.dim.circletreveal; import android.animation.Animator; import android.animation.ValueAnimator; import android.graphics.Canvas; import android.graphics.Path; import android.graphics.Region; import android.os.Build; import android.view.View; import android.view.ViewAnimationUtils; import com.dim.widget.anima...
ThemeDemo
com.dim.circletreveal
CircleRevealEnable
0
0
2
0
7
2
0
0
-1
1
0
7
package com.dim.circletreveal; import android.graphics.Canvas; import com.dim.widget.animation.CRAnimation; /** * Created by zzz40500 on 15/8/27. */ public interface CircleRevealEnable { CRAnimation circularReveal(int centerX, int centerY, float startRadius, float endRadius); void superDraw(Canvas canv...
ThemeDemo
com.dim.circletreveal
CircularRevealCompat
1
1
2
2
15
3
0
0
0
0
0
8
package com.dim.circletreveal; import android.support.annotation.Nullable; import android.view.View; import com.dim.widget.animation.CRAnimation; /** * Created by zzz40500 on 15/8/27. */ public class CircularRevealCompat { public View mView; public CircularRevealCompat(View view) { mView = view; ...
ThemeDemo
com.dim.themedemo
ApplicationTest
0
0
1
1
8
1
0
0
-1
0
0
6
package com.dim.themedemo; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { super...
ThemeDemo
com.dim.themedemo
MainActivity
3
0
6
5
66
10
0
0
0.666667
0
4
20
package com.dim.themedemo; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.Menu; import android.view.MenuItem; import android.view.View; imp...
ThemeDemo
com.dim.themedemo
MainActivity.SkinStyleChangeListenerImp
0
0
0
0
14
0
0
0
-1
0
0
76
package com.dim.themedemo; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.Menu; import android.view.MenuItem; import android.view.View; imp...
ThemeDemo
com.dim.themedemo
ListViewDemoActivity
4
0
5
2
63
9
0
0
0.4
0
4
24
package com.dim.themedemo; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.View; import android.widget.ListView; import com.dim.circletreveal.CircularRevealCompat; import com.dim.skin.SkinConfig; import com.dim.skin.SkinStyle; imp...
ThemeDemo
com.dim.themedemo
ListViewDemoActivity.SkinStyleChangeListenerImp
0
0
0
0
15
0
0
0
-1
0
0
85
package com.dim.themedemo; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.View; import android.widget.ListView; import com.dim.circletreveal.CircularRevealCompat; import com.dim.skin.SkinConfig; import com.dim.skin.SkinStyle; imp...
ThemeDemo
com.dim.themedemo
APP
0
0
1
1
9
1
0
0
-1
0
1
6
package com.dim.themedemo; import android.app.Application; import android.support.v7.app.SkinHelper; /** * Created by zzz40500 on 16/5/24. */ public class APP extends Application { @Override public void onCreate() { super.onCreate(); SkinHelper.init(this); } }
ThemeDemo
com.dim.themedemo.adapter.itemhandler
TestItemHandler
0
0
3
3
13
3
0
0
-1
0
1
11
package com.dim.themedemo.adapter.itemhandler; import android.view.View; import com.dim.skin.hepler.SkinCompat; import com.mingle.themedemo.R; import kale.adapter.handler.SimpleItemHandler; import kale.adapter.util.ViewHolder; /** * Created by zzz40500 on 15/9/5. */ public class TestItemHandler extends SimpleIte...
diamond
com.taobao.diamond.server.listener
AuthorizationFilter
0
0
3
3
23
4
0
0
-1
0
1
27
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.server.utils
GlobalCounter
2
0
4
4
25
5
0
0
0.5
2
0
12
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.server.utils
SystemConfig
3
1
3
2
54
6
0
0
1
2
0
25
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.server.utils
PaginationHelper
0
0
2
2
48
7
0
0
-1
1
1
24
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.server.utils
SessionHolder
1
0
4
3
22
4
0
0
0.5
1
0
15
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.server.utils
DiamondUtils
1
0
3
3
29
8
0
0
0.666667
1
0
16
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.server.controller
AdminController
3
0
22
21
370
61
0
0
0.136364
0
9
42
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.server.controller
ConfigController
5
0
8
8
149
24
0
0
0
1
4
32
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.server.controller
ConfigController.ConfigKey
3
0
0
0
30
0
0
0
-1
0
0
192
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.server.controller
NotifyController
1
0
3
3
25
3
0
0
0
0
1
21
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.server.controller
LoginController
1
0
4
4
28
5
0
0
0.5
0
1
24
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.server.controller
ConfigServlet
4
0
5
3
51
9
0
0
0.4
0
4
20
package com.taobao.diamond.server.controller; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.util....
diamond
com.taobao.diamond.server.service
AdminService
3
0
9
8
96
17
0
0
0
2
1
29
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.server.service
DumpConfigInfoTask
3
0
3
2
47
9
0
0
0
1
2
12
package com.taobao.diamond.server.service; import java.io.IOException; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import com.taobao.diamond.domain.ConfigInfo; import com.taobao.diamond.domain.Page; /** * Dump配置信息任务 * * @author boyan * @date 2010-5-10 */ public final ...
diamond
com.taobao.diamond.server.service
NotifyService
5
0
5
2
99
12
0
0
0
1
2
32
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.server.service
ConfigService
5
0
20
16
181
29
0
0
0.15
5
7
27
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.server.service
PersistService
5
0
16
14
162
25
0
0
0.25
2
4
26
package com.taobao.diamond.server.service; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.util.Properties; import javax.annotation.PostConstruct; import org.apache.commons.dbcp.BasicDataSource; import org.apache.commons.lang.StringUt...
diamond
com.taobao.diamond.server.service
PersistService.ConfigInfoRowMapper
0
0
0
0
11
0
0
0
-1
0
0
46
package com.taobao.diamond.server.service; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.util.Properties; import javax.annotation.PostConstruct; import org.apache.commons.dbcp.BasicDataSource; import org.apache.commons.lang.StringUt...
diamond
com.taobao.diamond.server.service
DiskService
3
0
13
8
138
20
0
0
0
4
2
22
package com.taobao.diamond.server.service; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.util.concurrent.ConcurrentHashMap; import javax.servlet.ServletContext; import org.apache.commons.io.FileUtils; import org.apache.commons.logging.Log; import org.apache.common...
diamond
com.taobao.diamond.server.service
TimerTaskService
5
0
9
9
48
10
0
0
0.444444
1
5
17
package com.taobao.diamond.server.service; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ThreadFactory; import java.util.concurrent.TimeUnit; import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; import org.springframewor...
diamond
com.taobao.diamond.server.exception
ConfigServiceException
1
0
4
4
20
4
0
0
1
0
0
12
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.util
PatternUtils
0
0
2
2
38
8
0
0
-1
1
0
12
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.util
DiamondUtils
1
1
2
2
25
7
0
0
0
0
0
12
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.util
ResourceUtils
0
0
10
10
131
22
0
0
-1
0
0
21
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.util
RandomDiamondUtils
5
0
6
6
66
13
0
0
0
1
1
18
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.domain
ContextResult
5
0
12
12
48
12
0
0
0.166667
1
1
21
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.domain
DiamondSDKConf
3
0
6
6
23
6
0
0
0.5
1
0
17
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.domain
DiamondConf
5
0
12
12
51
12
0
0
0.166667
2
0
14
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.domain
PageContextResult
11
0
26
26
105
34
0
0
0.153846
1
0
15
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.domain
BatchContextResult
6
0
11
11
45
11
0
0
0.181818
1
0
8
package com.taobao.diamond.domain; import java.io.Serializable; import java.util.ArrayList; import java.util.List; /** * 批处理的返回结果 * * @author leiwen.zh * */ public class BatchContextResult<T> implements Serializable { private static final long serialVersionUID = -5170746311067772091L; // 批处理是否成功 ...
diamond
com.taobao.diamond.domain
Page
5
0
8
8
37
8
0
0
0.5
5
0
17
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.domain
ConfigInfo
6
0
17
17
111
40
1
0
0.176471
6
1
18
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.domain
ConfigInfoEx
3
0
7
7
30
7
0
1
0.428571
1
0
3
package com.taobao.diamond.domain; /** * ConfigInfo的扩展类, 解决老版本的SDK与新版本的server由于反序列化字段错误而产生的不兼容问题 * * @author leiwen.zh * */ public class ConfigInfoEx extends ConfigInfo { private static final long serialVersionUID = -1L; // 批量查询时, 单条数据的状态码, 具体的状态码在Constants.java中 private int status; // 批量查询时, ...
diamond
com.taobao.diamond.sdkapi.impl
DiamondSDKManagerImpl
7
0
19
10
0
80
0
0
0
0
11
58
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.sdkapi
DiamondSDKManager
0
0
9
9
82
9
0
0
-1
0
0
23
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.mockserver
MockServer
4
0
10
10
81
20
0
0
0
3
2
19
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.mockserver
MockServer.Pair
2
0
0
0
8
0
0
0
-1
0
0
21
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.manager.impl
PropertiesListener
1
0
2
2
18
3
0
0
0
0
0
23
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.manager.impl
DefaultDiamondManager
5
0
16
16
115
17
0
0
0
0
4
29
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.manager
DiamondManager
0
0
12
12
71
12
0
0
-1
1
2
18
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.manager
ManagerListener
0
0
2
2
12
2
2
0
-1
4
0
15
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.manager
SkipInitialCallbackListener
1
0
3
3
17
5
0
1
0
0
0
5
/** Copyright 2013-2023 步步高商城. */ package com.taobao.diamond.manager; /** * * @author <a href="mailto:takeseem@gmail.com">杨浩</a> * @since 0.1.0 */ public abstract class SkipInitialCallbackListener implements ManagerListener { private String first; public SkipInitialCallbackListener(String data) { fir...
diamond
com.taobao.diamond.manager
ManagerListenerAdapter
0
0
1
1
5
1
0
1
-1
0
0
15
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.configinfo
CacheData
9
0
21
21
94
30
0
0
0.380952
2
1
18
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.configinfo
ConfigureInfomation
4
0
9
9
64
21
0
0
0
3
0
15
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.client
DiamondSubscriber
0
0
15
15
93
15
0
1
-1
2
1
18
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....
diamond
com.taobao.diamond.client
DiamondClientSub
0
0
4
4
10
4
1
0
-1
0
1
12
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * Authors: * leiwen <chrisredfield1985@126.com> , boyan <killme2008@gmail....