@@ -1 +1,672 @@
+%22%22%22This module provides plugins for NEU metrics.%22%22%22%0A%0Aimport kurt%0Afrom hairball.plugins import HairballPlugin%0A%0A%0Aclass Variables(HairballPlugin):%0A%0A    %22%22%22Plugin that counts the number of variables in a project.%22%22%22%0A%0A    def __init__(self):%0A        super(Variables, self).__init__()%0A        self.total = 0%0A%0A    def finalize(self):%0A        %22%22%22Output the number of variables in the project.%22%22%22%0A        print(%22Number of variables: %25i%22 %25 self.total)%0A%0A    def analyze(self, scratch):%0A        %22%22%22Run and return the results of the Variables plugin.%22%22%22          %0A        self.total = len(scratch.variables)%0A        for x in scratch.sprites:%0A            self.total += len(x.variables)
 %0A

Add Variables class