1 / 10

Understanding Legacy Systems

Understanding Legacy Systems. Arie van Deursen Tobias Kuipers Leon Moonen. Tooling Infrastructure. Lexical Analysis. Report Generator. Legacy Sources. Repository. Syntax Analysis. Cluster Analysis. Data flow Analysis. Visuali- zation. Filter & Abstract. Redocumentation.

gotzon
Download Presentation

Understanding Legacy Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Understanding Legacy Systems Arie van Deursen Tobias Kuipers Leon Moonen ETAPS 99

  2. Tooling Infrastructure Lexical Analysis Report Generator Legacy Sources Repository Syntax Analysis Cluster Analysis Data flow Analysis Visuali- zation Filter & Abstract ETAPS 99

  3. Redocumentation • Contents decided by maintenance team. • Technical system knowledge lost! • Automatic extraction • Manual: additional docs, overviews • Training, changes, estimates, ... ETAPS 99

  4. Understanding Variables • 100 Kloc Cobol: • 25,000 different variables! • Cobol variable declarations: • Aggregation + byte representation • No types! ETAPS 99

  5. Type Inference for COBOL • Give each variable unique primitive type • Infer type-equiv. and subtype relations • x + y, x == y, x := y, literals, ... • DB operations, calls, copybooks • Partial order of equivalence classes O’Callahan ‘97: C Henglein ‘99: Y2K WCRE’98, IWPC’99 ETAPS 99

  6. Applications • Y2K & Euro • Constant (de)propagation • Program-level documentation • System-level signatures • Language migrations • Object identification ETAPS 99

  7. Object Identification • Legacy data structures • attributes • Legacy functionality • methods Select Domain Concepts Combination: Candidate classes! Persistent data types Progrs low fan in/out ETAPS 99

  8. Concept Analysis • Concept (I, F ): • maximal set of items I I • sharing set of features F F • From feature tableT I F • generate all concepts • Lattice: (I1, F1)(I2, F2 ) I1  I2 Siff/Reps’97 Lindig/Snelting’97 IWPC’98, ICSE’99 ETAPS 99

  9. Many fields Progr. nrs Concept Fields One field ETAPS 99

  10. System Understanding • Analysis of legacy sources • Select good parts • Filter out hopeless elements • Combine & present in novel ways • Tool support rather than automation ETAPS 99

More Related