@@ -1,3 +1,19 @@
Loading
1 +
/*
2 +
 * Licensed to the Apache Software Foundation (ASF) under one or more
3 +
 * contributor license agreements.  See the NOTICE file distributed with
4 +
 * this work for additional information regarding copyright ownership.
5 +
 * The ASF licenses this file to You under the Apache License, Version 2.0
6 +
 * (the "License"); you may not use this file except in compliance with
7 +
 * the License.  You may obtain a copy of the License at
8 +
 *
9 +
 *     http://www.apache.org/licenses/LICENSE-2.0
10 +
 *
11 +
 * Unless required by applicable law or agreed to in writing, software
12 +
 * distributed under the License is distributed on an "AS IS" BASIS,
13 +
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 +
 * See the License for the specific language governing permissions and
15 +
 * limitations under the License.
16 +
 */
1 17
package org.apache.dubbo.common.serialize.jackson;
2 18
3 19
import org.apache.dubbo.common.URL;

@@ -1,3 +1,19 @@
Loading
1 +
/*
2 +
 * Licensed to the Apache Software Foundation (ASF) under one or more
3 +
 * contributor license agreements.  See the NOTICE file distributed with
4 +
 * this work for additional information regarding copyright ownership.
5 +
 * The ASF licenses this file to You under the Apache License, Version 2.0
6 +
 * (the "License"); you may not use this file except in compliance with
7 +
 * the License.  You may obtain a copy of the License at
8 +
 *
9 +
 *     http://www.apache.org/licenses/LICENSE-2.0
10 +
 *
11 +
 * Unless required by applicable law or agreed to in writing, software
12 +
 * distributed under the License is distributed on an "AS IS" BASIS,
13 +
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 +
 * See the License for the specific language governing permissions and
15 +
 * limitations under the License.
16 +
 */
1 17
package org.apache.dubbo.common.serialize.jackson;
2 18
3 19
import org.apache.dubbo.common.serialize.ObjectOutput;
@@ -105,8 +121,8 @@
Loading
105 121
        if (JacksonUtils.isArray(data)) {
106 122
            value = JacksonUtils.writeValueAsString(data);
107 123
        } else {
108 -
            value =
109 -
                    "{\"@c\":\"" + data.getClass().getName() + "\"," + JacksonUtils.writeValueAsString(data).substring(1);
124 +
            value = "{\"@c\":\"" + data.getClass().getName() + "\","
125 +
                    + JacksonUtils.writeValueAsString(data).substring(1);
110 126
        }
111 127
        char[] json = value.toCharArray();
112 128
        writer.write(json, 0, json.length);

@@ -1,3 +1,19 @@
Loading
1 +
/*
2 +
 * Licensed to the Apache Software Foundation (ASF) under one or more
3 +
 * contributor license agreements.  See the NOTICE file distributed with
4 +
 * this work for additional information regarding copyright ownership.
5 +
 * The ASF licenses this file to You under the Apache License, Version 2.0
6 +
 * (the "License"); you may not use this file except in compliance with
7 +
 * the License.  You may obtain a copy of the License at
8 +
 *
9 +
 *     http://www.apache.org/licenses/LICENSE-2.0
10 +
 *
11 +
 * Unless required by applicable law or agreed to in writing, software
12 +
 * distributed under the License is distributed on an "AS IS" BASIS,
13 +
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 +
 * See the License for the specific language governing permissions and
15 +
 * limitations under the License.
16 +
 */
1 17
package org.apache.dubbo.common.serialize.jackson;
2 18
3 19
import org.apache.dubbo.common.serialize.ObjectInput;

@@ -1,3 +1,19 @@
Loading
1 +
/*
2 +
 * Licensed to the Apache Software Foundation (ASF) under one or more
3 +
 * contributor license agreements.  See the NOTICE file distributed with
4 +
 * this work for additional information regarding copyright ownership.
5 +
 * The ASF licenses this file to You under the Apache License, Version 2.0
6 +
 * (the "License"); you may not use this file except in compliance with
7 +
 * the License.  You may obtain a copy of the License at
8 +
 *
9 +
 *     http://www.apache.org/licenses/LICENSE-2.0
10 +
 *
11 +
 * Unless required by applicable law or agreed to in writing, software
12 +
 * distributed under the License is distributed on an "AS IS" BASIS,
13 +
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 +
 * See the License for the specific language governing permissions and
15 +
 * limitations under the License.
16 +
 */
1 17
package org.apache.dubbo.common.serialize.jackson.utils;
2 18
3 19
import com.fasterxml.jackson.annotation.JsonInclude;
Files Complexity Coverage
dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster 0 67.31%
dubbo-common/src/main/java/org/apache/dubbo 0 71.62%
dubbo-compatible/src/main/java/com/alibaba/dubbo 0 8.48%
dubbo-config 0 71.61%
dubbo-configcenter 0.00% 15.96%
dubbo-container 33.33% 16.42%
dubbo-filter 0 65.22%
dubbo-metadata 34.33% 63.78%
dubbo-monitor 53.85% 72.17%
dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos 0 63.39%
dubbo-registry 35.14% 49.70%
dubbo-remoting 33.12% 49.29%
dubbo-rpc 25.90% 58.09%
dubbo-serialization 57.14% 68.10%
Project Totals (1018 files) 35.24% 60.95%
Notifications are pending CI completion. Periodically Codecov will check the CI state, when complete notifications will be submitted. Push notifications now.
10183.1
openjdk11=
TRAVIS_OS_NAME=linux
1
coverage:
2
  status:
3
    # pull-requests only
4
    patch:
5
      default:
6
        threshold: 0.1%
7
ignore:
8
  - "dubbo-demo/.*"
9
  - "dubbo-common/src/main/java/org/apache/dubbo/common/json/*.java" #  internal JSON impl is deprecate, ignore test coverage for them
10
  - "dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/AnnotationBean.java" # Deprecated
11
  - "dubbo-rpc/dubbo-rpc-thrift/.*"
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading