GithubHelp home page GithubHelp logo

giocirque / pub-dev Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 2.0 21.27 MB

A repo of dart packages that I've built along the way.

Home Page: https://pub-dev.dicatania.me

License: BSD 3-Clause "New" or "Revised" License

Dart 100.00% Makefile 0.01%
dart dart2 dartlang dart-package dart-library flutter flutter-package

pub-dev's Introduction

Pub-Dev

build deploy

This project is a mono-repo (of sorts) for the packages I've created along the way. Most of them were born for my own needs; some may be just amusing ideas I had once.

If you find them useful, enjoy them!

:)

Packages

¯\(ツ)/¯ Because I'm too cheap to pay for a geocoding service, and I only needed City-level resolution.

Easy way to quickly view LCOV results in the console (with or without colorization) and convert LCOV to Cobertura for GitHub and Azure.

Just like json_annotations and json_serializable but specifically for DynamoDB JSON.

pub-dev's People

Contributors

kuhnroyal avatar vannadii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pub-dev's Issues

Losing branch coverage in cobertura

I'm always getting zero branch coverage in my cobertura files

lcov.info for a file

SF:/packages/adaptivecards/lib/adaptive_backplane/adaptive_root.dart
DA:16,1
DA:32,2
DA:81,1
DA:84,2
DA:88,1
DA:97,1
DA:103,3
DA:104,1
DA:105,1
DA:106,2
DA:107,2
DA:108,2
DA:109,2
DA:110,2
DA:111,2
DA:112,2
DA:113,2
DA:114,2
DA:118,1
DA:119,1
DA:122,1
DA:125,1
DA:126,1
DA:127,1
DA:128,1
DA:129,2
LF:26
LH:26
BRDA:16,0,0,1
BRDA:81,0,0,1
BRDA:88,0,0,1
BRDA:97,0,0,1
BRDA:122,0,0,1
BRDA:128,0,0,1
end_of_record 

and the cobertura for that file is

<class name="adaptive_root" filename="/packages/adaptivecards/lib/adaptive_backplane/adaptive_root.dart" line-rate="1" branch-rate="0">
          <lines>
            <line number="16" hits="1" branch="false"/>
            <line number="32" hits="2" branch="false"/>
            <line number="81" hits="1" branch="false"/>
            <line number="84" hits="2" branch="false"/>
            <line number="88" hits="1" branch="false"/>
            <line number="97" hits="1" branch="false"/>
            <line number="103" hits="3" branch="false"/>
            <line number="104" hits="1" branch="false"/>
            <line number="105" hits="1" branch="false"/>
            <line number="106" hits="2" branch="false"/>
            <line number="107" hits="2" branch="false"/>
            <line number="108" hits="2" branch="false"/>
            <line number="109" hits="2" branch="false"/>
            <line number="110" hits="2" branch="false"/>
            <line number="111" hits="2" branch="false"/>
            <line number="112" hits="2" branch="false"/>
            <line number="113" hits="2" branch="false"/>
            <line number="114" hits="2" branch="false"/>
            <line number="118" hits="1" branch="false"/>
            <line number="119" hits="1" branch="false"/>
            <line number="122" hits="1" branch="false"/>
            <line number="125" hits="1" branch="false"/>
            <line number="126" hits="1" branch="false"/>
            <line number="127" hits="1" branch="false"/>
            <line number="128" hits="1" branch="false"/>
            <line number="129" hits="2" branch="false"/>
          </lines>
        </class> 

Dependency conflict with flutter_localizations

Because geography >=1.1.4 depends on collection ^1.16.0 and every version of flutter_localizations from sdk depends on collection 1.15.0, geography >=1.1.4 is incompatible with flutter_localizations from sdk.

Cobertura line-rate is always 1

I noticed that using the tool, I always get a line-rate of 1 for my current classes. When I look through the code, I see that the line-rate is always rounded and I don't really understand why that is, since the line-rate should be a ratio between 0 and 1.

For example, I have:

SF:lib\dependency_injection.dart
DA:22,1
DA:23,1
DA:24,1
DA:25,1
DA:26,3
DA:31,1
DA:32,3
DA:34,3
DA:35,2
DA:36,2
DA:39,3
DA:40,2
DA:41,2
DA:42,2
DA:45,2
DA:46,3
DA:48,2
DA:49,2
DA:51,1
DA:52,1
DA:53,1
DA:54,1
DA:56,2
DA:57,2
DA:62,0
DA:63,0
DA:64,0
DA:68,0
DA:69,0
LF:29
LH:24
end_of_record

https://github.com/GioCirque/pub-dev/blob/main/cobertura/bin/src/cobertura.dart#L138 shows us that it will become (24/29).round()=1. Which I don't think would be correct.

I'm not sure if this tool is still in development, but I was hoping to use it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.