mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-08 07:42:33 +01:00
merged from 18.01
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@2048 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -1,20 +1,17 @@
|
||||
[[Property:title|Eiffel Inspector - Getting Started]]
|
||||
[[Property:modification_date|Mon, 09 Jul 2018 07:47:11 GMT]]
|
||||
[[Property:publication_date|Mon, 09 Jul 2018 07:47:11 GMT]]
|
||||
[[Property:title|Getting Started]]
|
||||
[[Property:link_title|Getting Started]]
|
||||
[[Property:weight|-15]]
|
||||
[[Property:uuid|81ae12fd-f643-c5ba-825c-7750929f6978]]
|
||||
==Eiffel Inspector Tool==
|
||||
After opening an existing project with EiffelStudio, go to View->Tools->Eiffel Inspector to show the tool. It will look like this:
|
||||
|
||||
The Inspector Eiffel tool panel before the analysis.
|
||||
[[Image:Eiffel Inspector - Tool Panel|center|1119px|Eiffel Inspector - Tool Panel]]
|
||||
==Code Analyzer==
|
||||
After opening an existing project with EiffelStudio, go to Project->Analyze... to run the tool.
|
||||
|
||||
== A Simple Analysis ==
|
||||
|
||||
Press the '''Analyze System''' button. If needed, the system will be compiled now. A successful compilation is required for the Eiffel Inspector to run. After a successful compilation the analysis will start and will check all classes of your system. The status bar shows the progress by displaying the class currently being analyzed. As soon as the analysis is complete, results will show up in the panel as a list of ''rule violations''.
|
||||
Select the menu item '''Analyze System Target'''. If needed, the system will be compiled now. A successful compilation is required for the Code Analyzer to run. After a successful compilation the analysis will start and will check all classes of your system. The status bar shows the progress by displaying the class currently being analyzed. As soon as the analysis is complete, results will show up in the error panel as a list of ''rule violations''.
|
||||
|
||||
The results of code analysis as a list of rule violations (example).
|
||||
[[Image:CA Simple Analysis|center|978px|Eiffel Inspector - Simple Analysis]]
|
||||
|
||||
|
||||
A double-click on a row will update the EiffelStudio editor to go to the position in the code where the issue lies. You may expand the row to see more details.
|
||||
[[Image:CA Simple Analysis|center|978px|Code Analyzer - Simple Analysis]]
|
||||
|
||||
A double-click on a row will update the EiffelStudio editor to go to the position in the code where the issue lies. You may expand the row to see more details.
|
||||
@@ -1,7 +1,7 @@
|
||||
[[Property:modification_date|Wed, 04 Jul 2018 09:37:50 GMT]]
|
||||
[[Property:publication_date|Wed, 04 Jul 2018 09:37:50 GMT]]
|
||||
[[Property:modification_date|Wed, 04 Jul 2018 11:29:56 GMT]]
|
||||
[[Property:publication_date|Wed, 04 Jul 2018 09:35:31 GMT]]
|
||||
[[Property:title|Code Analyzer]]
|
||||
[[Property:weight|-9]]
|
||||
[[Property:weight|-8]]
|
||||
[[Property:uuid|3d9edb08-a7dd-7df9-2b1e-b5c30add6529]]
|
||||
The Code Analyzer is a static analyzer that helps maintaining a high code quality. It is capable of detecting many different kinds of issues in the source code. These issues relate to possibly dangerous run-time behavior, performance problems, coding style, and more.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user