Static code analysis is a great tool for detecting issues with your code. it can find problems relating to style compliance, code duplication, security weaknesses, and more. CodeClimate is a great service that can automatically run checks on your code as commits are pushed to GitHub. For open source projects, it’s free; for others, it’s very reasonably priced.
CodeClimate also provides a couple of “badges” for whendi’s readme on GitHub. The readme.md file can edited and committed right on github, as CodeClimate provides the badges in HTML, markdown, and other formats. It also provides easy integration with issue trackers like Pivotal or JIRA, and chatrooms like Slack and HipChat.
Laravel apparently isn’t up to CodeClimate’s standards and nearly 200 issues appeared when I ran it (most of them in a CSS file). It also pointed out a couple of issues with my own code. I had used snake_case on a couple of variables in my code where I should have used camelCase. It’s important to follow convention so that when other developers work with your code, they have an easy experience and know what to expect.
So in the PagesController I refactored $lesson_types to $lessonTypes, and $day_mode to $dayMode. I also made similar changes in the welcome.blade.php view. After pushing the changes up to GitHub, CodeClimate detected the branch and re-ran its analysis. It then marked the camelCase issues as Fixed.
Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
✓ Live Streaming✓ Interactive Chat✓ Private Shows✓ HD Quality
Anya is LIVE right now
FREE
Free to watch • No registration required • HD streaming
GitHub을 탐색하다 보면 일부 저장소에는 GPA 형식으로 코드의 품질을 보여주는 배지가 달려있는 것을 볼 수 있는데, 바로 이것이 Code Climate가 제공하는 배지이다. Ruby로 시작하여 Python, JavaScript 등의 코드 품질을 분석해주고 관리해주는 서비스인데, 이곳에서 여러 코드 정적 분석 도구들을 제공하는 오픈 플랫폼을 출시하였다.
쉐이커에서도 코드 품질 유지를 위해 Code Climate를 내부적으로 사용하고 있는데, Code Climate의 독자적인 품질 분석 로직을 사용하는 Ruby와 다르게 JavaScript의 경우에는 JSHint를 사용하고 있어서 의아했다. 아마도 급변하는 개발 생태계에 맞추려다보니 기존에 나와있는 힌팅 도구를 이용할 수 있도록 이번에 플랫폼을 오픈한 것 같은데, 기존에 Code Climate가 독자적으로 사용하고 있던 Ruby용 품질 분석 도구도 오픈소스로 공개하면 좋을 것 같다.
Get code quality metrics and alerts on every Git push
Break free from technical debt. Code Climate analyzes each commit and instantly notifies your team of code quality issues and improvements via Campfire, email or RSS. Try it free for 14 days - or always free for OSS! http://launchbit.com/taz/358-1156-56d3c2b4c1?utm_source=rubyweekly&utm_medium=email 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS... CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION http://www.uci.cu http://www.facebook.com/universidad.uci http://www.flickr.com/photos/universidad_uci