Comments (8)
Yeah, I have a suspicion. Will get back to you!
from inchjs.
Should work now with v0.2.0. Could you check again?
If you have any suggestions/questions regarding Inch's evaluation, please do not hesitate to post them here!
from inchjs.
@rrrene Indeed, it works now, thanks!
I plan to include inchjs to check-build, that's why I'm currently testing it :)
from inchjs.
Sounds fantastic! If I can be of any help, just let me know.
from inchjs.
Hum, just looked at the code, @rrrene could you expose the internal library as a NodeJS API (and document it ?) ?
So I will be able to create an interface for check-build that will allow users to fail a build if at least X files are undocumented or that some files have a C grades.
from inchjs.
@FGRibreau A NodeJS API sounds like a good idea. Unfortunately, I have a lot on my plate right now, so I'm not sure how long this will take.
You could, however, parse the output of inchjs stats --format=json
for now. What do you think?
from inchjs.
@rrrene yes, I could start with that.
- What would be good defaults for inchjs ? Stop the build if C > 0 ?
From the above output:
{
"grade_lists": {
"A": 0,
"B": 1,
"C": 0,
"U": 7
},
"scores": {
"0": 7,
"50": 1
},
"priorities": {
"1": 8
}
}
- What does mean priorities ? ... and scores ?
- Could inchjs output file names along each grade as well ?
from inchjs.
I am afraid that is a question only you can answer.
One idea: U
should be below 90%, alas 10% of code should be documented. This would not set the bar very high. The question is how good the average project in NodeJS is documented. Maybe I am mistaken, but I got the impression that inline code-documentation is not that high a priority in Node projects.
Re: Scores and priorities -- Scores are points given for the present documentation. They determine the grades. Priorities determine how badly a code object should be documented (> 0 means it should be).
from inchjs.
Related Issues (20)
- Unify config syntax with Inch HOT 1
- Language not registered: javascript HOT 3
- es6 syntax support HOT 4
- How to render markdown from source? HOT 2
- [InchJS] Parsing failed. on windows
- npm install inchjs HOT 1
- [InchJS] Parsing failed with node v4.1.2 and v5.0.0 HOT 9
- Improve show command HOT 2
- Add support for Typescript HOT 2
- Getting "301 Moved Permanently" when run locally HOT 6
- Getting "Could not find jsdoc executable" even if jsdoc exists HOT 1
- Add "in-progress" indicator during jsdoc parsing and API calling HOT 3
- Sending the parsed data directly to runner
- Use "jsdoc-api" lib instead of "jsdoc" cli
- Problems running InchJS HOT 1
- new release
- wrong link for fork badge at top right
- [InchJS] Parsing failed using v10.16.0
- Problem using inchjs . "Parsing failed." HOT 3
- Getting a 404 on running InchJS
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 inchjs.