Description
A CLI utility to convert Jetpack Compose compiler metrics and reports to beautified π HTML page. Made with β€οΈ for Android Developers and Composers
Compose Compiler Reports to HTML Generator alternatives and similar packages
Based on the "Kotlin" category.
Alternatively, view compose-report-to-html alternatives based on common mentions on social networks and blogs.
-
CalendarView
A highly customizable calendar view and compose library for Android and Kotlin Multiplatform. -
Balloon
:balloon: Modernized and sophisticated tooltips, fully customizable with an arrow and animations for Android. -
kotlin-android-template
Android + Kotlin + Github Actions + ktlint + Detekt + Gradle Kotlin DSL + buildSrc = β€οΈ -
NotyKT ποΈ
π NotyKT is a complete πKotlin-stack (Backend + Android) π± application built to demonstrate the use of Modern development tools with best practices implementationπ¦Έ. -
Material Chip View
Material Chip view. Can be used as tags for categories, contacts or creating text clouds -
DrawableToolbox
π οΈ The missing drawable toolbox for Android. Create drawables programmatically and get rid of the boring and always repeated drawable.xml files. -
Navigation Toolbar for Android
:octocat: Navigation toolbar is a slide-modeled UI navigation controller made by @Ramotion -
Capturable
πJetpack Compose utility library for capturing Composable content and transforming it into Bitmap ImageπΌοΈ -
Pdf Viewer For Android
A Lightweight PDF Viewer Android library which only occupies around 80kb while most of the Pdf viewer occupies up to 16MB space. -
Carousel Recyclerview
Carousel Recyclerview let's you create carousel layout with the power of recyclerview by creating custom layout manager. -
SSComposeCookBook
A Collection of major Jetpack compose UI components which are commonly used.πππ -
Pluto Debug Framework
Android Pluto is a on-device debugging framework for Android applications, which helps intercept Network calls, capture Crashes & ANRs, manipulate application data on-the-go, and much more. -
CrunchyCalendar β awesome calendar widget for android apps
A beautiful material calendar with endless scroll, range selection and a lot more! -
SSCustomBottomNavigation
Animated TabBar with native control and Jetpack Navigation support..β¨ππ -
Permission Flow for Android
Know about real-time state of a Android app Permissions with Kotlin Flow APIs. -
Only
:bouquet: An easy way to persist and run code block only as many times as necessary on Android. -
Nextflix-Composable
Includes jetpack compose, navigation, paging, hilt, retrofit, coil, coroutines, flow.. -
EasyPermissions-ktx
π Kotlin version of the popular google/easypermissions wrapper library to simplify basic system permissions logic on Android M or higher. -
MidJourney Images Compose Multiplatform Mobile Application
This application is developed to display the images created by MidJourney. The application is developed with Compose Multiplatform and works on many platforms including Android and iOS platforms. -
Events Calendar
Events Calendar is a user-friendly library that helps you achieve a cool Calendar UI with events mapping. You can customise every pixel of the calendar as per your wish and still achieve in implementing all the functionalities of the native android calendar in addition with adding dots to the calendar which represents the presence of an event on the respective dates. It can be done easily, you are just a few steps away from implementing your own badass looking Calendar for your very own project! -
FlowMVI
A Kotlin Multiplatform MVI library based on coroutines with a rich DSL and a powerful plugin system. -
SSCustomEditTextOutLineBorder
Same as the Outlined text fields presented on the Material Design page but with some dynamic changes. π π -
TimelineView
A customizable and easy-to-use Timeline View library for Android. Works as a RecyclerView decorator (ItemDecoration) -
Bytemask
Android Gradle Plugin that masks secret strings for the app in the source code making it difficult to extract from reverse engineering.
InfluxDB - Purpose built for real-time analytics at any scale.
Do you think we are missing an alternative of Compose Compiler Reports to HTML Generator or a related project?
Popular Comparisons
README
Compose Compiler Reports to HTML Generator
A CLI utility to convert Jetpack Compose compiler metrics and reports to beautified π HTML page. Made with β€οΈ for Android Developers and Composers
Install | Downloads | |
---|---|---|
NPM | ||
JAR |
π‘ Motivation
The Compose Compiler plugin can generate reports / metrics around certain compose-specific concepts that can be useful to understand what is happening with some of your compose code at a fine-grained level. See this.
This generates reports in json
, csv
and txt
files which are not easily trace-able for developers.
Also, Composable function and class reports becomes large and tedious to check.
This tool parses the reports and metrics generated by Compose compiler and beautifies into a HTML page and intelligently distinguishes problematic and non-problematic composable functions and classes.
This utility doesn't generate Compose Metrics and Reports. First, raw Compose report should be generated from the Compiler and those generated files should be feed to this utility. By parsing that data, this utility generates the beautified report.
π§βπ» Usage
First, install the CLI utility
1. Install CLI
To install the CLI utility, there are two ways
1.1 Directly use .jar
distribution
Navigate to the releases and download the latest JAR artifact.
1.2 Install from NPM
Install the NPM package for CLI utility.
npm install -g compose-report2html
2. Know usage
Run the commands to know the usage of CLI
2.1 If using JAR artifact
java -jar composeReport2Html.jar -h
2.2 If using NPM package
If you have installed CLI utility from NPM package, it can be directly available from Terminal.
composeReport2Html -h
Once you run, here's how it looks.
Usage: Compose Compiler Report to HTML Generator options_list
Options:
--applicationName, -app -> Application name (To be displayed in the report) (always required) { String }
--overallStatsFile, -overallStatsReport -> Overall Statistics Metrics JSON file (always required) { String }
--detailedStatsFile, -detailedStatsMetrics -> Detailed Statistics Metrics CSV file (always required) { String }
--composableMetricsFile, -composableMetrics -> Composable Metrics TXT file (always required) { String }
--classMetricsFile, -classMetrics -> Class Metrics TXT file (always required) { String }
--outputDirectory, -o -> Output directory name (always required) { String }
--help, -h -> Usage info
3. Generate report
Make sure to generate Compose compiler metrics and reports as mentioned here or this good read article by Chris Banes. These files are then needed to this CLI utility to feed the data.
To generate the report, provide details related to app, metric and report files and output directory.
java -jar composeReport2Html.jar \
-app <YOUR_APP_NAME> \
-overallStatsReport <PATH TO *-module.json FILE> \
-detailedStatsMetrics <PATH TO *-composables.csv FILE> \
-composableMetrics <PATH TO *-composables.txt FILE> \
-classMetrics <PATH TO *-classes.txt FILE> \
-o <OUTPUT DIRECTORY PATH FOR REPORT>
OR, directly use composeReport2Html
(if using NPM package).
Example Usage:
java -jar composeReport2Html.jar \
-app NotyKT \
-overallStatsReport app_release-module.json \
-detailedStatsMetrics app_release-composables.csv \
-composableMetrics app_release-composables.txt \
-classMetrics app_release-classes.txt \
-o notyReport
In the above example, it will create report with name "NotyKT" with specified metric and report files and finally report will be generated in the specified path i.e. notyReport/index.html
.
π Report Overview
Once report is generated, it looks like this.
Title | Preview |
---|---|
Brief Statistics | Generates metrics from .json file and represents in tabular format. [Brief Statistics](images/brief-stats.png) |
Detailed Statistics | Generates report from .csv file and represents in tabular format. [Detailed Statistics](images/detailed-stats.png) |
Composable Report | Parses -composables.txt file and separates out composables with and without issues and properly highlights issues associated with them. [Composable Report](images/composable-report.png) |
Class Report | Parses -classes.txt file and separates out stable and unstable classes out of it and properly highlights issues associated with them. [Class Report](images/class-report.png) |
Right now, work is in progress and more improvements related to the report will happen in some time. If you have any feedback / suggestions related to the report, feel free to discuss it (find discussion link in the below section).
πββοΈ Contribute
Read [contribution guidelines](CONTRIBUTING.md) for more information regarding contribution.
π¬ Discuss?
Have any questions, doubts or want to present your opinions, views? You're always welcome. You can start discussions.
License
MIT License
Copyright (c) 2022 Shreyas Patil
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*Note that all licence references and agreements mentioned in the Compose Compiler Reports to HTML Generator README section above
are relevant to that project's source code only.