Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liaogz82/fastlane-plugin-lizard
🦎Official fastlane plugin for lizard code complexity analytics 🦎
https://github.com/liaogz82/fastlane-plugin-lizard
android code-analysis code-complexity code-quality cyclomatic-complexity fastlane fastlane-plugin ios lizard mac
Last synced: about 1 month ago
JSON representation
🦎Official fastlane plugin for lizard code complexity analytics 🦎
- Host: GitHub
- URL: https://github.com/liaogz82/fastlane-plugin-lizard
- Owner: mosesliao
- License: mit
- Created: 2018-01-26T03:33:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-11-20T02:55:40.000Z (almost 4 years ago)
- Last Synced: 2024-10-04T21:51:47.956Z (about 1 month ago)
- Topics: android, code-analysis, code-complexity, code-quality, cyclomatic-complexity, fastlane, fastlane-plugin, ios, lizard, mac
- Language: Ruby
- Homepage: http://www.lizard.ws/
- Size: 78.1 KB
- Stars: 27
- Watchers: 6
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fastlane-plugin-lizard
[![fastlane Plugin Badge][1]][2]
[![Gem Version][3]][4]
[![CircleCI][5]][6]
[![codecov][7]][8]
[![Maintainability][16]][17]## Getting Started
This project is a [_fastlane_][9] plugin. To get started with
`fastlane-plugin-lizard`, add it to your project by running:```bash
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][10]
![Lizard][11]
## Lizard Actions
Lizard has only one action so far
```ruby
lizard(
source_folder: 'foo',
language: 'swift',
export_type: 'csv',
report_file: 'bar.csv'
)
```### Options
#### Multiple languages
```ruby
language: 'swift,objectivec'
```#### Multiple excludes
```ruby
exclude: 'spec_helper.rb,fixtures/*'
```#### XML reports
```ruby
export_type: 'xml'
```## Sonar Swift Usage
In the default configuration, the [Backelite sonar-swift plugin][15] for SonarQube
expects an xml report located at `sonar-reports/lizard-report.xml`:```ruby
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][12]
guide.## Using _fastlane_ Plugins
For more information about how the `fastlane` plugin system works, check out the
[Plugins documentation][13].## 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][14].[1]: https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg
[2]: https://rubygems.org/gems/fastlane-plugin-lizard
[3]: https://badge.fury.io/rb/fastlane-plugin-lizard.svg
[4]: https://badge.fury.io/rb/fastlane-plugin-lizard
[5]: https://circleci.com/gh/liaogz82/fastlane-plugin-lizard.svg?style=svg&circle-token=6d2bc552098ad6c8955ddecc9b058827e91e25cf
[6]: https://circleci.com/gh/liaogz82/fastlane-plugin-lizard
[7]: https://codecov.io/gh/liaogz82/fastlane-plugin-lizard/branch/master/graph/badge.svg
[8]: https://codecov.io/gh/liaogz82/fastlane-plugin-lizard
[9]: https://github.com/fastlane/fastlane
[10]: https://github.com/terryyin/lizard
[11]: https://camo.githubusercontent.com/bf0171b40f72483bc67dd4352db1d37c90a541c1/687474703a2f2f7777772e6c697a6172642e77732f776562736974652f7374617469632f696d672f6c6f676f2d736d616c6c2e706e67
[12]: https://docs.fastlane.tools/plugins/plugins-troubleshooting/
[13]: https://docs.fastlane.tools/plugins/create-plugin/
[14]: https://fastlane.tools
[15]: https://github.com/Backelite/sonar-swift
[16]: https://api.codeclimate.com/v1/badges/c241884a5177ca46c672/maintainability
[17]: https://codeclimate.com/github/liaogz82/fastlane-plugin-lizard/maintainability