Developer Mode

What is it ?

The Developer mode is used to produce the source code or parameter files. These files are automatically produced from a model and generation rules created and validated with the Architect mode.


Mia-Generation provides the developers with very usefull information about what has been generated, indicates the code fragments to be completed manually and triggers alerts when anomalies ared detected during the generation.


All this information is mandatory when you need to apply an interative generation process.

 

 

Visualize the demonstration

 

 

What are the top features ?

Refining the status of generated files and code fragments


Mia-Generation allows to get more precise information about the status of the generated files and the fragments that constitute them.

The generated file status is explicit thanks to various icons. The user can detect easily the new files, the modified files those containing some manual code...

This information is relayed on a finer level, on the code fragments, which allows to know real impacts of the modifications provided by the last generation.

 


Mia-Generation allows to show the different code fragments constituting a generated file, notably thanks to different background colors in the text editor. Each selected fragment in the navigator tree appears surrounded in the text editor to facilitate reading and search.


When a generated file is different compared to the previous generation, modified code fragments are showed in a comparator.

 


Alerting : decreasing risks of code losing


Mia-Generation alerts the user when :



  • manual code fragments have disappeared during the last generation :
  • some files have not been re-generated :

 

  • some unexpected differences appear in the generated code fragments :

In each case, no code fragment is lost. The contents of the modified or not re-generated code fragments appears respectively in the comparator or in an adapted editor to possibly be got back.



Assessing to improve management


For each executed scenario, a table is displayed with different metrics for each generated file :

  • file size (in bytes)
  • user-code size (in bytes)
  • percentage of generated code (based on sizes)
  • number of user-code parts
  • number of user-code parts written by the user
  • generation time
  • generation time percentage


Consolided metrics are displayed under the table.

The table can be sorted on 2 keys by clicking the column headers.

 

 

Eclipse integration

For Eclipse users, all theses informations are available directly from the Mia-Generation Eclipse plugin view.
 

How to use it ?

To activate the computation of this detailed information, you just have to select the option in the Preferences of Mia-Generation.

 


To activate alerts and calculate metrics, you need to check these options in the Analysis tab of the used launcher.