Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

coderstats/todomvc-metrics

Repository files navigation

todomvc-metrics

Code for aggregating metrics and creating graphs to compare TodoMVC example applications based on code complexity measures.

Related article: How Complex are TodoMVC Implementations

How to reproduce the reports

Below I outline the steps to create these reports using the scripts in this repository.

Install the complexity-report node package

npm install

Clone the todomvc repository

git clone https://github.com/tastejs/todomvc.git

To automate report and image generation the Python libraries fabric, Pandas and matplotlib are required. I recommend to install them in a virtual environment.

pip install -r requirements

Now run the following commands

fab clean
python gen_reports.py
aggregate.py

AltStyle によって変換されたページ (->オリジナル) /