phantomas v1.8
This release of phantomas brings the ability to analyze inline CSS styles (#397) - simply run phantomas CLI tool with --analyze-css option.
New metrics have been added:
DOMqueriesWithoutResultssuggesting which DOM queries can be removed or improved as they return no results (#420)- port of @gmetais nodule that reports reconnections to fetch additional assets from the same domain - i.e. connection not being kept alive (#400)
- reporting of small JS and CSS files that can be inlined or concatenated (#398)
To make the code style consistent in the project js-beautify has been introduced (#426).
While enjoying the new version of phantomas take a look at was is planned for the upcoming v1.9 ;)
All changes are listed below.
Changelog
New metrics
- #420 - DOMqueriesWithoutResults
- #400 -
Keep-aliverelated metric (by @gmetais) - #398 - Count small JS and CSS files
- #397 - Make
analyze-csswork on embedded styles
Improvements
- #429 - Provide error message when a CSS is empty (by @gmetais)
- #419 - Ignore case when counting duplicated
getElementsByTagName() - #414 - Report offenders for
DOMelementMaxDepth
Bug fixes
- #427 - Fixed order of elasticsearch reporter parameters 'type' and 'index' (by @hstijns-coolblue)
- #417 -
analyze-cssprocess not finishing
Internals
- #426 - Introduce js-beautify