Documentation should be generated for each function with the entry and exit parameter clearly stated.