Giter Club home page Giter Club logo

codeclimate-dart's People

Contributors

gocal avatar sinegovsky-ivan avatar zgosalvez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

codeclimate-dart's Issues

Please release a new version

I'm not sure if this is the right place to ask, but my guess is that @sinegovsky-ivan is the maintainer for Code Climate Dart plugin. Sorry if that's not the case.

We're using Code Climate with our Dart project. It worked fine initially, but recently we started experiencing the error like this in the Code Climate analysis:

Unhandled exception:
NoSuchMethodError: The getter 'name' was called on null.
Receiver: null
Tried calling: name
#0      getComponentHumanReadableName (package:dart_code_metrics/src/utils/metrics_analyzer_utils.dart:28)
#1      MetricsAnalysisRecorder._endRecordFile.<anonymous closure> (package:dart_code_metrics/src/metrics_analysis_recorder.dart:109)
#2      MapMixin.map (dart:collection/maps.dart:170)
#3      MetricsAnalysisRecorder._endRecordFile (package:dart_code_metrics/src/metrics_analysis_recorder.dart:108)
#4      MetricsAnalysisRecorder.recordFile (package:dart_code_metrics/src/metrics_analysis_recorder.dart:42)
#5      MetricsAnalyzer.runAnalysis (package:dart_code_metrics/src/metrics_analyzer.dart:108)
#6      MetricsAnalysisRunner.run (package:dart_code_metrics/src/metrics_analysis_runner.dart:23)
#7      _runAnalysis (file:///app/bin/metrics.dart:86)
#8      main (file:///app/bin/metrics.dart:24)
#9      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299)
#10     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168)

This is not explicitly mentioned but by looking at the stack trace it seems that it's using very old version of dart_code_metrics (maybe 2.3.x?).
Newer version of dart_code_metrics doesn't seem to have this issue so I want to upgrade it, but I want the build to be run in Code Climate's hosted runner, not locally. To achieve this, upgrading the official docker image will be the only solution.

Hence this request. Thank you for your effort of creating and maintaining this project!

Release to the official CC Repository

Can you please release the latest changes to the official CC Repository - currently it uses ~ 2 years old version

I'm not exactly familiar with the CC plugin release process but it would be great if this plugin supports channels e.g. dart-2.14 (dart_code_metrics: 4.16.0), latest (dart: 2.17, dart_code_metrics: 4.18.3 etc.), so it can be used with both flutter 2.x & 3.x

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.