Wiki
Clone wikisteganodotnet3 / Home
Possible unit tests:
- select carrier image
- file open
- Selecting input text file
- Open input text
- Read input text
- Alternatively Enter strings of text
- Select and store password
- Select output image
- Insert text into image
- Save image
- Open image
- extract data to screen
- Extract data to file
Refactorings:
- cleaning up HideOrExtarct function:
-
extract method to create CountPixels method
-
extract method to create the SaveBitmaps method
-
extract method to create WriteBitmapLength method
-
extract method to create CountRequiredPixels method
-
extract method to create CheckImageSize method
other:
- encapsulate field for ImagesHide in Form1.cs
- extract class on ImagesHide into Images class
- encapsulate field for imagesExtract in form1.cs
-
move field on imagesExtract to Images class
-
used move method on CheckImageSize and CountRequiredPixels to the Images class
- used move method on CountPixels method to the Images class
-
used move method on SaveBitmap, setcolorcomponent, getcolorcomponent, and UnTrimColorString methods to the Images class
-
performed another extract class for the cryptkey class, to hold the information about the key information for the project
-
used move method on GetReverseKeyByte, CreateKeyStream, and GetKeyStream methods to the new class
-
performed encapsulate field on keys private variable in the form1.cs file
-
performed move field on the keys variable from form1.cs to the new CryptKey class
-
Performed Replace Nested Conditional refactoring on CryptKey.cs, CryptUtility.cs, Form1.cs, and ImageFilesDialog.cs.
- Replace Assignment with Initialization refactoring completed
- Reduce Scope of Variable completed.
- Remove unnecessary Using statements. Reduce overhead.
-
Redundant Name Qualifiers removed in GUI source code.
-
Added the explaining variable refactoring to move pixel method in cryptutility
Updated