Comments (6)
I think this is a great idea. Especially if we only have to support one format.
Sent from my iPhone
On Apr 12, 2013, at 9:16 AM, Sebastian Golasch [email protected] wrote:
Hey,
prelude -> I'm a JavaScript guy who rarely touched ruby before, so unfortunately I'm not able to implement this on my own :(Basically, what CSSCSS does, can be considered as Copy & Paste Detection (http://en.wikipedia.org/wiki/Duplicate_code) there are other tools for other languages that can detect & report such issues (https://github.com/sebastianbergmann/phpcpd).
Those tools normally can output the results in a special XML format, that can be consumed by various CI Tools (like Jenkins for example).
They mostly convert it to some nice diagrams & can also fail the build if the
rate of copy-pasted code is above a user defined value.The defacto standard pmd-cpd XML output would look like this:
What do you think, could that reporter be easily integrated into the CSSCSS? I think a lot people would benefit from this.—
Reply to this email directly or view it on GitHub.
from csscss.
Nice to hear :)
As usual, there are a few formats out there, but from my experience pmd-cpd is the one that
has the best support out there.
from csscss.
I'm thinking about output into a HTML template which obviously could be personalised with CSS but I don't know where to start. Did you already investigate in this? I would like to push this forward. Please let me know if something exists where I contribute.
from csscss.
@verpixelt Nothing has been done for this either.
from csscss.
Okay. I'm looking right now for a few Devs who will help me build something ;)
from csscss.
We did a little thing, called it csscssbeauty and you can find it right here: https://github.com/garthenweb/csscssbeauty
At this moment it's nothing fancy, but you get your output in a simple HTML template which will live reload while your changing things in your editor of choice. We will put in more time and effort soonish.
from csscss.
Related Issues (20)
- Terminology HOT 4
- Unable to install HOT 4
- "command not found: csscss" HOT 3
- Include SASS files from the cli HOT 7
- fail on import of Compass plugin HOT 3
- Don't know what to do with "@keyframes" HOT 2
- Line numbers HOT 1
- less @import statements with relative paths fail HOT 1
- undefined method `downcase' HOT 8
- csscss has problems with unicode even when ruby version is 2.0 HOT 1
- Add Gulp extension to community extensions HOT 1
- http://connectionrequired.com/ is down HOT 1
- csscss hanging/giving no output HOT 2
- No check for duplicate selector HOT 1
- Duplicate CSS selectors not returned int result HOT 1
- Multiple Rulesets with exact same Selector HOT 1
- Community extension: csscssbeauty
- Comments/charset declarations are included in selectors
- charset followed by comment with code inside raises error
- Requirement of saas Gem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csscss.