Skip to content

Latest commit

 

History

History
106 lines (75 loc) · 3.07 KB

README.md

File metadata and controls

106 lines (75 loc) · 3.07 KB

fastlane-plugin-lizard

fastlane Plugin Badge Gem Version CircleCI codecov Maintainability

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-lizard, add it to your project by running:

fastlane add_plugin lizard

About Lizard

Lizard is an extensible Cyclomatic Complexity Analyzer for many imperative programming languages including C/C++ (doesn't require all the header files or Java imports).

For more information check out the GitHub repository

Lizard

Lizard Actions

Lizard has only one action so far

lizard(
  source_folder: 'foo',
  language: 'swift',
  export_type: 'csv',
  report_file: 'bar.csv'
)

Options

Multiple languages

language: 'swift,objectivec'

Multiple excludes

exclude: 'spec_helper.rb,fixtures/*'

XML reports

export_type: 'xml'

Sonar Swift Usage

In the default configuration, the Backelite sonar-swift plugin for SonarQube expects an xml report located at sonar-reports/lizard-report.xml:

lizard(source_folder: 'foo', export_type: 'xml', report_file: 'sonar-reports/lizard-report.xml')

The plugin doesn't create the directories specified in the report_file path, so they must exist or an error will occur.

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.