Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support "Dead Memory" output #34

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 1 comment
Open

Support "Dead Memory" output #34

GoogleCodeExporter opened this issue Mar 16, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Launch tool
2. Configure tool ( with wizard ... )
3. Run Coverage...

What is the expected output? What do you see instead?

Ability to have seperate tehncial output about "dead memory" areas. The "dead 
memory" would stand for all the occupied memory bu variables, constants and 
other data structures, that are not:

 - freed ( label "F" )
 - used anywhere in the code ( label "U" )
 - initialized ( labeled "I" )

What version of the product are you using? On what operating system?

RC1

Please provide any additional information below.

To add this feature, the following TODO could be used:

1. On each statement ( <if..then..[begin..end]> ; <for..to..do..[begin..end]> ; 
<repeat..unti> ; and others... ) record used variables into data structure;
2. After code is scanned / covered, perform static code scan and compare if the 
variables used ihn these statements mentioned above exposes the same variables 
declared in the unit / project. If not, provide new column in output labeled 
"Dead Memory", which would describe the main issue that memory is not anymore 
fully accessible for the program...
3. scan the code and combine the found issues in the form of array, that would 
make a columns fiel look like "F,U,I", saying, that the scanned code / 
statement block has got unfreed memory, uninitialized variables and also 
variables are unused ( declared but no value assigned ).

Original issue reported on code.google.com by linards....@gmail.com on 8 Apr 2012 at 3:03

@GoogleCodeExporter
Copy link
Author

Original comment by e.kotlya...@gmail.com on 16 Oct 2012 at 4:12

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant