Showing 472 of 2,519 total issues
Function 18
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
/***/ function(module, exports) {
;__weex_define__("@weex-component/banner", [], function(__weex_require__, __weex_exports__, __weex_module__){
;
Function 18
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
/***/ function(module, exports) {
;__weex_define__("@weex-component/banner", [], function(__weex_require__, __weex_exports__, __weex_module__){
;
Function 18
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
/***/ function(module, exports) {
;__weex_define__("@weex-component/banner", [], function(__weex_require__, __weex_exports__, __weex_module__){
;
Method readThisLongArrayXml
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static final long[] readThisLongArrayXml(XmlPullParser parser,
String endTag, String[] name)
throws XmlPullParserException, java.io.IOException {
int num;
Method readThisDoubleArrayXml
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static final double[] readThisDoubleArrayXml(XmlPullParser parser, String endTag,
String[] name) throws XmlPullParserException, java.io.IOException {
int num;
try {
Method testColorType
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void testColorType(){
for(final View caseView : mCaseListIndexView){
if (((WXTextView)caseView).getText().toString().equals("TC_Color")){
Log.e(TAG, "TC_Color find");
Method readThisStringArrayXml
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static final String[] readThisStringArrayXml(XmlPullParser parser, String endTag,
String[] name) throws XmlPullParserException, java.io.IOException {
int num;
try {
Method testAherfStyle
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void testAherfStyle(){
for(final View caseView : mCaseListIndexView){
if (((WXTextView)caseView).getText().toString().equals("TC_AHref")){
Log.e(TAG, "TC_AHref find");
Method readThisBooleanArrayXml
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static final boolean[] readThisBooleanArrayXml(XmlPullParser parser, String endTag,
String[] name) throws XmlPullParserException, java.io.IOException {
int num;
try {
Method testPerfMonitorListAppendTree
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void testPerfMonitorListAppendTree(){
for(final View caseView : mCaseListIndexView){
if (((WXTextView)caseView).getText().toString().equals("TC_Monitor")){
Log.e(TAG, "TC_Monitor find");
Method execJSWithResult
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public byte[] execJSWithResult(String instanceId, String namespace, String function, WXJSObject[] args) {
String result = "";
Method callAddElement
has 12 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public int callAddElement(String instanceId, String componentType, String ref, int index, String parentRef, HashMap<String, String> styles, HashMap<String, String> attributes, HashSet<String> events, float[] margins, float[] paddings, float[] borders, boolean willLayout) {
Method testInputStyle
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void testInputStyle(){
for(final View caseView : mCaseListIndexView){
if (((WXTextView)caseView).getText().toString().equals("TC_Input")){
Log.e(TAG, "TC_Input find");
Method testTextType
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void testTextType(){
for(final View caseView : mCaseListIndexView){
if (((WXTextView)caseView).getText().toString().equals("TC_Text")){
Log.e(TAG, "TC_Text find");
Method testDowngrade
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void testDowngrade(){
for(final View caseView : mCaseListIndexView){
if (((WXTextView)caseView).getText().toString().equals("TC_Downgrade")){
Log.e(TAG, "TC_Downgrade find");
Method testInputPlaceholder
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void testInputPlaceholder(){
for(final View caseView : mCaseListIndexView){
if (((WXTextView)caseView).getText().toString().equals("TC_Input")){
Log.e(TAG, "TC_Input find");
Method testInputType
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void testInputType(){
for(final View caseView : mCaseListIndexView){
if (((WXTextView)caseView).getText().toString().equals("TC_Input")){
Log.e(TAG, "TC_Input find");
Method getViewProperties
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private List<ViewCSSProperty> getViewProperties() {
if (mViewProperties == null) {
synchronized (this) {
if (mViewProperties == null) {
List<ViewCSSProperty> props = new ArrayList<>();
Method onCreateView
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
rootView = inflater.inflate(R.layout.fragment_js_log, container, false);
Function created
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
created: function() {
var bundleUrl = this.$getConfig().bundleUrl;
console.log('hit', bundleUrl);
var dirs = this.root.split('/');
dirs.forEach(function(dir, index) {