Code quality metrics in iOS projects developed by EL Passion in 2019.
In 2019 our iOS team has successfully developed several projects with varied tech stacks. However, the common part is that we approached them all using TDD, pair programming and regular code reviews. Here you can see the code coverage metrics.
The amount of code covered by tests
Project | Lines of code | Number of tests | Unit tests | Snapshot tests | Coverage |
---|---|---|---|---|---|
Mindfulness app | 16 039 | 1 026 | β | β | 85.90% |
Banking app | 29 871 | 3 355 | β | β | 97.68% |
Shared networking library | 5 183 | 800 | β | β | 97.88% |
The mindfulness app with materials aiding cancer treatment.
- Swift 5
- Tested with Quick and Nimble
- Snapshot tests with iOSSnapshotTestCase
- Continuous integration
The banking app for fast online payments with instant in-app events based on live backend communication. The app featured a lot of complex navigation flows. The security and the UI component integrity between platforms were the critical parts.
- Swift 5
- Tested with Quick and Nimble
- Snapshot tests with SnapshotTesting
- Continuous integration
- Continuous deployment
The shared library performing the network communication for Android & iOS apps implemented in C++14. The library is shipped as a native Android library using NDK and an iOS framework using Objective-C++. The native platform bridging code was generated using Djinni. The security of the data transmission and code obfuscation were the critical parts.
- C++14
- Unit-tested with googletest
- Bridged to native platforms with djinni
- Networking with libcurl
- Encryption with OpenSSL
- Continuous integration
- Automated deployment procedures