Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Jorgensen <ajorgensen@novell.com>2008-01-31 20:04:34 +0300
committerAndrew Jorgensen <ajorgensen@novell.com>2008-01-31 20:04:34 +0300
commit9de757d227454a83fdfdb202d7ba79e0b442817c (patch)
treeac05dd06f003f5af5416bc093222cc8225d032d4 /gendarme/TODO
parent21f12adb44c6317dfa3172a77b497612084bbcb2 (diff)
Move gendarme into mono-tools
svn path=/trunk/mono-tools/; revision=94478
Diffstat (limited to 'gendarme/TODO')
-rw-r--r--gendarme/TODO92
1 files changed, 92 insertions, 0 deletions
diff --git a/gendarme/TODO b/gendarme/TODO
new file mode 100644
index 00000000..1485766b
--- /dev/null
+++ b/gendarme/TODO
@@ -0,0 +1,92 @@
+TODO
+
+// in no particular order (or level of details)
+
+* more rules!
+
+* GUIs, including:
+ * standalone (Gtk#, SWF, Cocoa#...)
+ * MonoDevelop plugin
+
+* Framework additions to
+ * support inclusion/exclusion of rules
+ * support ignore list(s)
+
+* Gendarme icon/logo
+
+* Integration into MonoBuild
+
+* Apply rule results into Mono class libraries, tools ...
+
+* Add SourceText support to gendarme
+
+ The Console Runner should display the coresspondening source
+ lines to a message. There are 3 types of message need to be taken
+ care of. IMHO an example output should look like
+
+ 1) Method and Instruction based messages.
+
+ Source Text (regarding UseStringEmptyRule)
+
+ File: C:\Development\mono\gendarme\console\ConsoleRunner.cs
+
+ 005 public void Foo () {
+ 006 Console.WriteLine ("");
+ -------------------------^^
+ 007 }
+
+ That's pretty easy, Instruction has a ServicePoint which
+ points to a Start/End-Line/Column.
+
+ 2) Member based messages.
+
+ Source Text
+
+ File: C:\Development\mono\gendarme\console\ConsoleRunner.cs
+
+ 007 /// </summary>
+ 008 public void Foo (out bar) {
+ ---------------------^^^
+ 009 bar = null
+ 010 }
+
+ I've yet to find a way to get a ServicePoint out of a Method-
+ declaration so that's pretty hard to display. A solution might
+ be taking the first instruction of a method, but what offset shall
+ we calculate? 1 line above the instruction?
+
+
+ 3) Type/Module or Assembly based messages
+
+ Source Text
+
+ File: C:\Development\mono\gendarme\console\ConsoleRunner.cs
+
+ 007 /// </summary>
+ 008 public class Foo {
+ 009
+ 010
+
+ What to display if a type/module or assembly rule is hit and no member is specified?
+ The class header? How to identifiy it (Cecil has no TypeDefinition::ServicePoint
+ property).
+
+ Other to that it should be discussed wether this is part of the Framework or a think
+ runners should take care of.
+
+ References:
+ o http://lists.ximian.com/pipermail/mono-devel-list/2006-September/020651.html
+
+* I8N
+
+ References:
+ o http://lists.ximian.com/pipermail/mono-devel-list/2006-September/020651.html
+ o http://lists.ximian.com/pipermail/mono-devel-list/2006-August/020161.html
+ o http://lists.ximian.com/pipermail/mono-devel-list/2006-August/020166.html
+
+* RuleInformation files (<assembly>.xml)
+
+ Remove the Makefile dependency
+
+ References:
+ o http://lists.ximian.com/pipermail/mono-devel-list/2006-September/020651.html