The following issues were found

src/test/java/com/alibaba/json/test/benchmark/decode/Map1000StringDecode.java
2 issues
Found non-transient, non-static member. Please mark as transient or provide accessors.
Error

Line: 12

              
public class Map1000StringDecode extends BenchmarkCase {

    private String text;

    public Map1000StringDecode(){
        super("Map100StringDecode");

        Map<String, String> map = new HashMap<String, String>();

            

Reported by PMD.

Private field 'text' could be made final; it is only initialized in the declaration or constructor.
Design

Line: 12

              
public class Map1000StringDecode extends BenchmarkCase {

    private String text;

    public Map1000StringDecode(){
        super("Map100StringDecode");

        Map<String, String> map = new HashMap<String, String>();

            

Reported by PMD.

src/test/java/com/alibaba/json/test/benchmark/decode/Map1Decode.java
2 issues
Found non-transient, non-static member. Please mark as transient or provide accessors.
Error

Line: 8

              
public class Map1Decode extends BenchmarkCase {

    private String text;

    public Map1Decode(){
        super("StringArray1000Decode");

        this.text = "{\"badboy\":true,\"description\":\"神棍敌人姐\",\"name\":\"校长\",\"age\":3,\"birthdate\":1293278091773,\"salary\":123456789.0123}";

            

Reported by PMD.

Private field 'text' could be made final; it is only initialized in the declaration or constructor.
Design

Line: 8

              
public class Map1Decode extends BenchmarkCase {

    private String text;

    public Map1Decode(){
        super("StringArray1000Decode");

        this.text = "{\"badboy\":true,\"description\":\"神棍敌人姐\",\"name\":\"校长\",\"age\":3,\"birthdate\":1293278091773,\"salary\":123456789.0123}";

            

Reported by PMD.

src/test/java/com/alibaba/json/test/benchmark/encode/ArrayBoolean1000Encode.java
2 issues
Found non-transient, non-static member. Please mark as transient or provide accessors.
Error

Line: 8

              
public class ArrayBoolean1000Encode extends BenchmarkCase {

    private Object object;

    public ArrayBoolean1000Encode(){
        super("BooleanArray1000Encode");

        boolean[] array = new boolean[1000];

            

Reported by PMD.

Private field 'object' could be made final; it is only initialized in the declaration or constructor.
Design

Line: 8

              
public class ArrayBoolean1000Encode extends BenchmarkCase {

    private Object object;

    public ArrayBoolean1000Encode(){
        super("BooleanArray1000Encode");

        boolean[] array = new boolean[1000];

            

Reported by PMD.

src/test/java/com/alibaba/json/test/benchmark/encode/ArrayByte1000Encode.java
2 issues
Found non-transient, non-static member. Please mark as transient or provide accessors.
Error

Line: 8

              
public class ArrayByte1000Encode extends BenchmarkCase {

    private Object object;

    public ArrayByte1000Encode(){
        super("ArrayByte1000Encode");

        byte[] array = new byte[1000];

            

Reported by PMD.

Private field 'object' could be made final; it is only initialized in the declaration or constructor.
Design

Line: 8

              
public class ArrayByte1000Encode extends BenchmarkCase {

    private Object object;

    public ArrayByte1000Encode(){
        super("ArrayByte1000Encode");

        byte[] array = new byte[1000];

            

Reported by PMD.

src/test/java/com/alibaba/json/test/benchmark/encode/ArrayEmptyList1000Encode.java
2 issues
Found non-transient, non-static member. Please mark as transient or provide accessors.
Error

Line: 11

              
public class ArrayEmptyList1000Encode extends BenchmarkCase {

    private Object object;

    @SuppressWarnings("rawtypes")
    public ArrayEmptyList1000Encode(){
        super("ArrayEmptyList1000Encode");


            

Reported by PMD.

Private field 'object' could be made final; it is only initialized in the declaration or constructor.
Design

Line: 11

              
public class ArrayEmptyList1000Encode extends BenchmarkCase {

    private Object object;

    @SuppressWarnings("rawtypes")
    public ArrayEmptyList1000Encode(){
        super("ArrayEmptyList1000Encode");


            

Reported by PMD.

src/test/java/com/alibaba/json/test/benchmark/encode/ArrayEmptyMap1000Encode.java
2 issues
Found non-transient, non-static member. Please mark as transient or provide accessors.
Error

Line: 11

              
public class ArrayEmptyMap1000Encode extends BenchmarkCase {

    private Object object;

    @SuppressWarnings("rawtypes")
    public ArrayEmptyMap1000Encode(){
        super("ArrayEmptyMap1000Encode");


            

Reported by PMD.

Private field 'object' could be made final; it is only initialized in the declaration or constructor.
Design

Line: 11

              
public class ArrayEmptyMap1000Encode extends BenchmarkCase {

    private Object object;

    @SuppressWarnings("rawtypes")
    public ArrayEmptyMap1000Encode(){
        super("ArrayEmptyMap1000Encode");


            

Reported by PMD.

src/test/java/com/alibaba/json/test/benchmark/encode/ArrayInt1000Encode.java
2 issues
Private field 'object' could be made final; it is only initialized in the declaration or constructor.
Design

Line: 8

              
public class ArrayInt1000Encode extends BenchmarkCase {

    private Object object;

    public ArrayInt1000Encode(){
        super("ArrayInt1000Encode");

        int[] array = new int[1000];

            

Reported by PMD.

Found non-transient, non-static member. Please mark as transient or provide accessors.
Error

Line: 8

              
public class ArrayInt1000Encode extends BenchmarkCase {

    private Object object;

    public ArrayInt1000Encode(){
        super("ArrayInt1000Encode");

        int[] array = new int[1000];

            

Reported by PMD.

src/test/java/com/alibaba/json/test/benchmark/encode/ArrayLong1000Encode.java
2 issues
Private field 'object' could be made final; it is only initialized in the declaration or constructor.
Design

Line: 8

              
public class ArrayLong1000Encode extends BenchmarkCase {

    private Object object;

    public ArrayLong1000Encode(){
        super("ArrayLong1000Encode");

        long[] array = new long[1000];

            

Reported by PMD.

Found non-transient, non-static member. Please mark as transient or provide accessors.
Error

Line: 8

              
public class ArrayLong1000Encode extends BenchmarkCase {

    private Object object;

    public ArrayLong1000Encode(){
        super("ArrayLong1000Encode");

        long[] array = new long[1000];

            

Reported by PMD.

src/test/java/com/alibaba/json/test/benchmark/encode/ArrayObjectEmptyMap1000Encode.java
2 issues
Private field 'object' could be made final; it is only initialized in the declaration or constructor.
Design

Line: 10

              
public class ArrayObjectEmptyMap1000Encode extends BenchmarkCase {

    private Object object;

    public ArrayObjectEmptyMap1000Encode(){
        super("ArrayObjectEmptyMap1000Encode");

        Object[] array = new Object[1000];

            

Reported by PMD.

Found non-transient, non-static member. Please mark as transient or provide accessors.
Error

Line: 10

              
public class ArrayObjectEmptyMap1000Encode extends BenchmarkCase {

    private Object object;

    public ArrayObjectEmptyMap1000Encode(){
        super("ArrayObjectEmptyMap1000Encode");

        Object[] array = new Object[1000];

            

Reported by PMD.

src/test/java/com/alibaba/json/test/benchmark/encode/ArrayString1000Encode.java
2 issues
Found non-transient, non-static member. Please mark as transient or provide accessors.
Error

Line: 8

              
public class ArrayString1000Encode extends BenchmarkCase {

    private Object object;

    public ArrayString1000Encode(){
        super("ArrayString1000Encode");

        String[] array = new String[1000];

            

Reported by PMD.

Private field 'object' could be made final; it is only initialized in the declaration or constructor.
Design

Line: 8

              
public class ArrayString1000Encode extends BenchmarkCase {

    private Object object;

    public ArrayString1000Encode(){
        super("ArrayString1000Encode");

        String[] array = new String[1000];

            

Reported by PMD.