-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge Release 1.0.0-beta1
- Loading branch information
Showing
377 changed files
with
34,969 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<!-- Enter the issue number(ex: Issue-1) or task number(ex: R-8, F-1) --> | ||
> | ||
### Related Issue | ||
<!--- If it fixes an open issue, please link to the issue here. --> | ||
[Issue-X](https://github.com/janbarari/gradle-analytics-plugin/issues/X) | ||
|
||
### Motivation and Context | ||
<!--- Why is this change required? What problem does it solve? --> | ||
|
||
### Description | ||
<!-- Summarize the change and help the reviewer on important points --> | ||
|
||
### Type of change | ||
<!-- Choose the PR type, you can choose multiple types --> | ||
- [ ] Feature | ||
- [ ] POC | ||
- [ ] Bug fix | ||
- [ ] Hot fix | ||
- [ ] Optimization | ||
- [ ] Refactor | ||
- [ ] Noref | ||
|
||
### Checklist | ||
- [ ] Are local unit tests passed? | ||
- [ ] Is Detekt passed? | ||
- [ ] Is code coverage affected? | ||
- [ ] Is any new test added? | ||
- [ ] Is CI workflow affected? | ||
- [ ] Is a next refactor needed? | ||
|
||
### How has this been tested? | ||
<!--- Please describe in detail how you tested your changes. --> | ||
<!--- Include details of your testing environment, and the tests you ran to --> | ||
<!--- see how your change affects other areas of the code, etc. --> | ||
|
||
### Screenshots | ||
<!-- Please put the screenshots here if it's exists --> | ||
<!-- Use this template to scale down big images. --> | ||
<!-- You'll get the link after image upload with Drag & Drop --> | ||
<!-- <img src="https://img.png" width=45% height=45%> --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
.idea/ | ||
build/ | ||
.DS_Store | ||
temporary-notes.txt | ||
site/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,10 @@ | ||
<img src="plugin-logo.png" alt="plugin logo" width="128"/> | ||
|
||
# Gradle Analytics Plugin | ||
## Gradle Analytics Plugin | ||
[![CircleCI](https://circleci.com/gh/janbarari/gradle-analytics-plugin/tree/develop.svg?style=svg)](https://circleci.com/gh/janbarari/gradle-analytics-plugin/tree/develop) | ||
[![codecov](https://codecov.io/gh/janbarari/gradle-analytics-plugin/branch/develop/graph/badge.svg)](https://codecov.io/gh/janbarari/gradle-analytics-plugin) | ||
<img src="https://img.shields.io/github/license/janbarari/gradle-analytics-plugin.svg?label=License"/> | ||
<a href="https://github.com/janbarari/gradle-analytics-plugin"> | ||
<img src="https://img.shields.io/github/stars/janbarari/gradle-analytics-plugin.svg?label=Stars"/> | ||
</a> | ||
<a href="https://github.com/janbarari/gradle-analytics-plugin/issues/new?title=RF:">Request Feature</a> or <a href="https://github.com/janbarari/gradle-analytics-plugin/issues/new?title=RB:">Report Bug</a> | ||
<br /> | ||
Hey 👋, Mark this repo in your browser, see you soon ;D | ||
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=janbarari_gradle-analytics-plugin&metric=alert_status)](https://sonarcloud.io/dashboard?id=janbarari_gradle-analytics-plugin) | ||
|
||
License | ||
--- | ||
Copyright © 2022 [Janbarari](https://github.com/janbarari) | ||
This project binaries and source code can be used according to the [MIT LICENSE](https://github.com/janbarari/gradle-analytics-plugin/blob/main/LICENSE). | ||
A free Gradle plugin to analyze your project builds. It provides unique visual and text metrics in HTML format. | ||
|
||
### Documentation is at <a href="https://janbarari.github.io/gradle-analytics-plugin">janbarari.github.io/gradle-analytics-plugin</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
codecov: | ||
require_ci_to_pass: yes | ||
notify: | ||
wait_for_ci: yes | ||
|
||
coverage: | ||
precision: 2 | ||
round: down | ||
range: 65...100 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
complexity: | ||
active: true | ||
TooManyFunctions: | ||
active: true | ||
excludes: [ '**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**' ] | ||
thresholdInFiles: 50 | ||
thresholdInClasses: 50 | ||
thresholdInInterfaces: 50 | ||
thresholdInObjects: 50 | ||
thresholdInEnums: 50 | ||
ignoreDeprecated: false | ||
ignorePrivate: false | ||
ignoreOverridden: false | ||
LongParameterList: | ||
active: false | ||
NestedBlockDepth: | ||
active: true | ||
threshold: 6 | ||
LongMethod: | ||
active: true | ||
threshold: 75 | ||
ComplexMethod: | ||
active: true | ||
threshold: 25 | ||
|
||
exceptions: | ||
active: true | ||
SwallowedException: | ||
active: false | ||
TooGenericExceptionCaught: | ||
active: false | ||
|
||
style: | ||
active: true | ||
SerialVersionUIDInSerializableClass: | ||
active: false | ||
MagicNumber: | ||
active: false | ||
ReturnCount: | ||
active: false | ||
FunctionOnlyReturningConstant: | ||
active: false | ||
MaxLineLength: | ||
active: true | ||
maxLineLength: 128 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Changelog | ||
|
||
## 1.0.0-beta1 | ||
* Hello World :) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Contribution | ||
Gradle Analytics Plugin is Open Source and accepts contributions of new members, feel free to submit your PR and stay connected on the PR page and I will be glad to finalize and merge your PR in the upcoming release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Getting Report | ||
Gradle Analytics Plugin uses daily basis data to generate reports. So you could use the below instructions to generate your build analysis. | ||
|
||
<strong>Execute Gradle Task</strong><br/> | ||
```Gradle | ||
./gradlew reportAnalytics --task="REQUESTED_TASK" --branch="BRANCH_NAME" --period="can be like today, s:yyyy/MM/dd,e:yyyy/MM/dd, 1y, 4m, 38d, 3m 06d" | ||
``` | ||
|
||
<br/> | ||
!!! Note "" | ||
|
||
<strong>--period Examples</strong><br/> | ||
|
||
- <strong>today</strong> - Generates report only for the current day. | ||
- <strong>1d</strong> - Generates report from 1 day ago till now. | ||
- <strong>1m 3d</strong> - Generates report from 1 month and 3 days ago till now. | ||
- <strong>1y</strong> - Generates report from 1 year ago till now. | ||
- <strong>s:2022/03/24,e:2022/04/25</strong> - Generates report from `2022/03/24` till `2022/04/25`. | ||
|
||
|
||
Plugin only holds the metrics results in the caching database up to one year. | ||
|
||
<br/> | ||
|
||
To understand the metrics and report that plugin provides, It is required to understand Gradle basics and how this build | ||
system works.<br /><a href="https://docs.gradle.org/current/userguide/what_is_gradle.html" target="_blank">https://docs.gradle.org/current/userguide/what_is_gradle.html</a> | ||
<br/> | ||
|
||
<br/> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.