Software

Isolating JavaScript in Dynamic Code Environments

Date Added: Aug 2010
Format: PDF

The authors analyze the source code of four well-known large web applications, namely WordPress, phpBB, phpMyAdmin and Drupal. They want to quantify the level of language intermixing in modern web applications and, if possible, they want to categorize all coding idioms that involve intermixing of JavaScript with a server-side programming language, like PHP. The analysis processes more than half of a million of LoCs and identifies about 1,000 scripts. These scripts contain 163 cases, where the source code is mixed in a way that is hard to isolate JavaScript from PHP. They manually investigate all 163 scripts and proceed in a classification scheme of five distinct classes.