0.0
No commit activity in last 3 years
No release in over 3 years
Audit
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 10.0

Runtime

~> 0.8
~> 3.2
~> 1.4
 Project Readme

Iosappaudit

Xcode project reviewer

Installation

iosappaudit uses Lizard under the hood. Install it first:

pip install lizard

pip is part of Python 3. If it is not already set up on your machine, install it using pyenv:

brew install pyenv
pyenv global 3.7.0

Finally install the gem:

gem install iosappaudit

Usage

Configure iosappaudit by creating a yaml file:

project_url: "" # required
sources_url: "" # required, used to compute the cyclomatic complexity number
xcodeproj:
  name: "" # first xcodeproj found will be used if empty
  main_target_name: "" # first target will be used if empty
complexity:
  file_line_count_threshold: 500
output_format:
  adds_row_padding: true
  size: 0 # adds samples for each project caracteristic
csv_output: audit.csv

Only project_url and sources_url are required. Example:

project_url: /.../Project
sources_url: /.../Project/Classes

Then launch the review :

iosappaudit -o example.yaml

It generates a quick csv recap of your project:

Project
Name,MyProject,
Version,1166,
Deployment Target,11.2,
Localizations,1,fr,
Settings
Targets,13,
Configurations,4,
Code
Files,1079,
Swift files,770,
Objective C files,309,
Lines of code,74630,
Files with more than 500 lines,14
Cyclomatic Complexity Number,13136,
Resources
Xibs,196,
Storyboards,3,
Tests,
Unit Tests,7,
UI Tests,4,