home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / jËzyki_programowania / oberon / tool / analyzer.tool (.txt) next >
Oberon Text  |  1977-12-31  |  2KB  |  42 lines

  1. Syntax10.Scn.Fnt
  2. ParcElems
  3. Alloc
  4. Syntax10i.Scn.Fnt
  5. Analyzer.Analyze *            Analyzer.Analyze */inruvx    full analysis
  6. Analyzer.Analyze */inr        intermediate access, count stats, redefinition
  7. Analyzer.Analyze (("*" | "@") ["/" opt] | {name ["/" opt]} "~" | "^")
  8. Options (complementing each other):
  9. i    redeclaration of/use of/assignment to intermediate items 
  10. n    number of statements in module
  11. r     redefinition of type bound procedures
  12. u    used before set for different scopes
  13. v    use of var parameters
  14. x    use/initialization of exported items
  15. Analyzer.Analyze marks by default
  16. - all non-exported variables/constants/types/fields that are declared
  17.     but never used, used before being initialized (*), never initialized,
  18.     and initialized but never used.
  19. - non-exported [type-bound] procedures that are never called.
  20. - modules that are imported but never used.
  21. (*) For variables declared in a different scope, no warning is
  22. produced (see option /u, however).
  23. /i(ntermediate) additionally marks
  24. - items that are already declared in an outer scope.
  25. - the use of or assignment to intermediate items (e.g. local
  26.    variables/parameters declared in an outer scope).
  27. /n(umber) reports
  28. - the number of statements (assignments, if, while, proc calls, etc.)
  29.     in the module. This is convenient for determining the complexity
  30.     of a program (instead of lines of code).
  31. /r(edefinition) additionally marks
  32. - the redefinition of type bound procedures.
  33. /u(sed) additionally marks
  34. - 'used before set' for variables declared in a different scope.
  35. /v(arpar) additionally marks
  36. - variables that are used as var parameters and are therefore not
  37.    ensured to be initialized.
  38. /x (eXported) additionally marks
  39. - exported items that are declared but not used by the module itself,
  40.    used before being initialized, never initialized, and initialized but never
  41.    used.
  42.