Analyzing an Alloy project using Model/Collections, there is an unexpected error in the Code Analyzer report regarding the Collection name, which is reported as not defined.
1. Use Alloy sample app: https://github.com/appcelerator/alloy/tree/1_1_X/test/apps/models/journal (also attached here in the Jira)
2. Run the Code Analyzer
Error ["journal' is not defined] is reported.
Description: "journal" is not defined
'journal' is the value of the 'collection_name'.
It seems the line number is also not correct.
line is present in Resources/alloy/controllers/index.js but at line 44 (Resources files are included in the Project attached too).