weexteam/weex_devtools_android

View on GitHub
inspector/src/main/java/com/taobao/weex/devtools/toolbox/PerformanceActivity.java

Summary

Maintainability
A
1 hr
Test Coverage

Method addTab has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private void addTab(String title, final boolean selected, final View.OnClickListener listener) {
    final TextView textView = new TextView(this);
    textView.setText(title);
    LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);
    lp.weight = 1;

    There are no issues that match your filters.

    Category
    Status