Coder Social home page Coder Social logo

enigma's Introduction

  • Functionality: I believe this is a 3, because while I attempted a cracker/interface, I was not able to implement anything that functioned. My Encrypt and Decrypt and CLI are fully functional.
  • Object Oriented Programming: I believe this is a 3, because I have 3 functioning classes and 1 module, all under 50 lines, and none of my methods are over 7 lines long. My Encrypt and Decrypt classes have the singular goal of Encrypting and Decrypting messages. The Enigma class is only there to send information to one of the Encrypt or Decrypt classes, and return the information in a specific format. My module is the logic that the Encrypt and Decrypt classes use to process their given information. Things like generating keys and offsets are the same between the two, so the Module holds all of that code.
  • Test Driven Development: I believe this is a 4 because I have 100% coverage in SimpleCov, and I have implemented mocks and stubs in some of those tests. I implemented Mocks in the Engine Module tests by creating a DummyEngine class that I extended the EngineModule onto. This allowed me to test the Modules functionality without feeding in every piece of information from an Enigma machine. I also implemented Stubs on the Enigma test, ensuring that I could use the same Date on tests that required it. I was able to created a Date object, that I could then stub the Date class to use when calling the ::today method. I additionally wrote all my tests, committed them, and then built my methods.
  • Version Control: I believe this is a 4 because I have over twice the required amount of commits, and 15 PRs. I ensured that all of my PRs covered all aspects of the commits included, and went in depth about how the files and methods interacted and functioned. All of my commits were split into singular functionalities.

enigma's People

Contributors

brennanayers avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.