CN106886442A - A kind of software dependence analysis method - Google Patents
A kind of software dependence analysis method Download PDFInfo
- Publication number
- CN106886442A CN106886442A CN201710128616.0A CN201710128616A CN106886442A CN 106886442 A CN106886442 A CN 106886442A CN 201710128616 A CN201710128616 A CN 201710128616A CN 106886442 A CN106886442 A CN 106886442A
- Authority
- CN
- China
- Prior art keywords
- node
- software
- user
- dependence
- analysis
- 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.)
- Pending
Links
- 238000004458 analytical method Methods 0.000 title claims abstract description 26
- 238000000034 method Methods 0.000 claims abstract description 30
- 230000004048 modification Effects 0.000 claims description 3
- 238000012986 modification Methods 0.000 claims description 3
- 238000003012 network analysis Methods 0.000 claims description 3
- 238000011835 investigation Methods 0.000 abstract description 5
- 238000012423 maintenance Methods 0.000 abstract description 4
- 230000008569 process Effects 0.000 description 5
- 238000011161 development Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44552—Conflict resolution, i.e. enabling coexistence of conflicting executables
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The present invention provides a kind of software dependence analysis method, for realizing being shown the dependence between each software configuration during large-scale software development, has provided the user the method for understanding target software from each different grain size and angle.The efficiency of investigation can significantly be improved, or even be familiar with the tester of service logic just can investigate out with oneself.Instant invention is especially suited for large desktop with software development, checking, the maintenance support with website.
Description
Technical field
Exploitation, checking, maintenance technology field the present invention relates to software, more particularly, to a kind of software dependence
Analysis method.
Background technology
With the decline and the continuous lifting of performance of computer hardware price, each major company during project development by
The constraint for breaking away from hardware device performance issue gradually.It is related in order to the hardware device that more preferable utility is become better and better
Software engineering also begin to constantly weed out the old and bring forth the new.With the continuous release of various frameworks, being developed into for mega project can
Energy.Regardless of whether being the requirement that services IT of enterprise or personal user also more and more higher.In order in the competing of IT market increasingly fierceness
Strive generation to get off, requirement of the company that various use internets are serviced to IT service quality is improved constantly, and is united for convenience
One management, the demand of one-stop exploitation is increasing, and the scale of software project is increasingly huge.
With the continuous expansion of software project scale, the process for developing software also begins to various new problems occur:
1st, mega project exploitation is a process for taking long enough to complete, in this process because company's occurrences in human life peace
The reasons such as row, project delivery pressure often have that old developer leaves or new developer participates in.And for
For the new developer for adding, there are certain scale and very strange project in face of one, they need a work
Have to help them quickly to understand the structure of this project, so that they can quickly put into development process.
2 one large-scale projects are carried out specifically by developer again after often first building a framework by architect
Exploitation.But developer often has a set of exploitation custom of oneself, on stream not necessarily can be fully according to first
Fixed framework is developed, and such change is possible to destroy the function of initial framework, in addition lose whole framework should
Play the role of.Therefore, architect is necessary that the structure on stream to system is monitored, so as to timely to that can shine into
Timely repaired the part of destruction.And such monitoring process is clearly incompetent by the investigation to code, this
It is to be accomplished by an instrument that quickly item code structure can be analyzed and be shown to assist.
The reparation of mistake is a very time-consuming job in project development process, and mistake is largely divided into two kinds, one kind
It is phraseological bug, for this bug, java itself provides good error detection and report an error mechanism, and developer can be quickly
Found by these mechanism and repair these bug.And another mistake to be java be willing and yet unable to help, that is, logic is wrong
By mistake.In order to exclude this mistake, we generally require to look for the developer very familiar to service logic to generation of respective modules
Code carries out analysis progressively, and it is very valuable money for each development teams to be familiar with the developer of service logic
Source, and investigation is aided in if an instrument that can effectively show code structure, undoubtedly being capable of the significantly row of raising
The efficiency looked into, or even be familiar with the tester of service logic and just can investigate out with oneself.
Railway Project more than for customer analysis and can show project it may be seen that user needs one
A instrument of various dependences.In order to allow user to be better understood by the structure of target software, we provided the user from
The method that each different grain size and angle understand target software.
The content of the invention
The present invention is to overcome at least one defect described in above-mentioned prior art, there is provided a kind of software dependence analysis side
Method, for realizing being shown the dependence between each software configuration during large-scale software development, provided the user from
The method that each different grain size and angle understand target software.In order to solve the above technical problems, technical scheme is as follows:
A kind of software dependence analysis method, comprises the following steps:
S1:Newly-built one of user is from the operating unit of the analysis software source code of name and by itself and the software source generation to be analyzed
Code is associated;
S2:The software configuration of analysis source code, and be shown in the form of dendrogram T;
S3:User chooses the node to be shown by choosing the check box of each node institute band in dendrogram T, by exhibition method
Combobox is chosen so the exhibition method for using;
S4:User clicks on confirming button and exhibition information is confirmed;
S5:Each interstructural dependence obtains one to be selected source code structure as knot during network analysis obtains source code
Dependence between point, each structure is the figure on side;
S6:The figure that step S5 gets is shown to the show area of window, and by the name modifications of the ACK button in step S4
To refresh;
S7:The node of the dendrogram T that user click is chosen, corresponding node display high-brightness in the figure in show area;
S8:The node of figure in the node of the dendrogram T that user's double-click is chosen or show area, system reads the node corresponding source generation
Show in the newly-built window in the show area of code, and highlighted treatment is carried out to corresponding code block.
In a kind of preferred scheme, in step S2, by bag->Class->The structure of method is combined to analysis source code
Software configuration, and be shown in the form of the dendrogram T with check box.
In a kind of preferred scheme, in step S3, exhibition method includes two kinds of Peer and extended mode, peer
Formula refers to and for the dependency analysis between all nodes chosen to show user;Extended mode refers to by starting point of certain node and shows that its is right
The dependence of the node chosen;When user's selection extended mode shows, system obtains the node selected by user, with drop-down
The form of frame is chosen as the node of starting point for user.
In a kind of preferred scheme, in step S5, the structure in source code includes bag, class and method.
In a kind of preferred scheme, in step S8, the node of figure is class or method in show area.
Compared with prior art, the beneficial effect of technical solution of the present invention is:
The present invention provides a kind of software dependence analysis method, for realizing during large-scale software development to each software configuration
Between dependence be shown, provided the user the method that target software is understood from each different grain size and angle.Can
Significantly improve the efficiency of investigation, or even be familiar with the tester of service logic just can investigate out with oneself.The present invention
Large desktop is particularly suitable for software development, checking, the maintenance support with website.
Brief description of the drawings
Fig. 1 is the flow chart of invention software dependence analysis method.
Fig. 2 is the initial interface figure of invention software.
Fig. 3 is the showing interface after invention software grassroot project.
Fig. 4 is parameter setting showing interface when invention software user selection Peer is shown.
Fig. 5 is parameter setting showing interface when invention software user selection extended mode is shown.
Fig. 6 is dependence displaying interface when invention software user selection extended mode is shown.
Fig. 7 is the displaying interface of invention software node positioning.
Specific embodiment
Technical scheme is described further with reference to the accompanying drawings and examples.
Embodiment 1
As shown in figs. 1-7, a kind of software dependence analysis method, comprises the following steps:
S1:Newly-built one of user is from the operating unit of the analysis software source code of name and by itself and the software source generation to be analyzed
Code is associated;
S2:The software configuration of analysis source code, by bag->Class->The structure of method is combined to the software knot of analysis source code
Structure, and be shown in the form of the dendrogram T with check box.
S3:User chooses the node to be shown by choosing the check box of each node institute band in dendrogram T, by displaying
Mode combobox is chosen so the exhibition method for using;
Exhibition method includes two kinds of Peer and extended mode, and Peer refers to the dependency analysis between all nodes chosen
Show user;Extended mode refers to the dependence for showing its node to choosing as starting point with certain node;When user's selection
Extended mode show when, system obtain user selected by node, using combobox in the form of for user choose as starting point knot
Point.
S4:User clicks on confirming button and exhibition information is confirmed;
S5:Each interstructural dependence obtains one to be selected source code structure as knot during network analysis obtains source code
Dependence between point, each structure is the figure on side.Wherein, the structure in source code includes bag, class and method.
S6:The figure that step S5 gets is shown to the show area of window, and by the title of the ACK button in step S4
It is revised as refreshing;
S7:The node of the dendrogram T that user click is chosen, corresponding node display high-brightness in the figure in show area;
S8:The node of figure in the node of the dendrogram T that user's double-click is chosen or show area, system reads the node corresponding source generation
Show in the newly-built window in the show area of code, and highlighted treatment is carried out to corresponding code block.Wherein, in show area figure knot
Point is class or method.
The present invention provides a kind of software dependence analysis method, for realizing during large-scale software development to each software
Interstructural dependence is shown, and has provided the user the method for understanding target software from each different grain size and angle.
The efficiency of investigation can significantly be improved, or even be familiar with the tester of service logic just can investigate out with oneself.This
Invention is particularly suitable for large desktop with software development, checking, the maintenance support with website.
The same or analogous part of same or analogous label correspondence;
Term the being for illustration only property explanation of position relationship described in accompanying drawing, it is impossible to be interpreted as the limitation to this patent;
Obviously, the above embodiment of the present invention is only intended to clearly illustrate example of the present invention, and is not to this hair
The restriction of bright implementation method.For those of ordinary skill in the field, can also do on the basis of the above description
Go out the change or variation of other multi-forms.There is no need and unable to be exhaustive to all of implementation method.It is all in the present invention
Spirit and principle within any modification, equivalent and the improvement made etc., should be included in the guarantor of the claims in the present invention
Within the scope of shield.
Claims (5)
1. a kind of software dependence analysis method, it is characterised in that comprise the following steps:
S1:Newly-built one of user is from the operating unit of the analysis software source code of name and by itself and the software source generation to be analyzed
Code is associated;
S2:The software configuration of analysis source code, and be shown in the form of dendrogram T;
S3:User chooses the node to be shown by choosing the check box of each node institute band in dendrogram T, by exhibition method
Combobox is chosen so the exhibition method for using;
S4:User clicks on confirming button and exhibition information is confirmed;
S5:Each interstructural dependence obtains one to be selected source code structure as knot during network analysis obtains source code
Dependence between point, each structure is the figure on side;
S6:The figure that step S5 gets is shown to the show area of window, and by the name modifications of the ACK button in step S4
To refresh;
S7:The node of the dendrogram T that user click is chosen, corresponding node display high-brightness in the figure in show area;
S8:The node of figure in the node of the dendrogram T that user's double-click is chosen or show area, system reads the node corresponding source generation
Show in the newly-built window in the show area of code, and highlighted treatment is carried out to corresponding code block.
2. software dependence analysis method according to claim 1, it is characterised in that in step S2, by bag->Class->
The structure of method is combined to the software configuration of analysis source code, and is shown in the form of the dendrogram T with check box.
3. software dependence analysis method according to claim 1, it is characterised in that in step S3, exhibition method bag
Include two kinds of Peer and extended mode, Peer refers to and for the dependency analysis between all nodes chosen to show user;Expand
Exhibition mode refers to the dependence for showing its node to choosing as starting point with certain node;When user's selection extended mode displaying
When, system obtain user selected by node, using combobox in the form of for user choose as starting point node.
4. software dependence analysis method according to claim 1, it is characterised in that in step S5, in source code
Structure includes bag, class and method.
5. software dependence analysis method according to claim 1, it is characterised in that in step S8, schemes in show area
Node be class or method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710128616.0A CN106886442A (en) | 2017-03-06 | 2017-03-06 | A kind of software dependence analysis method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710128616.0A CN106886442A (en) | 2017-03-06 | 2017-03-06 | A kind of software dependence analysis method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106886442A true CN106886442A (en) | 2017-06-23 |
Family
ID=59179486
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710128616.0A Pending CN106886442A (en) | 2017-03-06 | 2017-03-06 | A kind of software dependence analysis method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106886442A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109492144A (en) * | 2018-09-26 | 2019-03-19 | 平安科技(深圳)有限公司 | Association relationship analysis method, device and the storage medium of software systems |
CN109885295A (en) * | 2019-03-20 | 2019-06-14 | 山东浪潮云信息技术有限公司 | A kind of graphical representation method and system of Gradle configuration file |
CN110414239A (en) * | 2019-06-28 | 2019-11-05 | 奇安信科技集团股份有限公司 | Software supply chain security analysis method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102880466A (en) * | 2012-09-04 | 2013-01-16 | 中标软件有限公司 | Method for detecting dependent relationship of software package in Linux operating system |
CN103020075A (en) * | 2011-09-23 | 2013-04-03 | 启碁科技股份有限公司 | Method for analyzing dependency of target object |
CN105718296A (en) * | 2016-04-21 | 2016-06-29 | 北京元心科技有限公司 | Generation display method and device for compiling dependency tree |
US9411557B1 (en) * | 2015-09-30 | 2016-08-09 | Semmle Limited | Specifying a model architecture of software elements and generating an aggregated dependency graph therefrom |
-
2017
- 2017-03-06 CN CN201710128616.0A patent/CN106886442A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103020075A (en) * | 2011-09-23 | 2013-04-03 | 启碁科技股份有限公司 | Method for analyzing dependency of target object |
CN102880466A (en) * | 2012-09-04 | 2013-01-16 | 中标软件有限公司 | Method for detecting dependent relationship of software package in Linux operating system |
US9411557B1 (en) * | 2015-09-30 | 2016-08-09 | Semmle Limited | Specifying a model architecture of software elements and generating an aggregated dependency graph therefrom |
CN105718296A (en) * | 2016-04-21 | 2016-06-29 | 北京元心科技有限公司 | Generation display method and device for compiling dependency tree |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109492144A (en) * | 2018-09-26 | 2019-03-19 | 平安科技(深圳)有限公司 | Association relationship analysis method, device and the storage medium of software systems |
CN109492144B (en) * | 2018-09-26 | 2023-09-15 | 平安科技(深圳)有限公司 | Association relation analysis method, device and storage medium for software system |
CN109885295A (en) * | 2019-03-20 | 2019-06-14 | 山东浪潮云信息技术有限公司 | A kind of graphical representation method and system of Gradle configuration file |
CN110414239A (en) * | 2019-06-28 | 2019-11-05 | 奇安信科技集团股份有限公司 | Software supply chain security analysis method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10282281B2 (en) | Software testing platform and method | |
US8984489B2 (en) | Quality on submit process | |
US9454351B2 (en) | Continuous deployment system for software development | |
US20090106180A1 (en) | Health meter | |
JP5886712B2 (en) | Efficient collection of transaction-specific metrics in a distributed environment | |
US9712418B2 (en) | Automated network control | |
CN107196780A (en) | Method and apparatus for the failure of management equipment | |
US20080046299A1 (en) | Methods and tools for creating and evaluating system blueprints | |
US20020091989A1 (en) | Business systems management: realizing end-to-end enterprise systems management solution | |
US10289522B2 (en) | Autonomous information technology diagnostic checks | |
US11706084B2 (en) | Self-monitoring | |
US10169002B2 (en) | Automated and heuristically managed solution to quantify CPU and path length cost of instructions added, changed or removed by a service team | |
CN106886442A (en) | A kind of software dependence analysis method | |
US20060265707A1 (en) | Monitoring and displaying progress of silent installation of a subordinate program | |
US8386282B2 (en) | Managing events in a configuration of SOA governance components | |
US9448998B1 (en) | Systems and methods for monitoring multiple heterogeneous software applications | |
US8024171B1 (en) | Managed resource simulator for storage area networks | |
Kumar et al. | A stochastic process of software fault detection and correction for business operations | |
US20090169008A1 (en) | System and method for tracking testing of software modification projects from a wireless mobile device | |
Fleming | Defining software quality characteristics to facilitate software quality control and software process improvement | |
Jasmine et al. | Measuring software reliability under the influence of an infected patch | |
JP2011180805A (en) | Apparatus, method and program for operation management | |
Hryszko et al. | Bottlenecks in software defect prediction implementation in industrial projects | |
Chahal et al. | A metrics based approach to evaluate design of software components | |
US9146836B2 (en) | Linking diagnostic visualizations to application code |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170623 |