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/analysis_tab.rst

28 lines
1000 B

7 years ago
Analysis
========
This section gives information about the last compilation.
7 years ago
A new analysis is by default run at each compilation.
It gives detailed information about the contract code and is a good way to avoid code mistakes and enforce best practices.
.. image:: images/remix_analysistab.png
7 years ago
Here the list of analyzers:
- Security:
- Transaction origin: Warn if tx.origin is used
- 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: Warn if the gas requirements of functions are too high
- This on local calls: Invocation of local functions via this
7 years ago
- Miscellaneous:
- Constant functions: Check for potentially constant functions
- Similar variable names: Check if variable names are too similar