data-clumps-visualizer
Version:
This is a package to identify data-clumps-visualizer
137 lines (136 loc) • 5.1 kB
TypeScript
export declare class ExampleTestData {
static getDataClumpsDict(): {
report_version: string;
report_timestamp: string;
target_language: string;
detector: {
name: string;
version: string;
options: {
sharedFieldParametersMinimum: number;
sharedFieldParametersCheckIfAreSubtypes: boolean;
subclassInheritsAllMembersFromSuperclass: boolean;
sharedMethodParametersMinimum: number;
sharedMethodParametersHierarchyConsidered: boolean;
analyseMethodsWithUnknownHierarchy: boolean;
};
};
report_summary: {
amount_data_clumps: number;
};
project_info: {
project_name: string;
project_version: string;
project_commit: string;
additional: {};
};
data_clumps: {
"Fields1.java-Fields1-Fields2-xys": {
type: string;
key: string;
from_file_path: string;
from_class_or_interface_name: string;
from_class_or_interface_key: string;
from_method_name: null;
from_method_key: null;
to_file_path: string;
to_class_or_interface_key: string;
to_class_or_interface_name: string;
to_method_key: null;
to_method_name: null;
data_clump_type: string;
data_clump_data: {
"Fields1/memberParameter/x": {
key: string;
name: string;
type: string;
modifiers: never[];
to_variable: {
key: string;
name: string;
type: string;
modifiers: never[];
};
};
"Fields1/memberParameter/y": {
key: string;
name: string;
type: string;
modifiers: never[];
to_variable: {
key: string;
name: string;
type: string;
modifiers: never[];
};
};
"Fields1/memberParameter/s": {
key: string;
name: string;
type: string;
modifiers: never[];
to_variable: {
key: string;
name: string;
type: string;
modifiers: never[];
};
};
};
};
"Fields2.java-Fields2-Fields1-xys": {
type: string;
key: string;
from_file_path: string;
from_class_or_interface_name: string;
from_class_or_interface_key: string;
from_method_name: null;
from_method_key: null;
to_file_path: string;
to_class_or_interface_key: string;
to_class_or_interface_name: string;
to_method_key: null;
to_method_name: null;
data_clump_type: string;
data_clump_data: {
"Fields2/memberParameter/x": {
key: string;
name: string;
type: string;
modifiers: never[];
to_variable: {
key: string;
name: string;
type: string;
modifiers: never[];
};
};
"Fields2/memberParameter/y": {
key: string;
name: string;
type: string;
modifiers: never[];
to_variable: {
key: string;
name: string;
type: string;
modifiers: never[];
};
};
"Fields2/memberParameter/s": {
key: string;
name: string;
type: string;
modifiers: never[];
to_variable: {
key: string;
name: string;
type: string;
modifiers: never[];
};
};
};
};
};
};
}