华为项目Tree canvas画图 数据2
Posted duguangyan
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了华为项目Tree canvas画图 数据2相关的知识,希望对你有一定的参考价值。
"name": "Structure",
"children": [
{
"description_en": "Indicates the overall dissemination cost of the software. It is the average dependency degree among software units based on the statistical values of the direct and indirect dependency among the software units divided by the total number of units. The overall dependency reflects the coupling among templates in the system architecture. As the industrial research indicates, the reduction of the dissemination cost is closely related to the improvement of system efficiency and the reduction of the defect ratio. According to the experience data in the industry, a value greater than 25% will bring heavy maintenance workload for fixing defects in the software.",
"name_en": "Total Dependancy",
"description": "即软件的总体传播成本,它是将软件各单元之间的直接依赖和间接依赖关系的统计值,经单元总数加以平均,得到的软件各单元间彼此依赖的程度。整体依赖度的高低反映了系统架构上模板间整体耦合关系的强弱。业界研究表明,传播成本的降低与系统的效率提高和缺陷率的下降有着密不可分的关系。根据业界经验数据,该值超过25%则该软件在修改缺陷时会带来较大的维护工作量。\n",
"name": "整体依赖度 \n",
"score": 0.038,
"dataIndex": "Total Dependancy"
},
{
"description_en": "Indicates a metric calculated using a specific algorithm based on the direct and indirect dependency among software units. This metric reflects the proportion of modules that can be independently evolved. Based on the research by Professor Cai from the Drexel University in the US, if the value is smaller than 45%, the decoupling design for the software is inadequate. In this case, the development of new features or an upgrade involves multiple software modules, bringing huge development and testing workload.",
"name_en": "Module Evolution Independency",
"description": "根据软件各单元之间的直接依赖和间接依赖关系通过特定算法得出的一个度量值,能够反映系统中有多大比例的模块能够独立演进。根据美国Drexel大学蔡教授的研究,该值低于45%则说明该软件解耦设计不足,在增加新特性或升级时会涉及多个软件模块,带来较大的开发测试工作量。\n",
"name": "模块独立演进度 \n",
"score": 0.7,
"dataIndex": "Module Evolution Independency"
}
]
},
{
"name": "GLOBAL",
"children": [
{
"description_en": "The code duplication rate should not exceed 5%. A higher duplication rate means that the software is redundant and software maintenance is difficult.",
"name_en": "Code Reduplicate Ratio",
"description": "通常要求是代码重复率不应该超过0.5%,超过则说明软件中存在较多冗余,不利于软件维护。",
"name": "代码重复率",
"score": 0.085,
"dataIndex": "Code Reduplicate Ratio"
},
{
"description_en": "Indicates the QDI value calculated based on bad smell in code detected according to the design pattern. If the value exceeds 200, the code is smelly.",
"name_en": "Design Mode Defect Index",
"description": "根据设计模式检查出的代码坏味道计算出的QDI得分,超过200分则代码坏味道比较严重。",
"name": "设计模式缺陷指数 ",
"score": 88.87,
"dataIndex": "Design Mode Defect Index"
},
{
"description_en": "Indicates the probability to influence multi-modules in modification or maintainence of a feature.",
"name_en": "Feature Dispersion",
"description": "Indicates the probability to influence multi-modules in modification or maintainence of a feature.",
"name": "特性离散度",
"score": 0.0,
"dataIndex": "Feature Dispersion"
},
{
"description_en": "Indicates the degree of decoupling between components.",
"name_en": "Component Decoupling",
"description": "Indicates the degree of decoupling between components.",
"name": "组件耦合度",
"score": 1.0,
"dataIndex": "Component Decoupling"
},
{
"description_en": "The ratio of the depend components to the total components in a system.",
"name_en": "Dependent Component Ratio",
"description": "组件依赖组件外代码,违反了公司对组件的定义",
"name": "非独立编译组件",
"score": 1.0,
"dataIndex": "Dependent Component Ratio"
},
{
"description_en": "Logic architecture conforms to a reasonable threshold",
"name_en": "The Depth of Logic View",
"description": "逻辑架构符合合理深度的阈值",
"name": "逻辑架构深度",
"score": 1.0,
"dataIndex": "The Depth of Logic View"
},
{
"description_en": "consistency of logic architecture and code directories ",
"name_en": "Consistency of LA and CD",
"description": "牵引产品软件规范化设置软件开发的目录,提升软件配置管理效率",
"name": "逻辑与代码目录一致性",
"score": 0.0,
"dataIndex": "Consistency of LA and CD"
},
{
"description_en": "Components Size Ratio ",
"name_en": "Components Size Ratio",
"description": "Components Size Ratio",
"name": "独立编译组件占比",
"score": 0.0,
"dataIndex": "Components Size Ratio"
}
]
},
{
"name": "ARCHFACTOR",
"children": [
{
"description_en": "The code duplication rate should not exceed 5%. A higher duplication rate means that the software is redundant and software maintenance is difficult.",
"name_en": "Repeatability",
"description": "通常要求是代码重复率不应该超过0.5%,超过则说明软件中存在较多冗余,不利于软件维护。",
"name": "重复性",
"metricDetail": [
{
"defectType": "Reduplicate Code",
"defectNum": 89.0
}
],
"score": 95.45,
"dataIndex": "Repeatability"
},
{
"description_en": "The code duplication rate should not exceed 5%. A higher duplication rate means that the software is redundant and software maintenance is difficult.",
"name_en": "Module Equilibrium",
"description": "通常要求是代码重复率不应该超过0.5%,超过则说明软件中存在较多冗余,不利于软件维护。",
"name": "模块均衡性",
"metricDetail": [
{
"defectType": "Insufficient Module",
"defectNum": 2.0
},
{
"defectType": "Over-Large Module",
"defectNum": 2.0
}
],
"score": 56.17,
"dataIndex": "Module Equilibrium"
},
{
"description_en": "The code duplication rate should not exceed 5%. A higher duplication rate means that the software is redundant and software maintenance is difficult.",
"name_en": "Module Independency",
"description": "通常要求是代码重复率不应该超过0.5%,超过则说明软件中存在较多冗余,不利于软件维护。",
"name": "模块独立性",
"metricDetail": [
{
"defectType": "Total Dependancy",
"defectNum": "3.8%"
},
{
"defectType": "Module Evolution Independency",
"defectNum": "70.0%"
}
],
"score": 79.92,
"dataIndex": "Module Independency"
},
{
"description_en": "The code duplication rate should not exceed 5%. A higher duplication rate means that the software is redundant and software maintenance is difficult.",
"name_en": "File Scale",
"description": "通常要求是代码重复率不应该超过0.5%,超过则说明软件中存在较多冗余,不利于软件维护。",
"name": "文件规模",
"metricDetail": [
{
"defectType": "LargeFile",
"defectNum": 7.0
}
],
"score": 28.25,
"dataIndex": "File Scale"
},
{
"description_en": "The code duplication rate should not exceed 5%. A higher duplication rate means that the software is redundant and software maintenance is difficult.",
"name_en": "File Complexity",
"description": "通常要求是代码重复率不应该超过0.5%,超过则说明软件中存在较多冗余,不利于软件维护。",
"name": "文件复杂性",
"metricDetail": [
{
"defectType": "SAP Breakers",
"defectNum": 1.0
},
{
"defectType": "God Class",
"defectNum": 1.0
}
],
"score": 92.21,
"dataIndex": "File Complexity"
},
{
"description_en": "The code duplication rate should not exceed 5%. A higher duplication rate means that the software is redundant and software maintenance is difficult.",
"name_en": "Interface Rationality",
"description": "通常要求是代码重复率不应该超过0.5%,超过则说明软件中存在较多冗余,不利于软件维护。",
"name": "接口合理性",
"metricDetail": [
{
"defectType": "Feature Envy",
"defectNum": 2.0
}
],
"score": 98.43,
"dataIndex": "Interface Rationality"
},
{
"description_en": "The code duplication rate should not exceed 5%. A higher duplication rate means that the software is redundant and software maintenance is difficult.",
"name_en": "Function Complexity",
"description": "通常要求是代码重复率不应该超过0.5%,超过则说明软件中存在较多冗余,不利于软件维护。",
"name": "函数复杂性",
"metricDetail": [
{
"defectType": "Over-Complexity Function",
"defectNum": 6.0
}
],
"score": 98.55,
"dataIndex": "Function Complexity"
},
{
"description_en": "The code duplication rate should not exceed 5%. A higher duplication rate means that the software is redundant and software maintenance is difficult.",
"name_en": "Function Scale",
"description": "通常要求是代码重复率不应该超过0.5%,超过则说明软件中存在较多冗余,不利于软件维护。",
"name": "函数规模",
"metricDetail": [],
"score": 100.0,
"dataIndex": "Function Scale"
}
]
},
{
"name": "CALC",
"children": [
{
"description_en": "Indicates the number of files counted by farmland.",
"name_en": "Sum of Files",
"description": "按责任田统计文件的个数",
"name": "文件总数",
"score": 208.0,
"dataIndex": "Sum of Files"
},
{
"description_en": "Indicates the number of software code lines, including empty and comment lines.",
"name_en": "Line of Code",
"description": "软件代码行数,包括空行和注释行。",
"name": "代码行",
"score": 20342.0,
"dataIndex": "Line of Code"
},
{
"description_en": "Indicates the number of minimum directories counted by farmland.",
"name_en": "Sum of Dir",
"description": "按责任田统计最小文件夹的个数",
"name": "文件夹总数",
"score": 0.0,
"dataIndex": "Sum of Dir"
}
]
}
],
"saiData": [
{
以上是关于华为项目Tree canvas画图 数据2的主要内容,如果未能解决你的问题,请参考以下文章