03. Code Instrumentation - medullan/mean GitHub Wiki

Code Instrumentation

To achieve code instrumentation, a tool called grunt-plato was used to analyze the javascript used to develop the application.

An example report can be seen here

Instrumentation for server-side javascript was split from the front-end javascript. The base directory for these generated reports is:

.reports/plato

To generate instrumentation reports, run:

$ grunt plato

Output:

UI Reports Location: .reports/plato/ui

Server Reports Location: .reports/plato/server


***

For more information on why this is important, check out this slide:

http://www.slideshare.net/JarrodOverson/complexity-28214103

⚠️ **GitHub.com Fallback** ⚠️