JP5981327B2 - ソフトウェア複雑度測定装置及び方法並びにプログラム - Google Patents
ソフトウェア複雑度測定装置及び方法並びにプログラム Download PDFInfo
- Publication number
- JP5981327B2 JP5981327B2 JP2012266685A JP2012266685A JP5981327B2 JP 5981327 B2 JP5981327 B2 JP 5981327B2 JP 2012266685 A JP2012266685 A JP 2012266685A JP 2012266685 A JP2012266685 A JP 2012266685A JP 5981327 B2 JP5981327 B2 JP 5981327B2
- Authority
- JP
- Japan
- Prior art keywords
- dependency
- paths
- software
- module
- structural units
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title description 9
- 238000012545 processing Methods 0.000 claims description 17
- 238000005259 measurement Methods 0.000 claims description 12
- 230000001419 dependent effect Effects 0.000 claims description 10
- 239000000470 constituent Substances 0.000 claims description 5
- 239000011159 matrix material Substances 0.000 claims description 3
- 238000000691 measurement method Methods 0.000 claims 2
- 230000006870 function Effects 0.000 description 44
- 238000010586 diagram Methods 0.000 description 15
- 239000011800 void material Substances 0.000 description 3
- 101100102508 Clonostachys rogersoniana verC gene Proteins 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 125000004122 cyclic group Chemical group 0.000 description 2
- 230000004397 blinking Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Description
ある3つ以上の構成単位間で循環する依存関係があるとき、循環全体の中で最も依存の数が少ない方向を逆方向として、前記順方向の依存の経路の数及び前記逆方向の依存の経路の数をカウントする、複雑度測定装置が提供される。
(逆方向経路率)=(逆方向経路数)/(順方向経路数) 式(1)
ここで、上述の如く、箱Aから箱Bへの依存が存在するとき、これを箱Aから箱Bへの依存の経路が存在する。このとき、箱Aから箱Bへの依存が何本あったとしても(例えば、箱Aに対応するモジュール内の関数が、箱Bに対応するモジュール内の関数を呼び出す関係が、複数本あったとしても)、経路数は"1"と数える。但し、箱Aから箱Bへの依存と、箱Bから箱Aへの依存は別の依存経路であると考え、双方向の依存が存在する場合、経路数は"2"と数える。逆方向とは、ある2つの箱間において、依存の本数が少ない方向に対応し、順方向は、依存の本数が多い方向に対応する。
10 処理装置
12 CPU
14 記憶部
16 表示装置
Claims (8)
- 階層構造を持つソフトウェア内の同一粒度の複数の構成単位間の依存関係について、順方向の依存の経路の数と逆方向の依存の経路の数との関係を表す指標値を算出する、ソフトウェア複雑度測定装置において、
ある3つ以上の構成単位間で循環する依存関係があるとき、循環全体の中で最も依存の数が少ない方向を逆方向として、前記順方向の依存の経路の数及び前記逆方向の依存の経路の数をカウントする、ソフトウェア複雑度測定装置。 - ある2つの構成単位間で順方向の依存の数が複数存在する場合でも、該2つの構成単位間における順方向の依存の経路の数は、“1”としてカウントし、ある2つの構成単位間で逆方向の依存の数が複数存在する場合でも、該2つの構成単位間における逆方向の依存の経路の数は、“1”としてカウントする、請求項1に記載のソフトウェア複雑度測定装置。
- ある2つの構成単位間で双方向の依存があるとき、依存の数が多い方向を順方向として、前記順方向の依存の経路の数及び前記逆方向の依存の経路の数をカウントする、請求項1又は2に記載のソフトウェア複雑度測定装置。
- 前記指標値は、DSM(Dependency Structure Matrix)を用いて算出され、
前記DSMの項目には、前記複数の構成単位のそれぞれが入り、前記DSMの各セルには、各構成単位間における依存の数が入る、請求項1〜3うちのいずれか1項に記載のソフトウェア複雑度測定装置。 - 前記DSMの項目は、前記DSMの対角線よりも上側のセル内の数が最小となるように、並び順が変更される、請求項4に記載のソフトウェア複雑度測定装置。
- 前記指標値は、前記DSMの対角線よりも下側のセル内の数が1以上のセル数と、前記DSMの対角線よりも上側のセル内の数が1以上のセル数との比に基づいて、算出される、請求項5に記載のソフトウェア複雑度測定装置。
- 階層構造を持つソフトウェア内の同一粒度の複数の構成単位間の依存関係について、順方向の依存の経路の数と逆方向の依存の経路の数との関係を表す指標値を算出する、ソフトウェア複雑度測定方法において、
ある3つ以上の構成単位間で循環する依存関係があるとき、循環全体の中で最も依存の数が少ない方向を逆方向として、前記順方向の依存の経路の数及び前記逆方向の依存の経路の数をカウントする、ソフトウェア複雑度測定方法。 - 階層構造を持つソフトウェア内の同一粒度の複数の構成単位間の依存関係について、順方向の依存の経路の数と逆方向の依存の経路の数との関係を表す指標値を算出する、
処理をコンピューターに実行させるプログラムにおいて、
ある3つ以上の構成単位間で循環する依存関係があるとき、循環全体の中で最も依存の数が少ない方向を逆方向として、前記順方向の依存の経路の数及び前記逆方向の依存の経路の数をカウントする、プログラム。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012266685A JP5981327B2 (ja) | 2012-12-05 | 2012-12-05 | ソフトウェア複雑度測定装置及び方法並びにプログラム |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012266685A JP5981327B2 (ja) | 2012-12-05 | 2012-12-05 | ソフトウェア複雑度測定装置及び方法並びにプログラム |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014112324A JP2014112324A (ja) | 2014-06-19 |
JP5981327B2 true JP5981327B2 (ja) | 2016-08-31 |
Family
ID=51169417
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012266685A Expired - Fee Related JP5981327B2 (ja) | 2012-12-05 | 2012-12-05 | ソフトウェア複雑度測定装置及び方法並びにプログラム |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5981327B2 (ja) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101826420B1 (ko) | 2016-03-18 | 2018-02-06 | 유홍준 | 시간 위치를 이용한 소프트웨어 복잡도 경감 장치 및 방법 |
EP3451166A4 (en) | 2016-04-26 | 2019-05-15 | Mitsubishi Electric Corporation | DEVICE AND PROGRAM FOR EXTRACTING DEPENDENCE RELATIONS |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009011056A1 (ja) * | 2007-07-19 | 2009-01-22 | Fujitsu Limited | アプリケーション改善支援プログラム、アプリケーション改善支援方法およびアプリケーション改善支援装置 |
CN102334101B (zh) * | 2009-03-31 | 2014-10-08 | 三菱电机株式会社 | 执行顺序决定装置 |
-
2012
- 2012-12-05 JP JP2012266685A patent/JP5981327B2/ja not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2014112324A (ja) | 2014-06-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190095390A1 (en) | Impact analysis | |
US10169412B2 (en) | Selectivity estimation for query execution planning in a database | |
CN107391526A (zh) | 一种基于区块链的数据处理方法及设备 | |
US8402317B1 (en) | Viewing multi-dimensional metric data from multiple test cases | |
US9466041B2 (en) | User selected flow graph modification | |
US20140343711A1 (en) | Decision support system for order prioritization | |
Legrain et al. | A rotation-based branch-and-price approach for the nurse scheduling problem | |
US10685062B2 (en) | Relational database management | |
CN111027294A (zh) | 表格汇总的方法、装置及系统 | |
US9195730B2 (en) | Verifying correctness of a database system via extended access paths | |
US9536029B2 (en) | Linear array hierarchy navigation | |
US10423416B2 (en) | Automatic creation of macro-services | |
US11610038B2 (en) | Risk evaluation | |
CN106815100A (zh) | 接口测试方法及装置 | |
CN107003885A (zh) | 用于低级别可组合高性能计算库的技术 | |
CN102929646A (zh) | 应用程序生成方法及装置 | |
US20210200590A1 (en) | Computer system and method for determining of resource allocation | |
Zhao et al. | Liveness-enforcing supervisors synthesis for a class of generalised Petri nets based on two-stage deadlock control and mathematical programming | |
JP5981327B2 (ja) | ソフトウェア複雑度測定装置及び方法並びにプログラム | |
Chen et al. | Optimizing the product derivation process | |
CN111339072A (zh) | 基于用户行为的变化值分析方法、装置、电子设备及介质 | |
CN116521350B (zh) | 基于深度学习算法的etl调度方法及装置 | |
CN102707938A (zh) | 表形式软件规格制作支援方法及装置 | |
US20130111430A1 (en) | Providing goods or services | |
JP6209985B2 (ja) | 製品設計支援プログラム、製品設計支援方法および製品設計支援装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150309 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20151014 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20151215 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160203 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20160705 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160728 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5981327 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |