• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tbranyen / diffhtml
93%
master: 99%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/packages/diffhtml-rust-parser/examples/webpack/node-forge-1.3.2
DEFAULT BRANCH: master
Repo Added 08 Jan 2016 01:30AM UTC
Files 45
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH general-cleanup
branch: general-cleanup
CHANGE BRANCH
x
Reset
  • general-cleanup
  • 0.4.2
  • 0.4.3
  • 0.4.4
  • 0.5.1
  • 0.8.5
  • 0.9.0
  • 0.9.1
  • 0.9.2
  • add-logo
  • add-middleware
  • add-middleware-create-hooks
  • add-more-tests
  • add-service-worker-middleware
  • add-stateful-components
  • add-test-for-comment
  • add-worker-middleware
  • another-cleanup-pass
  • another-refactor-pass
  • apply-miscellaneous-changes
  • better-render-to-string
  • browser-compatibility-fixes
  • bug/parser-child-text-nodes
  • bugfix/extra-patches
  • bugfix/fix-internals-exports
  • bump-lerna
  • components-love
  • config-unit-tests
  • create-side-effect
  • dependabot/npm_and_yarn/axios-1.11.0
  • dependabot/npm_and_yarn/packages/diffhtml-devtools/cipher-base-1.0.6
  • dependabot/npm_and_yarn/packages/diffhtml-devtools/grunt-1.5.2
  • dependabot/npm_and_yarn/packages/diffhtml-devtools/grunt-1.5.3
  • dependabot/npm_and_yarn/packages/diffhtml-devtools/multi-261c07481c
  • dependabot/npm_and_yarn/packages/diffhtml-rust-parser/examples/webpack/node-forge-1.3.2
  • dependabot/npm_and_yarn/packages/diffhtml-static-sync/cipher-base-1.0.7
  • dependabot/npm_and_yarn/packages/diffhtml-static-sync/sha.js-2.4.12
  • dependabot/npm_and_yarn/parse-url-6.0.2
  • devtools-revival
  • diffhtml-pkg-updates
  • documentation-updates
  • ensure-all-tests-run-in-ci
  • escape-tagged-input
  • feature/add-as-contributor
  • feature/add-tasks-list
  • feature/pkg.module
  • fix-angle-brackets-in-attrs
  • fix-attribute-handling
  • fix-bool-attr-parsing
  • fix-code-block-el
  • fix-decoding-issue
  • fix-devtools-build
  • fix-duplicate-keys
  • fix-execute-scripts
  • fix-fragment-sync
  • fix-hooks
  • fix-inline-transitions
  • fix-interpolated-values
  • fix-issues-with-external-markup-changes
  • fix-parser-components
  • fix-pre-code-blocks
  • fix-process-env
  • fix-react-compat
  • fix-render
  • fix-rerender-components
  • fix-svg-rendering
  • fix-tests-and-devtools
  • fix-timing-marks
  • get-build-passing-again
  • gitignore-docs
  • improve-components-implementation
  • improve-diffhtml-attributes
  • improve-docs
  • improve-garbage-collection-and-devtools
  • improve-static-sync
  • inconsistent-dom
  • linter
  • master
  • migrate-prollyfill
  • misc-work
  • more-examples
  • npm-install
  • pass-children-to-web-component-ctor
  • react-compat
  • readme-changes
  • readme-updates
  • refactor-internals
  • refactor-transaction-add-polyfill
  • refs/tags/v1.0.0-beta.28
  • refs/tags/v1.0.0-beta.29
  • remove-blacklist-whitelist
  • remove-custom-event
  • remove-svg-elements
  • remove-transitions
  • rename-internal-process
  • rename-runtime-to-lite
  • rework-babel-transform
  • rewrite-sync-patch
  • rust-wasm-parser
  • scrub-attrs-nodes-on-release
  • support-node-esm
  • tbranyen-patch-1
  • test-input-checked
  • test-readme
  • test-self-hosted
  • transaction-flow
  • transform
  • update
  • update-all-packages
  • update-components-deps
  • use-github-action
  • use-github-pages
  • use-patch-logic-for-component-render
  • use-raw-node-name
  • use-sets-instead-of-arrays
  • v1.0.0-beta
  • v1.0.0-beta.1
  • v1.0.0-beta.11
  • v1.0.0-beta.12
  • v1.0.0-beta.13
  • v1.0.0-beta.14
  • v1.0.0-beta.15
  • v1.0.0-beta.16
  • v1.0.0-beta.17
  • v1.0.0-beta.18
  • v1.0.0-beta.19
  • v1.0.0-beta.2
  • v1.0.0-beta.20
  • v1.0.0-beta.21
  • v1.0.0-beta.22
  • v1.0.0-beta.23
  • v1.0.0-beta.24
  • v1.0.0-beta.25
  • v1.0.0-beta.26
  • v1.0.0-beta.3
  • v1.0.0-beta.4
  • v1.0.0-beta.5
  • v1.0.0-beta.6
  • v1.0.0-beta.7
  • v1.0.0-beta.8
  • v1.0.0-beta.9
  • various-changes
  • various-updates
  • vundefined
  • warn-on-invalid-markup
  • worker-improvements

pending completion
357

push

travis-ci

tbranyen
Taking the time to clean up the codebase

I've wanted to take the time to clean up the codebase and ensure
everything is consistent. Right now my refactor efforts are to use
common nomenclature when talking about Virtual Tree Elements and DOM
Nodes. This distinction is important in the codebase, and is currently
different depending on the file you're in. Sometimes they're called
entry, sometimes tree, descriptor, etc. I'm consolidating all the
variable names to vTree and node.

Another important refactor is to provide clean and consistent JSDoc
comments above all functions public/private.

I'm attempting to use `const` wherever possible to denote that a
variable is never re-assigned. I'm refactoring branched code that
required using `var` or `let` into functions. I will still use `let` for
loops, since we are tight-loop critical and I don't like the overhead of
functional looping here.

There are parts of the codebase that are highly duplicative and I'm
leveraging the createElement/createAttribute functions, exposed for the
Babel transform, internally.

In preparation for a 1.0 release, I want to make sure all the code makes
sense and references variables consistently. This furthers that push by
making it explicit that an object is either a DOM Node or a Virtual Tree
Element/Attribute. This made it easier to re-arrange the file structure
to better match what they do. For instance, before makeElement made a
DOM Node and makeNode made a Virtual Tree Element.

This didn't affect tests other than for import paths in the internal
unit tests.

765 of 827 relevant lines covered (92.5%)

141.05 hits per line

Relevant lines Covered
Build:
Build:
827 RELEVANT LINES 765 COVERED LINES
141.05 HITS PER LINE
Source Files on general-cleanup
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
357 general-cleanup Taking the time to clean up the codebase I've wanted to take the time to clean up the codebase and ensure everything is consistent. Right now my refactor efforts are to use common nomenclature when talking about Virtual Tree Elements and DOM Node... push 13 Jun 2016 08:35PM UTC tbranyen travis-ci pending completion  
355 general-cleanup Taking the time to clean up the codebase I've wanted to take the time to clean up the codebase and ensure everything is consistent. Right now my refactor efforts are to use common nomenclature when talking about Virtual Tree Elements and DOM Node... push 13 Jun 2016 08:34PM UTC tbranyen travis-ci pending completion  
353 general-cleanup Significant folder and naming refactor In preparation for a 1.0 release, I want to make sure all the code makes sense and references variables consistently. This furthers that push by making it explicit that an object is either a DOM Node or a Vi... push 13 Jun 2016 08:33PM UTC tbranyen travis-ci pending completion  
351 general-cleanup Refactored code around replace/remove w/o parentNode push 13 Jun 2016 08:29PM UTC tbranyen travis-ci pending completion  
349 general-cleanup Fix lint issue push 13 Jun 2016 07:55PM UTC tbranyen travis-ci pending completion  
341 general-cleanup Add comments and use more consts push 13 Jun 2016 05:22PM UTC tbranyen travis-ci pending completion  
339 general-cleanup More refactoring of imports & let/var to const push 13 Jun 2016 05:00PM UTC tbranyen travis-ci pending completion  
337 general-cleanup Significant folder and naming refactor In preparation for a 1.0 release, I want to make sure all the code makes sense and references variables consistently. This furthers that push by making it explicit that an object is either a DOM Node or a Vi... push 13 Jun 2016 06:46AM UTC tbranyen travis-ci pending completion  
335 general-cleanup Taking the time to clean up the codebase I've wanted to take the time to clean up the codebase and ensure everything is consistent. Right now my refactor efforts are to use common nomenclature when talking about Virtual Tree Elements and DOM Node... push 11 Jun 2016 12:24AM UTC tbranyen travis-ci pending completion  
See All Builds (1080)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc