Comments (9)
+1 this would make it even more awesome
from plato.
👍 I was just about to request this. Would be very useful to be able to see size and complexity regressions over time.
from plato.
Rather than retaining reports, how about if you run it against a git repo, it creates a temporary clone, then iterates through commits. You might not want to run it for every commit, but maybe have it advance x number of days at a time.
from plato.
Being able to see a historical overview would be awesome - even if doing it via Git as @cwarden suggests comes as some form of standalone extension, rather than core functionality.
from plato.
Yep, this is in progress and is a high priority for me. Getting sick and losing a dev machine caused some significant backup for me, but this will be out asap.
from plato.
This is in progress on the dev branch and feedback is always welcome. First iteration should be out soon. Reorganizing the layout and better displaying this information will be a priority long-term, but the retention and basic visualization of some historical data will be the first release of this feature.
from plato.
Nice work. The first run reports errors about parsing the history files, but otherwise it looks good.
Using faketime
to reconstruct a weekly history from a git repo is easy enough, e.g.
for days_ago in $(jot 20 140 0 -7); do
date=$(date --date="$days_ago days ago" +'%Y-%m-%d %H:%M');
git co -f $(git rev-list -n 1 --before="$date" master);
faketime "$date" ~/git/plato/bin/plato -d /tmp/plato -r app/;
done
from plato.
Looks really good!
from plato.
Just published 0.5.0 with some cleanup and historical reports (obligatory jQuery example)
@cwarden, incorporated the date faking into plato so you can do similar things without faketime and lovingly stole borrowed some of your logic in order to generate the examples with history see update.sh. Thanks!
from plato.
Related Issues (20)
- Complete ES6+ / ES7 / edge complexity reporting support HOT 4
- Example of how to combine with babel for ES6 module imports HOT 2
- Complexity Numbers are inconsistent (Main Page and Per-File)
- TypeError: undefined is not a function HOT 3
- Unexpected ESLint error "Newline required at end of file but not found." HOT 5
- Eslint config different from original
- Do you want a PR for es6-capability / eslint? HOT 4
- -x exclude files or folders is not working HOT 3
- Error running with node v6.9.1; Cannot read property 'lastIndexOf' HOT 3
- Security static analysis HOT 1
- Project maintenance HOT 24
- Plato is listing LintErrors not found with ESLint HOT 3
- Arrow functions are being shown as anonymous functions HOT 2
- Disable JSHint errors report HOT 1
- dynamic import causes SyntaxError: Unexpected token (37:30) HOT 1
- How to Specify Valid File Extensions?
- Latest version of plato (1.7.0) using a vulnerable version of lodash (4.13.1) HOT 6
- Not support async function
- runtime error, if path not existing HOT 1
- Plato HOT 1
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 plato.