/[eiffelstudio]/branches/eth/eve/Src/framework/code_analysis/ca_code_analyzer.e
ViewVC logotype

Diff of /branches/eth/eve/Src/framework/code_analysis/ca_code_analyzer.e

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 94210 by zurfluhs, Thu Feb 6 10:22:46 2014 UTC revision 94245 by zurfluhs, Mon Feb 10 13:49:05 2014 UTC
# Line 74  feature {NONE} -- Initialization Line 74  feature {NONE} -- Initialization
74    
75  feature -- Analysis interface  feature -- Analysis interface
76    
77          add_completed_action (a_action: attached PROCEDURE [ANY, TUPLE [BOOLEAN]])          add_completed_action (a_action: attached PROCEDURE [ANY, TUPLE [ITERABLE [TUPLE [detachable EXCEPTION, CLASS_C]]]])
78                          -- Adds `a_action' to the list of procedures that will be                          -- Adds `a_action' to the list of procedures that will be
79                          -- called when analysis has completed.                          -- called when analysis has completed.
80                  do                  do
# Line 236  feature {NONE} -- Implementation Line 236  feature {NONE} -- Implementation
236    
237          csv_header: STRING = "Severity;Class;Location;Title;Description;Rule ID;Severity Score"          csv_header: STRING = "Severity;Class;Location;Title;Description;Rule ID;Severity Score"
238    
239          analysis_completed          analysis_completed (a_exceptions: detachable ITERABLE [TUPLE [detachable EXCEPTION, CLASS_C]])
240                          -- Will be called when the analysis task has finished.                          -- Will be called when the analysis task has finished. `a_exceptions'
241                            -- contains a list of exception that occurred during analysis.
242                  local                  local
243                          l_csv_writer: CA_CSV_WRITER                          l_csv_writer: CA_CSV_WRITER
244                  do                  do
# Line 262  feature {NONE} -- Implementation Line 263  feature {NONE} -- Implementation
263                          clear_classes_to_analyze                          clear_classes_to_analyze
264    
265                          is_running := False                          is_running := False
266                          completed_actions.call ([True])                          completed_actions.call ([a_exceptions])
267                          completed_actions.wipe_out                          completed_actions.wipe_out
268                  end                  end
269    
# Line 299  feature {NONE} -- Implementation Line 300  feature {NONE} -- Implementation
300          system_wide_check: BOOLEAN          system_wide_check: BOOLEAN
301                          -- Shall the whole system be analyzed?                          -- Shall the whole system be analyzed?
302    
303          completed_actions: ACTION_SEQUENCE [TUPLE [BOOLEAN]]          completed_actions: ACTION_SEQUENCE [TUPLE [ITERABLE [TUPLE [detachable EXCEPTION, CLASS_C]]]]
304                          -- List of procedures to call when analysis has completed.                          -- List of procedures to call when analysis has completed.
305    
306          frozen rota: detachable ROTA_S          frozen rota: detachable ROTA_S

Legend:
Removed from v.94210  
changed lines
  Added in v.94245

  ViewVC Help
Powered by ViewVC 1.1.23