Check if app is "light-weight" or not

Bug #1019214 reported by Daniel Holbach
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
arb-lint
Fix Released
Undecided
Daniel Holbach

Bug Description

Check if app is "light-weight" or not. This might be a bit tricky, but I'm sure we can come up with something clever to measure if this part is adhered to:

Our focus is on lightweight apps. To give you a general idea, we're looking for the kind of apps that could be reviewed for functionality and security in about an hour reading through the code. We'll also do a licensing and packaging review.

Related branches

Revision history for this message
Daniel Holbach (dholbach) wrote :

How about >= 30 source files or >= 20000 lines of code? We could try to find the most common kinds of source file extensions, ie: .py, .java, .c, .h, .cpp, etc.)

What do you feel would constitute "an hour reading through the code"?

Revision history for this message
Daniel Holbach (dholbach) wrote :

daniel@daydream:~/1/hivemind$ ~/bzr/arb-lint/arb-lint
W: This app might be too big to be reviewed by the ARB. It has 45 source
   files and 17352 lines of code.
W: This package does not use DEP-5, which provides a machine-readable
   debian/copyright file. You might want to review
   http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/to find
   out how to accomplish it.
daniel@daydream:~/1/hivemind$

We can still tweak the values and source file extensions later on. Right now the code says:
        source_file_extensions = [ ".py", ".rb", ".vala", ".c", ".h", ".cpp",
                ".cc", ".hh", ".pm", ".java", ".js", ".pl" ]
        number_of_max_source_files = 30
        number_of_max_lines_of_code = 15000

Changed in arb-lint:
assignee: nobody → Daniel Holbach (dholbach)
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers