remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
remix-project/docs_old/analysis_tab.rst

28 lines
1.0 KiB

7 years ago
Analysis
========
This section gives information about the last compilation.
By default, a new analysis is run at each compilation.
7 years ago
The analysis tab gives detailed information about the contract code. It can help you avoid code mistakes and to enforce best practices.
.. image:: images/remix_analysistab.png
7 years ago
Here is the list of analyzers:
7 years ago
- Security:
- Transaction origin: Warns if tx.origin is used
7 years ago
- Check effects: Avoid potential reentrancy bugs
- Inline assembly: Use of Inline Assembly
- Block timestamp: Semantics maybe unclear
- Low level calls: Semantics maybe unclear
- Block.blockhash usage: Semantics maybe unclear
7 years ago
- Gas & Economy:
- Gas costs: Warns if the gas requirements of the functions are too high
7 years ago
- This on local calls: Invocation of local functions via this
7 years ago
- Miscellaneous:
- Constant functions: Checks for potentially constant functions
- Similar variable names: Checks if variable names are too similar