wrike / codeclimate-dart Goto Github PK
View Code? Open in Web Editor NEWCode Climate Dart-Engine
License: MIT License
Code Climate Dart-Engine
License: MIT License
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!
How can I install it to latest version codeclimate?
thanks
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.