//*********************************************************************
// Copyright  2018 by FM . Please copy and distribute. "Share the fun"
//*********************************************************************

I hope you enjoy the ideas offered by TopAce. Please do not see
TopAce as your final product but see it as a possible start.
You'll find many sites and tools that may help to improve your
code quality.

You might consider TopAce a simple start... but it is a start.
Feel free to add checks to it.

If you want to try TopAce, make sure to install (open source) GraphViz
( https://graphviz.gitlab.io/download/ )

The following source files are relevant:

* all script libraries start with ta_....

* ta_GlobalData.ctl
  Holds the class with all global data. It also holds the 'limits'
  that turn a source file red

	const float TA_GLOBAL_MIN_COMMENT_PER_CODE    = 0.5;   // Minimum ratio comment to code
	const float TA_GLOBAL_MAX_MCCABE_PER_CODE     = 0.3;   // Maximum index. McCabe per code
	const float TA_GLOBAL_MIN_WHITELINES_PER_CODE = 0.3;   // Minimum ratio #white lines to #lines code (excluding comments)

* ta_HTML
  The script code that produces the HTML output

* ta_ScriptCode
  The source that actually does the analysis of
  an array of script lines (coming from a lib or a panel)

* ta_Software
  The source that scans your folders looking for files
  to be analysed

* ta_XML
  The source that breaks doen an XML panel file
  isolating the lines of script code from it

Hope you enjoy. Most of all, I hope you get inspired !!

Share the fun
Frenk Mulder