}]
}
{
+ "name": "Sys",
+ "synopsis": "Sys",
+ "namespace": [{
+ "name": "test_prog",
+ "synopsis": "Test program for model tools."
+ }, "$", {
+ "name": "Sys",
+ "synopsis": "Sys"
+ }],
+ "class_name": "MClassDef",
+ "full_name": "test_prog$Sys",
+ "visibility": "public",
+ "html_synopsis": "<span class=\"synopsys nitdoc\">Sys</span>",
+ "modifiers": ["class"],
+ "is_intro": true
+}
+{
+ "name": "Sys",
+ "synopsis": "Sys",
+ "namespace": [{
+ "name": "test_prog",
+ "synopsis": "Test program for model tools."
+ }, "::", {
+ "name": "test_prog",
+ "synopsis": "A test program with a fake model to check model tools."
+ }, "$", {
+ "name": "Sys",
+ "synopsis": "Sys"
+ }],
+ "class_name": "MClassDef",
+ "full_name": "test_prog::test_prog$Sys",
+ "visibility": "public",
+ "html_synopsis": "<span class=\"synopsys nitdoc\">Sys</span>",
+ "modifiers": ["redef", "class"]
+}
+{
"name": "Career",
"synopsis": "A `Career` gives a characteristic bonus or malus to the character.",
"namespace": [{
"is_intro": true
}
{
- "name": "Sys",
+ "name": "TestGame",
"namespace": [{
"name": "test_prog",
"synopsis": "Test program for model tools."
}, "$", {
- "name": "Sys"
+ "name": "TestGame"
}],
"class_name": "MClassDef",
- "full_name": "test_prog$Sys",
+ "full_name": "test_prog$TestGame",
+ "visibility": "public",
+ "modifiers": ["class"],
+ "is_intro": true
+}
+{
+ "name": "GameTest",
+ "namespace": [{
+ "name": "test_prog",
+ "synopsis": "Test program for model tools."
+ }, "$", {
+ "name": "GameTest"
+ }],
+ "class_name": "MClassDef",
+ "full_name": "test_prog$GameTest",
"visibility": "public",
"modifiers": ["class"],
"is_intro": true
}]
}
{
+ "name": "Sys",
+ "synopsis": "Sys",
+ "namespace": [{
+ "name": "test_prog",
+ "synopsis": "Test program for model tools."
+ }, "::", {
+ "name": "Sys",
+ "synopsis": "Sys"
+ }],
+ "class_name": "MClass",
+ "full_name": "test_prog::Sys",
+ "visibility": "public",
+ "html_synopsis": "<span class=\"synopsys nitdoc\">Sys</span>",
+ "modifiers": ["class"]
+}
+{
"name": "Career",
"synopsis": "A `Career` gives a characteristic bonus or malus to the character.",
"namespace": [{
"modifiers": ["class"]
}
{
- "name": "Sys",
+ "name": "TestGame",
"namespace": [{
"name": "test_prog",
"synopsis": "Test program for model tools."
}, "::", {
- "name": "Sys"
+ "name": "TestGame"
}],
"class_name": "MClass",
- "full_name": "test_prog::Sys",
+ "full_name": "test_prog::TestGame",
+ "visibility": "public",
+ "modifiers": ["class"]
+}
+{
+ "name": "GameTest",
+ "namespace": [{
+ "name": "test_prog",
+ "synopsis": "Test program for model tools."
+ }, "::", {
+ "name": "GameTest"
+ }],
+ "class_name": "MClass",
+ "full_name": "test_prog::GameTest",
"visibility": "public",
"modifiers": ["class"]
}
"modifiers": ["group"]
}
{
+ "name": "man",
+ "namespace": [{
+ "name": "test_prog",
+ "synopsis": "Test program for model tools."
+ }, ">", {
+ "name": "man"
+ }, ">"],
+ "class_name": "MGroup",
+ "full_name": "test_prog>man>",
+ "visibility": "public",
+ "modifiers": ["group"]
+}
+{
"name": "platform",
"synopsis": "Fictive Crappy Platform.",
"namespace": [{
"modifiers": ["group"]
}
{
+ "name": "tests",
+ "namespace": [{
+ "name": "test_prog",
+ "synopsis": "Test program for model tools."
+ }, ">", {
+ "name": "tests"
+ }, ">"],
+ "class_name": "MGroup",
+ "full_name": "test_prog>tests>",
+ "visibility": "public",
+ "modifiers": ["group"]
+}
+{
"name": "excluded",
"namespace": [{
"name": "excluded"
"modifiers": ["module"]
}
{
+ "name": "test_game",
+ "namespace": [{
+ "name": "test_prog",
+ "synopsis": "Test program for model tools."
+ }, "::", {
+ "name": "test_game"
+ }],
+ "class_name": "MModule",
+ "full_name": "test_prog::test_game",
+ "visibility": "public",
+ "modifiers": ["module"]
+}
+{
"name": "test_prog-m",
"namespace": [{
"name": "test_prog-m"
}
}
{
+ "name": "main",
+ "namespace": [{
+ "name": "test_prog",
+ "synopsis": "Test program for model tools."
+ }, "$", {
+ "name": "Sys",
+ "synopsis": "Sys"
+ }, "$", {
+ "name": "main"
+ }],
+ "class_name": "MMethodDef",
+ "full_name": "test_prog$Sys$main",
+ "visibility": "public",
+ "modifiers": ["intern", "fun"],
+ "is_intro": true,
+ "msignature": {
+ "arity": 0,
+ "mparameters": [],
+ "return_mtype": null
+ }
+}
+{
+ "name": "main",
+ "namespace": [{
+ "name": "test_prog",
+ "synopsis": "Test program for model tools."
+ }, "::", {
+ "name": "test_prog",
+ "synopsis": "A test program with a fake model to check model tools."
+ }, "$", {
+ "name": "Sys",
+ "synopsis": "Sys"
+ }, "$", {
+ "name": "main"
+ }],
+ "class_name": "MMethodDef",
+ "full_name": "test_prog::test_prog$Sys$main",
+ "visibility": "public",
+ "modifiers": ["redef", "fun"],
+ "msignature": {
+ "arity": 0,
+ "mparameters": [],
+ "return_mtype": null
+ }
+}
+{
"name": "_strength_bonus",
"namespace": [{
"name": "test_prog",
}
}
{
+ "name": "player_characters",
+ "synopsis": "Characters played by human players.",
+ "namespace": [{
+ "name": "test_prog",
+ "synopsis": "Test program for model tools."
+ }, "$", {
+ "name": "TestGame"
+ }, "$", {
+ "name": "Game",
+ "synopsis": "This is the interface you have to implement to use ure gaming platform."
+ }, "::", {
+ "name": "player_characters",
+ "synopsis": "Characters played by human players."
+ }],
+ "class_name": "MMethodDef",
+ "full_name": "test_prog$TestGame$Game::player_characters",
+ "visibility": "public",
+ "html_synopsis": "<span class=\"synopsys nitdoc\">Characters played by human players.</span>",
+ "modifiers": ["redef", "fun"],
+ "msignature": {
+ "arity": 0,
+ "mparameters": [],
+ "return_mtype": {
+ "name": "List[Character]",
+ "synopsis": "List of things.",
+ "html_synopsis": "<span class=\"synopsys nitdoc\">List of things.</span>"
+ }
+ }
+}
+{
"name": "computer_characters",
"synopsis": "Characters players by computer.",
"namespace": [{
}
}
{
- "name": "main",
+ "name": "_player_characters",
"namespace": [{
"name": "test_prog",
"synopsis": "Test program for model tools."
}, "$", {
- "name": "Sys"
+ "name": "TestGame"
}, "$", {
- "name": "main"
+ "name": "_player_characters"
+ }],
+ "class_name": "MAttributeDef",
+ "full_name": "test_prog$TestGame$_player_characters",
+ "visibility": "private",
+ "modifiers": ["private", "var"],
+ "is_intro": true,
+ "static_mtype": {
+ "name": "List[Character]",
+ "synopsis": "List of things.",
+ "html_synopsis": "<span class=\"synopsys nitdoc\">List of things.</span>"
+ }
+}
+{
+ "name": "player_characters=",
+ "namespace": [{
+ "name": "test_prog",
+ "synopsis": "Test program for model tools."
+ }, "$", {
+ "name": "TestGame"
+ }, "$", {
+ "name": "player_characters="
}],
"class_name": "MMethodDef",
- "full_name": "test_prog$Sys$main",
+ "full_name": "test_prog$TestGame$player_characters=",
+ "visibility": "protected",
+ "modifiers": ["protected", "fun"],
+ "is_intro": true,
+ "msignature": {
+ "arity": 1,
+ "mparameters": [{
+ "is_vararg": false,
+ "name": "player_characters",
+ "mtype": {
+ "name": "List[Character]",
+ "synopsis": "List of things.",
+ "html_synopsis": "<span class=\"synopsys nitdoc\">List of things.</span>"
+ }
+ }],
+ "return_mtype": null
+ }
+}
+{
+ "name": "test_game",
+ "namespace": [{
+ "name": "test_prog",
+ "synopsis": "Test program for model tools."
+ }, "$", {
+ "name": "GameTest"
+ }, "$", {
+ "name": "test_game"
+ }],
+ "class_name": "MMethodDef",
+ "full_name": "test_prog$GameTest$test_game",
"visibility": "public",
"modifiers": ["fun"],
"is_intro": true,
}
}
{
+ "name": "main",
+ "namespace": [{
+ "name": "test_prog",
+ "synopsis": "Test program for model tools."
+ }, "::", {
+ "name": "Sys",
+ "synopsis": "Sys"
+ }, "::", {
+ "name": "main"
+ }],
+ "class_name": "MMethod",
+ "full_name": "test_prog::Sys::main",
+ "visibility": "public",
+ "modifiers": ["intern", "fun"],
+ "msignature": {
+ "arity": 0,
+ "mparameters": [],
+ "return_mtype": null
+ }
+}
+{
"name": "_strength_bonus",
"namespace": [{
"name": "test_prog",
}
}
{
- "name": "main",
+ "name": "_player_characters",
"namespace": [{
"name": "test_prog",
"synopsis": "Test program for model tools."
}, "::", {
- "name": "Sys"
+ "name": "test_game"
}, "::", {
- "name": "main"
+ "name": "TestGame"
+ }, "::", {
+ "name": "_player_characters"
+ }],
+ "class_name": "MAttribute",
+ "full_name": "test_prog::test_game::TestGame::_player_characters",
+ "visibility": "private",
+ "modifiers": ["private", "var"],
+ "static_mtype": {
+ "name": "List[Character]",
+ "synopsis": "List of things.",
+ "html_synopsis": "<span class=\"synopsys nitdoc\">List of things.</span>"
+ }
+}
+{
+ "name": "player_characters=",
+ "namespace": [{
+ "name": "test_prog",
+ "synopsis": "Test program for model tools."
+ }, "::", {
+ "name": "TestGame"
+ }, "::", {
+ "name": "player_characters="
}],
"class_name": "MMethod",
- "full_name": "test_prog::Sys::main",
+ "full_name": "test_prog::TestGame::player_characters=",
+ "visibility": "protected",
+ "modifiers": ["protected", "fun"],
+ "msignature": {
+ "arity": 1,
+ "mparameters": [{
+ "is_vararg": false,
+ "name": "player_characters",
+ "mtype": {
+ "name": "List[Character]",
+ "synopsis": "List of things.",
+ "html_synopsis": "<span class=\"synopsys nitdoc\">List of things.</span>"
+ }
+ }],
+ "return_mtype": null
+ }
+}
+{
+ "name": "test_game",
+ "namespace": [{
+ "name": "test_prog",
+ "synopsis": "Test program for model tools."
+ }, "::", {
+ "name": "GameTest"
+ }, "::", {
+ "name": "test_game"
+ }],
+ "class_name": "MMethod",
+ "full_name": "test_prog::GameTest::test_game",
"visibility": "public",
"modifiers": ["fun"],
"msignature": {
Catalog statistics:
* 2 packages
* 11 modules
- * 78 methods
- * 25 classes
- * 503 lines of code
+ * 79 methods
+ * 26 classes
+ * 509 lines of code
* 6 contributors
* 1 maintainers
* 2 tags
</ul>
</li>
<li><strong>test_prog</strong>: <span class="synopsys nitdoc">A test program with a fake model to check model tools.</span> (test_prog/test_prog.nit)</li>
+<li><strong>tests</strong> (test_prog/tests)<ul>
+<li><strong>test_game</strong> (test_prog/tests/test_game.nit)</li>
+</ul>
+</li>
</ul>
</li>
</ul>
</ul>
<h3>Quality</h3>
<ul class="box">
-<li>28 warnings (59/kloc)</li>
-<li>82% documented</li>
+<li>28 warnings (55/kloc)</li>
+<li>73% documented</li>
</ul>
<h3>Tags</h3>
<a href="../index.html#tag_test">test</a>, <a href="../index.html#tag_game">game</a><h3>Requirements</h3>
none<h3>Contributors</h3>
<ul class="box"><li><a href="http://www.example.com/~jdoe"><img src="https://secure.gravatar.com/avatar/694ea0904ceaf766c6738166ed89bafb?size=20&default=retro"> John Doe</a></li><li><img src="https://secure.gravatar.com/avatar/db3f2909768694ad2bb6409b44627182?size=20&default=retro"> Riri</li><li>Fifi (http://www.example.com/~fifi)</li><li>Loulou</li></ul><h3>Stats</h3>
<ul class="box">
-<li>9 modules</li>
-<li>23 classes</li>
-<li>75 methods</li>
-<li>471 lines of code</li>
+<li>10 modules</li>
+<li>26 classes</li>
+<li>79 methods</li>
+<li>509 lines of code</li>
</ul>
</div>
</div> <!-- container-fluid -->
Empty README for group `examples` (readme-warning)
+Empty README for group `man` (readme-warning)
+Empty README for group `tests` (readme-warning)
Empty README for group `excluded` (readme-warning)
-Errors: 0. Warnings: 2.
+Errors: 0. Warnings: 4.
MGroupPage excluded
# excluded.section
## excluded.intro
ReadmePage game
# mdarticle-0
+ReadmePage man
+
ReadmePage platform
# mdarticle-0
ReadmePage rpg
# mdarticle-0
+ReadmePage tests
+
SearchPage Index
# index.article
###### list.group
####### test_prog-__Starter.intros
####### test_prog-__Starter.redefs
- ### test_prog-__Sys.definition-list
+ ## test_prog__platform.concern
+ ## test_prog__platform-.concern
+ ### test_prog__platform-__Sys.definition-list
+ #### test_prog__platform-__Sys.definition
#### test_prog-__Sys.definition
##### test_prog-__Sys.intros_redefs
###### list.group
# start.section
## test_prog-__Starter__start.intro
-MClassPage Sys
- # Sys.section
- ## test_prog-__Sys.intro
- ## test_prog-__Sys.inheritance
- ### test_prog-__Sys.graph
- ### list.group
- #### test_prog-__Sys.parents
- #### test_prog-__Sys.ancestors
- #### test_prog-__Sys.children
- #### test_prog-__Sys.descendants
- ## test_prog-__Sys.constructors
- ## test_prog-__Sys.concerns
- ## test_prog.concern
- ## test_prog.concern
- ## test_prog-.concern
- ### test_prog-__Sys__main.definition
-
-MPropertyPage main
- # main.section
- ## test_prog-__Sys__main.intro
-
MGroupPage examples
# examples.section
## test_prog__examples.intro
## test_prog__examples.concern
## test_prog__examples-.concern
### test_prog__examples-__MyGame__player_characters.definition
+ ## test_prog__tests.concern
+ ## test_prog__tests-.concern
+ ### test_prog__tests-__TestGame__player_characters.definition
MPropertyPage start_game
# start_game.section
## test_prog__examples-.concern
### test_prog__examples-__MyGame__stop_game.definition
+MGroupPage man
+ # man.section
+ ## test_prog__man.intro
+
MGroupPage platform
# platform.section
## test_prog__platform.intro
###### list.group
####### test_prog__platform-__String.intros
####### test_prog__platform-__String.redefs
+ ### test_prog__platform-__Sys.definition-list
+ #### test_prog__platform-__Sys.definition
+ ##### test_prog__platform-__Sys.intros_redefs
+ ###### list.group
+ ####### test_prog__platform-__Sys.intros
+ ####### test_prog__platform-__Sys.redefs
MClassPage Bool
# Bool.section
#### test_prog__platform-__String.children
#### test_prog__platform-__String.descendants
+MClassPage Sys
+ # Sys.section
+ ## test_prog__platform-__Sys.intro
+ ## test_prog__platform-__Sys.inheritance
+ ### test_prog__platform-__Sys.graph
+ ### list.group
+ #### test_prog__platform-__Sys.parents
+ #### test_prog__platform-__Sys.ancestors
+ #### test_prog__platform-__Sys.children
+ #### test_prog__platform-__Sys.descendants
+ ## test_prog__platform-__Sys.constructors
+ ### test_prog__platform-__Object__init.definition
+ ## test_prog__platform-__Sys.concerns
+ ## test_prog.concern
+ ## test_prog.concern
+ ## test_prog__platform.concern
+ ## test_prog__platform-.concern
+ ### test_prog__platform-__Sys__main.definition
+ #### test_prog__platform-__Sys__main.lin
+ ## test_prog-.concern
+ ### test_prog-__Sys__main.definition
+ #### test_prog-__Sys__main.lin
+
+MPropertyPage main
+ # main.section
+ ## test_prog__platform-__Sys__main.intro
+ ## test_prog__platform-__Sys__main.concerns
+ ## test_prog.concern
+ ## test_prog.concern
+ ## test_prog-.concern
+ ### test_prog-__Sys__main.definition
+
MGroupPage rpg
# rpg.section
## test_prog__rpg.intro
#### test_prog__rpg__rpg.imports
#### test_prog__rpg__rpg.clients
-Generated 105 pages
+MGroupPage tests
+ # tests.section
+ ## test_prog__tests.intro
+ ## test_prog__tests.concerns
+ ## test_prog.concern
+ ## test_prog.concern
+ ## test_prog__tests.concern
+ ## test_prog__tests-.concern
+ ### test_prog__tests-.definition
+ #### test_prog__tests-.intros_redefs
+ ##### list.group
+ ###### test_prog__tests-.intros
+ ###### test_prog__tests-.redefs
+
+MModulePage test_game
+ # test_game.section
+ ## test_prog__tests-.intro
+ ## test_prog__tests-.importation
+ ### test_prog__tests-.graph
+ ### list.group
+ #### test_prog__tests-.imports
+ #### test_prog__tests-.clients
+ ## test_prog__tests-.concerns
+ ## test_prog.concern
+ ## test_prog.concern
+ ## test_prog__tests.concern
+ ## test_prog__tests-.concern
+ ### test_prog__tests-__GameTest.definition-list
+ #### test_prog__tests-__GameTest.definition
+ ##### test_prog__tests-__GameTest.intros_redefs
+ ###### list.group
+ ####### test_prog__tests-__GameTest.intros
+ ####### test_prog__tests-__GameTest.redefs
+ ### test_prog__tests-__TestGame.definition-list
+ #### test_prog__tests-__TestGame.definition
+ ##### test_prog__tests-__TestGame.intros_redefs
+ ###### list.group
+ ####### test_prog__tests-__TestGame.intros
+ ####### test_prog__tests-__TestGame.redefs
+
+MClassPage GameTest
+ # GameTest.section
+ ## test_prog__tests-__GameTest.intro
+ ## test_prog__tests-__GameTest.inheritance
+ ### test_prog__tests-__GameTest.graph
+ ### list.group
+ #### test_prog__tests-__GameTest.parents
+ #### test_prog__tests-__GameTest.ancestors
+ #### test_prog__tests-__GameTest.children
+ #### test_prog__tests-__GameTest.descendants
+ ## test_prog__tests-__GameTest.constructors
+ ### test_prog__platform-__Object__init.definition
+ ## test_prog__tests-__GameTest.concerns
+ ## test_prog.concern
+ ## test_prog.concern
+ ## test_prog__tests.concern
+ ## test_prog__tests-.concern
+ ### test_prog__tests-__GameTest__test_game.definition
+
+MPropertyPage test_game
+ # test_game.section
+ ## test_prog__tests-__GameTest__test_game.intro
+
+MClassPage TestGame
+ # TestGame.section
+ ## test_prog__tests-__TestGame.intro
+ ## test_prog__tests-__TestGame.inheritance
+ ### test_prog__tests-__TestGame.graph
+ ### list.group
+ #### test_prog__tests-__TestGame.parents
+ #### test_prog__tests-__TestGame.ancestors
+ #### test_prog__tests-__TestGame.children
+ #### test_prog__tests-__TestGame.descendants
+ ## test_prog__tests-__TestGame.constructors
+ ### test_prog__platform-__Object__init.definition
+ ## test_prog__tests-__TestGame.concerns
+ ## test_prog.concern
+ ## test_prog.concern
+ ## test_prog__tests.concern
+ ## test_prog__tests-.concern
+ ### test_prog__tests-__TestGame__player_characters.definition
+ #### test_prog__tests-__TestGame__player_characters.lin
+ ### test_prog__tests-__TestGame__player_characters_61d.definition
+
+MPropertyPage player_characters=
+ # player_characters=.section
+ ## test_prog__tests-__TestGame__player_characters_61d.intro
+
+Generated 114 pages
list:
- MPropertyPage: 60 (57.14%)
- MClassPage: 21 (20.00%)
- MModulePage: 10 (9.52%)
- ReadmePage: 6 (5.71%)
- MGroupPage: 6 (5.71%)
- SearchPage: 1 (0.95%)
- OverviewPage: 1 (0.95%)
-Found 198 mentities
+ MPropertyPage: 62 (54.38%)
+ MClassPage: 23 (20.17%)
+ MModulePage: 11 (9.64%)
+ ReadmePage: 8 (7.01%)
+ MGroupPage: 8 (7.01%)
+ SearchPage: 1 (0.87%)
+ OverviewPage: 1 (0.87%)
+Found 212 mentities
list:
- MMethodDef: 75 (37.87%)
- MMethod: 59 (29.79%)
- MClassDef: 23 (11.61%)
- MClass: 21 (10.60%)
- MModule: 10 (5.05%)
- MGroup: 6 (3.03%)
- MPackage: 2 (1.01%)
- MVirtualTypeDef: 1 (0.50%)
- MVirtualTypeProp: 1 (0.50%)
+ MMethodDef: 79 (37.26%)
+ MMethod: 61 (28.77%)
+ MClassDef: 26 (12.26%)
+ MClass: 23 (10.84%)
+ MModule: 11 (5.18%)
+ MGroup: 8 (3.77%)
+ MPackage: 2 (0.94%)
+ MVirtualTypeDef: 1 (0.47%)
+ MVirtualTypeProp: 1 (0.47%)
quicksearch-list.js
| |--combat: COmbat interactions between characters. (test_prog/rpg/combat.nit)
| |--races: Races of the game. (test_prog/rpg/races.nit)
| `--rpg: A worlg RPG abstraction. (test_prog/rpg/rpg.nit)
-`--test_prog: A test program with a fake model to check model tools. (test_prog/test_prog.nit)
+|--test_prog: A test program with a fake model to check model tools. (test_prog/test_prog.nit)
+`--tests (test_prog/tests)
+ `--test_game (test_prog/tests/test_game.nit)
-total_strengh has 2 lines
-total_endurance has 2 lines
-total_intelligence has 2 lines
-Large class: 6 attributes and 18 methods (4.581A 7.153M Average)
+Large class: 6 attributes and 18 methods (4.673A 6.923M Average)
+--------------------
+Full name: test_prog$GameTest Location: test_prog/tests/test_game.nit:25,1--33,3
+Feature envy:
+ Affected method(s):
+ -test_game() 0/1 move to TestGame
+Long method: Average 1 lines
+ Affected method(s):
+ -test_game has 3 lines
model: mpackages=1 mmodules=5
mb: identified modules=5; parsed modules=0
parse found 2 modules
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=6
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=6
parse_full found 5 modules
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=6
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=6
module test_prog::test_prog at test_prog/test_prog.nit
test_prog::test_prog: group?
nothing
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=0
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=0
test_prog/: module?
module test_prog::test_prog at test_prog/test_prog.nit
test_prog/: group?
group test_prog> at test_prog
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=0
-scan_full found 20 modules
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=0
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=0
+scan_full found 22 modules
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=0
parse found 1 modules
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=8
-parse_full found 9 modules
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=9
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=8
+parse_full found 10 modules
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=10
module test_prog::races at test_prog/rpg/races.nit
test_prog::races: group?
nothing
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=0
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=0
test_prog::races:rpg: module?
Error: cannot find module `test_prog::races:rpg`. Did you mean test_prog::races?
test_prog::races:rpg: group?
nothing
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=0
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=0
test_prog::races::combat: module?
Error: cannot find module `test_prog::races::combat`. Did you mean test_prog::combat?
test_prog::races::combat: group?
nothing
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=0
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=0
scan_full found 1 modules
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=0
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=0
parse found 1 modules
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=2
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=2
parse_full found 1 modules
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=2
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=2
Error: cannot find module `test_prog::fail::races`. Did you mean test_prog::races?
test_prog::fail::races: group?
nothing
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=0
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=0
test_prog::fail: module?
Error: cannot find module `test_prog::fail`. Did you mean test_prog::game?
test_prog::fail: group?
nothing
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=0
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=0
fail::fail: module?
nothing
fail::fail: group?
nothing
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=0
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=0
scan_full found 0 modules
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=0
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=0
parse found 0 modules
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=0
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=0
parse_full found 0 modules
- model: mpackages=2 mmodules=10
- mb: identified modules=10; parsed modules=0
+ model: mpackages=2 mmodules=11
+ mb: identified modules=11; parsed modules=0
* 5: careers (test_prog::careers)
* 5: examples (test_prog>examples>)
* 5: excluded (excluded>)
- * 5: excluded (excluded::excluded)
* 5: excluded (excluded)
- * 5: game (test_prog::game)
+ * 5: excluded (excluded::excluded)
* 5: game (test_prog>game>)
+ * 5: game (test_prog::game)
* 4: races (test_prog::races)
# Dwarves
- * 13: Int (test_prog::Int)
* 12: Sys (test_prog::Sys)
* 8: excluded (excluded>)
* 7: excluded (excluded)
* 13: game (test_prog>game>)
+ * 13: man (test_prog>man>)
* 13: races (test_prog::races)
* 13: rpg (test_prog>rpg>)
* 13: rpg (test_prog::rpg)
- * 9: test_prog (test_prog>)
* 9: test_prog (test_prog)
+ * 9: test_prog (test_prog>)
# Obj
* 3: + (test_prog::Int::+)
- * 3: - (test_prog::Int::-)
* 3: > (test_prog::Int::>)
* 3: Elf (test_prog::Elf)
* 3: Int (test_prog::Int)
* 1: Object (test_prog::Object)
* 3: Sys (test_prog::Sys)
* 3: age (test_prog::Character::age)
+ * 3: man (test_prog>man>)
* 3: rpg (test_prog::rpg)
* 3: rpg (test_prog>rpg>)
# Dwa
* 13: Dwarf (test_prog::Dwarf)
- * 14: Game (test_prog::Game)
* 9: excluded (excluded>)
* 8: excluded (excluded)
* 14: game (test_prog>game>)
* 14: game (test_prog::game)
+ * 13: man (test_prog>man>)
* 14: rpg (test_prog>rpg>)
* 14: rpg (test_prog::rpg)
* 10: test_prog (test_prog>)
# Foo
- * 3: != (test_prog::Object::!=)
- * 3: == (test_prog::Object::==)
- * 3: > (test_prog::Int::>)
+ * 3: * (test_prog::Int::*)
* 2: Bool (test_prog::Bool)
* 3: Elf (test_prog::Elf)
* 3: Float (test_prog::Float)
* 3: Int (test_prog::Int)
* 3: Sys (test_prog::Sys)
- * 3: rpg (test_prog::rpg)
+ * 3: dps (test_prog::Weapon::dps)
+ * 3: man (test_prog>man>)
* 3: rpg (test_prog>rpg>)
+ * 3: rpg (test_prog::rpg)
* 3: Int (test_prog::Int)
* 3: Sys (test_prog::Sys)
* 3: rpg (test_prog::rpg)
- * 3: test_prog (test_prog::test_prog)
- * 3: test_prog (test_prog)
* 3: test_prog (test_prog>)
+ * 3: test_prog (test_prog)
+ * 3: test_prog (test_prog::test_prog)
* 1: + (test_prog::Float::+)
* 1: - (test_prog::Int::-)
* 1: - (test_prog::Float::-)
- * 1: / (test_prog::Float::/)
* 1: / (test_prog::Int::/)
- * 1: > (test_prog::Float::>)
+ * 1: / (test_prog::Float::/)
* 1: > (test_prog::Int::>)
+ * 1: > (test_prog::Float::>)
# Foo
- * 3: + (test_prog::Int::+)
- * 3: + (test_prog::Float::+)
* 2: Bool (test_prog::Bool)
* 3: Elf (test_prog::Elf)
* 3: Float (test_prog::Float)
* 3: Int (test_prog::Int)
* 3: Sys (test_prog::Sys)
* 3: age (test_prog::Character::age)
+ * 3: dps (test_prog::Weapon::dps)
+ * 3: man (test_prog>man>)
* 3: rpg (test_prog::rpg)
* 3: rpg (test_prog>rpg>)
excluded test_prog
# mmodules:
-careers character combat excluded game game_examples platform races rpg test_prog
+careers character combat excluded game game_examples platform races rpg test_game test_prog
------------------------------------
-careers character combat excluded game game_examples platform races rpg test_prog
+careers character combat excluded game game_examples platform races rpg test_game test_prog
# mclasses:
Alcoholic Bool Career Character Combatable Dwarf Elf Float Game Human Int List Magician Object Race Starter String Sys Warrior Weapon
| |--test_prog/game/excluded_dir
| | `--test_prog/game/excluded_dir/more.nit
| `--test_prog/game/game.nit
+|--test_prog/man
+| `--test_prog/man/test_prog.man
|--test_prog/package.ini
|--test_prog/platform
| |--test_prog/platform/README.md
| |--test_prog/rpg/combat.nit
| |--test_prog/rpg/races.nit
| `--test_prog/rpg/rpg.nit
-`--test_prog/test_prog.nit
+|--test_prog/test_prog.nit
+`--test_prog/tests
+ `--test_prog/tests/test_game.nit
# List of things.
class List[E] end
+
+# Sys
+class Sys
+ fun main is intern
+end
# See the License for the specific language governing permissions and
# limitations under the License.
-module test_game_examples is test
+module test_game is test
import game
test
fun test_game is test do
- var game = new TestGame
- assert game.player_characters isa List[Character]
+ var game1 = new TestGame
+ var game2 = new TestGame
+ assert game1 != game2
end
end