1. 程式人生 > >華為項目Tree canvas畫圖 數據2

華為項目Tree canvas畫圖 數據2

依賴關系 組件 sse nging struct 之間 ria int semi

"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